jenkins-timeline-plugin
jenkins-timeline-plugin copied to clipboard
In some cases, timestamps are inconsistent, causing the timeline to crash.
Describe the bug
In some cases, the timestamps for start
are bigger than the ones for end
, causing the timeline to crash.
To Reproduce Uncertain of steps.
Expected behavior The timeline should at least recover gracefully.
Screenshots
Desktop (please complete the following information):
- OS: OSX
- Jenkins TL 1.0.0
Can no longer reproduce, shelving until a build exhibiting this is found.
Cause identified: during a long build, durationMillis
can be negative if a stage or step is queued/has to wait.
Tentative soln: add handling around negative durationMillis
values.
Wonder if there is a way to detect build in progress? And show this too
Happened to my in progress build.
Stopped happening after it was done
Thanks for the report! Yeah, I think it might be because of how it handles idle waiting as negative time.
I also see this when one stage is waiting with waitUntil
, it goes away once the build is finished.