Closed Bug 1802423 Opened 3 years ago Closed 3 years ago

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)

RESOLVED 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

Hi Marco! Can you please take a look at this? This seems to be regressed by your recent changes in Bug 1790816.
Thank you!

Flags: needinfo?(mcastelluccio)

I'm looking into it.

Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Flags: needinfo?(mcastelluccio)

This way it is importable directly without Python scripts having to alter the path.

Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a1d2248eeca8 Add mozharness to the list of Mach dependencies. r=firefox-build-system-reviewers,ahochheiden DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: