zuul status bars hover box "time remaining" fails after 61 minutes

Bug #1215659 reported by Anita Kuno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Undecided
Clark Boylan

Bug Description

On http://status.openstack.org/zuul/ when hovering over a progress bar, the time elapsed zeros itself out at 60 minutes. So a job that has been running for 61 minutes will have a time elapsed of 1 minute.

Jim Blair feels that status.js might be the source of the issue.

See this log: http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2013-08-22.log around timestamp: 2013-08-22T22:41:22

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/43375

Changed in openstack-ci:
assignee: nobody → Clark Boylan (cboylan)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.openstack.org/43375
Committed: http://github.com/openstack-infra/config/commit/e176e35a4819dc97d5afb2258c6a0c5c2e9d78dd
Submitter: Jenkins
Branch: master

commit e176e35a4819dc97d5afb2258c6a0c5c2e9d78dd
Author: Clark Boylan <email address hidden>
Date: Thu Aug 22 16:14:24 2013 -0700

    Fix zuul status hours display.

    * modules/openstack_project/files/zuul/status.js: The hours field in the
    zuul status was always '00'. This was a result of calculating the
    minutes to be displayed rather than the total number of minutes before
    calculating the number of hours from the number of minutes. Since
    minutes was always less than 60 hours was always 0. Determine the total
    number of minutes, calculate the hours, then determine the number of
    minutes to display.

    Change-Id: I3643282247d21fdd1b56c0baa00380bfdc7ae2e2
    Fixes-Bug: #1215659

Changed in openstack-ci:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.