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)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhford, Assigned: mozilla)

References

Details

(Whiteboard: [mobile][unittest])

Attachments

(1 file)

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.
tempted to dup to bug 511174.
Priority: -- → P3
Whiteboard: [mobile][unittest]
Summary: mobile unit test log parsing is broken → mobile unit test parser flags tests as green even though they have failed 100% of tests
Attached patch now testedSplinter Review
may or may not make things better.
Assignee: nobody → aki
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)
Attachment #458471 - Attachment description: completely untested → now tested
Blocks: mobile-pool
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?
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+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: