Skip to content

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

@mlecuyer-nd

Description

@mlecuyer-nd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions