Closed
Bug 1117071
Opened 10 years ago
Closed 10 years ago
Mozharness is failing due to non-determinism in worst status
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Callek, Assigned: Callek)
Details
(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/4266] )
Attachments
(1 file, 1 obsolete file)
|
1.49 KB,
patch
|
rail
:
review+
Callek
:
checked-in+
|
Details | Diff | Splinter Review |
So, mozharness is failing travis, in an intermittent fashion.
AFAICT this is due to a code issue
TBPL_STATUS_DICT.keys() being used to check which of those keys is worse (at http://hg.mozilla.org/build/mozharness/file/88c4800a33cb/mozharness/mozilla/buildbot.py#l89 )
You can't rely on order of the dictionary keys, and OrderedDict feels cumbersome here, for little gain.
Attached is a patch to fix this.
Attachment #8543252 -
Flags: review?(rail)
| Assignee | ||
Comment 1•10 years ago
|
||
p.s. I initially approved this code :/
Bug 876159
| Assignee | ||
Comment 2•10 years ago
|
||
Whops, we already have a var for this.
Attachment #8543252 -
Attachment is obsolete: true
Attachment #8543252 -
Flags: review?(rail)
Attachment #8543253 -
Flags: review?(rail)
| Assignee | ||
Comment 3•10 years ago
|
||
For added comfort:
github compare:
https://github.com/Callek/build-mozharness/compare/1117071?expand=1
Travis Result:
https://travis-ci.org/Callek/build-mozharness/builds/45670208
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/4266]
Updated•10 years ago
|
Attachment #8543253 -
Flags: review?(rail) → review+
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8543253 [details] [diff] [review]
[mozharness] fix status v2
https://hg.mozilla.org/build/mozharness/rev/f014178380c6
Attachment #8543253 -
Flags: checked-in+
Comment 5•10 years ago
|
||
mozharness has been merged to production. patches are live :)
| Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•