Closed
Bug 579184
Opened 15 years ago
Closed 15 years ago
mobile unit test parser flags tests as green even though they have failed 100% of tests
Categories
(Release Engineering :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhford, Assigned: mozilla)
References
Details
(Whiteboard: [mobile][unittest])
Attachments
(1 file)
644 bytes,
patch
|
jhford
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
Basically, log parsing works as expected unless 100% of tests fail because the browser hasn't launched. If every single test is failing, the log parser reports the build as green which is definitely not good.
We should make sure that the tests show as failing if 100% of the tests fail, or the summary generated would be 'T-FAIL'
http://staging-mobile-master.build.mozilla.org:8020/builders/n810%20mozilla-central%20unit%20xpcshell/builds/2/steps/xpcshell/logs/summary is an example where there were 0 failures reported so the test is green even though the summary message is T-FAIL and there were 0 successful passes. In this case, I think a status of Fail(red) is appropriate.
Assignee | ||
Comment 1•15 years ago
|
||
tempted to dup to bug 511174.
Reporter | ||
Updated•15 years ago
|
Priority: -- → P3
Assignee | ||
Updated•15 years ago
|
Whiteboard: [mobile][unittest]
Reporter | ||
Updated•15 years ago
|
Summary: mobile unit test log parsing is broken → mobile unit test parser flags tests as green even though they have failed 100% of tests
Assignee | ||
Comment 2•15 years ago
|
||
may or may not make things better.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → aki
Assignee | ||
Comment 3•15 years ago
|
||
Comment on attachment 458471 [details] [diff] [review]
now tested
Tested on smm2.
Haven't been able to find any unit test runs after the reconfig that have 0 successful tests, but are green.
Attachment #458471 -
Flags: review?(jhford)
Assignee | ||
Updated•15 years ago
|
Attachment #458471 -
Attachment description: completely untested → now tested
Assignee | ||
Updated•15 years ago
|
Blocks: mobile-pool
Reporter | ||
Comment 4•15 years ago
|
||
if the the GLIBCXX_3.4.9 issue has not been fixed yet, every n810 unit test run on mozilla-central should pass 0 tests, did they start going orange?
Reporter | ||
Comment 5•15 years ago
|
||
Comment on attachment 458471 [details] [diff] [review]
now tested
looks good assuming that none of our test harnesses use zero padded test counts or octal representation.
Attachment #458471 -
Flags: review?(jhford) → review+
Assignee | ||
Comment 6•15 years ago
|
||
Comment on attachment 458471 [details] [diff] [review]
now tested
http://hg.mozilla.org/build/buildbotcustom/rev/c3edcb488bad
Attachment #458471 -
Flags: checked-in+
Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•