Closed Bug 587915 Opened 14 years ago Closed 10 years ago

sorting by running time should not be string based (units matter)

Categories

(Release Engineering :: General, defect, P3)

x86
All
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: timeless, Unassigned)

References

()

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2079] [reporting])

1. enable javascript
2. load http://build.mozilla.org/builds/running.html
3. paste "monkey WINNT 5.2" in the search box
4. click "Running for" twice
5. scroll down to:

Branch 	Revision 	Builder name 	Submitted at 	Running since 	Running for 	Master

jaegermonkey	e7b2fbbab257	WINNT 5.2 jaegermonkey leak test build	2010-08-16 15:11:00	2010-08-16 15:11:29	4:02:33	production-master03
tracemonkey	084ee126fd0a	WINNT 5.2 tracemonkey leak test build	2010-08-12 12:42:24	2010-08-12 12:42:32	4 days, 6:31:30	production-master03
jaegermonkey	a6cbae74067a	WINNT 5.2 jaegermonkey leak test build	2010-08-16 15:14:11	2010-08-16 15:14:17	3:59:45	production-master03

expected results:
4 days should not sort between 4hrs 2 mins and 3hrs 59mins :)
We can thank python's datetime for trying to be helpful here.
Assignee: server-ops → nobody
Component: Server Operations → Release Engineering
QA Contact: mrz → release
Whiteboard: [reporting]
OS: Mac OS X → All
Priority: -- → P3
Component: Release Engineering → Release Engineering: Developer Tools
QA Contact: hwine
(In reply to Ed Morley [:edmorley UTC+0] from bug 813017 comment #1)
> We need a custom sort function at:
> https://hg.mozilla.org/build/buildapi/file/25353caa71ed/buildapi/templates/
> running.mako#l21
> and
> https://hg.mozilla.org/build/buildapi/file/25353caa71ed/buildapi/templates/
> pending.mako#l25
Product: mozilla.org → Release Engineering
Whiteboard: [reporting] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2069] [reporting]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2069] [reporting] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2079] [reporting]
RESOLVED MEH?
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.