Perma py3 ref ModuleNotFoundError: No module named 'mozharness.base' | TEST-UNEXPECTED-FAIL | No test output (missing mozunit.main() call?): /builds/worker/checkouts/gecko/layout/tools/reftest/selftest/test_reftest_output.py
Categories
(Developer Infrastructure :: Lint and Formatting, defect, P5)
Tracking
(firefox109 fixed)
| Tracking | Status | |
|---|---|---|
| firefox109 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: marco)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file)
Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=397661219&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WH8rCI_JRD2StBevL_bQmg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WH8rCI_JRD2StBevL_bQmg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1
[task 2022-11-25T05:17:18.935Z] layout/tools/reftest/selftest/test_reftest_manifest_parser.py::test_parse_invalid_manifests PASSED
[task 2022-11-25T05:17:18.935Z]
[task 2022-11-25T05:17:18.935Z] =============================== warnings summary ===============================
[task 2022-11-25T05:17:18.935Z] testing/mozbase/mozinstall/mozinstall/mozinstall.py:233
[task 2022-11-25T05:17:18.935Z] /builds/worker/checkouts/gecko/testing/mozbase/mozinstall/mozinstall/mozinstall.py:233: DeprecationWarning: invalid escape sequence \h
[task 2022-11-25T05:17:18.935Z] cmdArgs = ["%s\\uninstall\helper.exe" % install_folder, "/S"]
[task 2022-11-25T05:17:18.935Z]
[task 2022-11-25T05:17:18.935Z] layout/tools/reftest/selftest/test_reftest_manifest_parser.py::test_parse_test_types
[task 2022-11-25T05:17:18.935Z] /builds/worker/fetches/tests/bin/fix_stacks.py:21: DeprecationWarning: invalid escape sequence \d
[task 2022-11-25T05:17:18.935Z] line_re = re.compile("#\d+: .+\[.+ \+0x[0-9A-Fa-f]+\]")
[task 2022-11-25T05:17:18.935Z]
[task 2022-11-25T05:17:18.935Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2022-11-25T05:17:18.935Z] ======================== 3 passed, 2 warnings in 51.39s ========================
[task 2022-11-25T05:17:18.935Z]
[task 2022-11-25T05:17:18.935Z]
[task 2022-11-25T05:17:19.118Z] Tests Completed: 67%|██████▋ | 2/3 [00:52<00:30, 30.85s/Test]
[task 2022-11-25T05:17:19.118Z]
[task 2022-11-25T05:17:19.118Z] Setting retcode to 1 from /builds/worker/checkouts/gecko/layout/tools/reftest/selftest/test_reftest_output.py
[task 2022-11-25T05:17:19.119Z]
[task 2022-11-25T05:17:19.119Z] Tests Completed: 100%|██████████| 3/3 [00:52<00:00, 16.85s/Test]
[task 2022-11-25T05:17:19.119Z]
[task 2022-11-25T05:17:19.119Z] /builds/worker/checkouts/gecko/layout/tools/reftest/selftest/test_reftest_output.py
[task 2022-11-25T05:17:19.119Z] Traceback (most recent call last):
[task 2022-11-25T05:17:19.119Z] File "/builds/worker/checkouts/gecko/layout/tools/reftest/selftest/test_reftest_output.py", line 20, in <module>
[task 2022-11-25T05:17:19.119Z] from mozharness.base.log import ERROR, INFO, WARNING
[task 2022-11-25T05:17:19.119Z] ModuleNotFoundError: No module named 'mozharness.base'
[task 2022-11-25T05:17:19.119Z]
[task 2022-11-25T05:17:19.119Z] TEST-UNEXPECTED-FAIL | No test output (missing mozunit.main() call?): /builds/worker/checkouts/gecko/layout/tools/reftest/selftest/test_reftest_output.py
[task 2022-11-25T05:17:19.119Z]
[task 2022-11-25T05:17:19.119Z] Tests Completed: 100%|██████████| 3/3 [00:52<00:00, 17.62s/Test]Return code from mach python-test: 1
[task 2022-11-25T05:17:19.147Z]
[taskcluster 2022-11-25 05:17:19.521Z] === Task Finished ===
[taskcluster 2022-11-25 05:17:19.521Z] Unsuccessful task run with exit code: 1 completed in 319.269 seconds
Comment 1•3 years ago
|
||
Hi Marco! Can you please take a look at this? This seems to be regressed by your recent changes in Bug 1790816.
Thank you!
| Assignee | ||
Comment 2•3 years ago
|
||
I'm looking into it.
| Assignee | ||
Comment 3•3 years ago
|
||
This way it is importable directly without Python scripts having to alter the path.
Comment 5•3 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
Description
•