Disclaimer: I'm not completely sure if this is a bug.
In some cases, the timestamps in the log are not monotone.
For example:
[2022-12-08T22:46:14.185Z] [redacted] [2022-12-08T22:46:11.653Z] [redacted]
A bit longer example from the timestamps endoint:
0.003 0.406 0.825 0.875 0.893 1.060 1.079 1.083 1.123 1.406 1.406 1.416 1.437 1.450 1.504 -1.-28 0.-62 1.978 2.004 2.008 2.036 2.036
In case any of the values above is negatived, elapsed seems to break and cause https://issues.jenkins.io/browse/JENKINS-67266.
My main question is, is it possible / intentional that the timestamps are not monotone? Or is this a bug?