Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

In some cases, timestamps are inconsistent, causing the timeline to crash. #45

Open
mcataford opened this issue Dec 3, 2018 · 6 comments
Labels
bug Something isn't working EngFiveWeek help wanted Extra attention is needed

Comments

@mcataford
Copy link
Contributor

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
screen shot 2018-12-03 at 2 51 21 pm

Desktop (please complete the following information):

  • OS: OSX
  • Jenkins TL 1.0.0
@mcataford mcataford added bug Something isn't working help wanted Extra attention is needed labels Dec 3, 2018
@mcataford mcataford self-assigned this Dec 5, 2018
@mcataford
Copy link
Contributor Author

Can no longer reproduce, shelving until a build exhibiting this is found.

@mcataford mcataford reopened this Dec 5, 2018
@mcataford
Copy link
Contributor Author

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.

@jakebolam
Copy link
Contributor

Wonder if there is a way to detect build in progress? And show this too

@sjoanes
Copy link

sjoanes commented Jul 8, 2019

Happened to my in progress build.

Screen Shot 2019-07-08 at 4 46 17 PM

Stopped happening after it was done

@mcataford
Copy link
Contributor Author

Thanks for the report! Yeah, I think it might be because of how it handles idle waiting as negative time.

@bpoland
Copy link

bpoland commented Dec 17, 2021

I also see this when one stage is waiting with waitUntil, it goes away once the build is finished.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working EngFiveWeek help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants