Closed Bug 1754726 Opened 4 years ago Closed 4 years ago

Permanent failure line for successful py3(xpcom) and condprof tasks: TEST-UNEXPECTED-FAIL | No test output (missing mozunit.main() call?): /builds/worker/checkouts/gecko/xpcom/idl-parser/xpidl/runtests.py - DO NUT USE FOR CLASSIFICATION

Categories

(Testing :: Python Test, defect, P5)

defect

Tracking

(firefox-esr91 unaffected, firefox97 unaffected, firefox98 unaffected, firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox97 --- unaffected
firefox98 --- unaffected
firefox99 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: ahochheiden)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=367162018&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UN9rQY_iRni6PrWCsUdKRA/runs/0/artifacts/public/logs/live_backing.log


[task 2022-02-09T01:09:15.176Z]  0:07.34 /builds/worker/checkouts/gecko/xpcom/idl-parser/xpidl/runtests.py
[task 2022-02-09T01:09:15.176Z]  0:07.34 
[task 2022-02-09T01:09:15.176Z]  0:07.34 TEST-UNEXPECTED-FAIL | No test output (missing mozunit.main() call?): /builds/worker/checkouts/gecko/xpcom/idl-parser/xpidl/runtests.py
[task 2022-02-09T01:09:15.208Z]  0:07.38 /builds/worker/checkouts/gecko/xpcom/components/test/test_gen_static_components.py
[task 2022-02-09T01:09:15.208Z]  0:07.38 ============================= test session starts ==============================
[task 2022-02-09T01:09:15.208Z]  0:07.38 platform linux -- Python 3.6.9, pytest-4.6.6, py-1.5.4, pluggy-0.13.1 -- /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/bin/python
[task 2022-02-09T01:09:15.208Z]  0:07.38 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2022-02-09T01:09:15.208Z]  0:07.38 collecting ... collected 3 items
[task 2022-02-09T01:09:15.208Z]  0:07.38 
[task 2022-02-09T01:09:15.208Z]  0:07.38 xpcom/components/test/test_gen_static_components.py::TestGenStaticComponents::test_dict PASSED
[task 2022-02-09T01:09:15.209Z]  0:07.38 xpcom/components/test/test_gen_static_components.py::TestGenStaticComponents::test_dict_with_selector PASSED
[task 2022-02-09T01:09:15.209Z]  0:07.38 xpcom/components/test/test_gen_static_components.py::TestGenStaticComponents::test_string PASSED
[task 2022-02-09T01:09:15.209Z]  0:07.38 
[task 2022-02-09T01:09:15.209Z]  0:07.38 =========================== 3 passed in 0.03 seconds ===========================

condprof task: https://treeherder.mozilla.org/logviewer?job_id=367161998&repo=autoland

Despite logging an unexpected fail, these tasks return with a success exit code. Alex, can you look into this issue started by the changes in bug 1753555?

Flags: needinfo?(ahochheiden)
Has Regression Range: --- → yes

Since stdout is being piped, redirecting stderr to stdout causes it
to ends up in the same pipe interleaved, which is what we want.

Also added a non-zero return code to be set when there is no test output.

Assignee: nobody → ahochheiden
Status: NEW → ASSIGNED
Flags: needinfo?(ahochheiden)
Pushed by ahochheiden@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a7ec72bd52ce Add capturing for `stderr` when running Python Tests r=ahal
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Regressions: 1776222
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: