Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job Run Duration Shows incorrect time if >1 hour or >24 hours #1949

Closed
mlecuyer-nd opened this issue Apr 15, 2022 · 1 comment · Fixed by #1950
Closed

Job Run Duration Shows incorrect time if >1 hour or >24 hours #1949

mlecuyer-nd opened this issue Apr 15, 2022 · 1 comment · Fixed by #1950

Comments

@mlecuyer-nd
Copy link

Description of Problem
When having a run with a duration longer than 23 hours, the hours do not increment past 24, and instead roll back over to 0.
Additionally, when a job is >1h, it shows hours and seconds but not minutes, leading to confusing metrics.

Expected Behavior
Duration will show start_time - end_time in hours, minutes, and seconds

Observed Behavior
Duration shows only hours and seconds, and rolls over to 0 after 23 hours.

image

image

Steps to reproduce

  • Set up quick start container
  • POST tutorial job start
  • Edit tutorial job completed time to be >1h later
  • POST job complete
  • view job duration in UI
@phixMe
Copy link
Member

phixMe commented Apr 15, 2022

Thanks for reporting this issue. I've got a fix ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants