Closed Bug 1818693 Opened 2 years ago Closed 2 years ago

Intermittent win11 ModuleNotFoundError: No module named 'mozdebug' / 'mozfile'

Categories

(Firefox Build System :: Task Configuration, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered])

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=406795604&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SUr6lZpBTJWQ-IEhNvrlLA/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/SUr6lZpBTJWQ-IEhNvrlLA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2023-02-24T08:07:15.635Z] 08:07:15     INFO -  'USERDOMAIN_ROAMINGPROFILE': 'VM-EIEYY9ILRHQH',
[task 2023-02-24T08:07:15.635Z] 08:07:15     INFO -  'USERNAME': 'task_167722497834305',
[task 2023-02-24T08:07:15.635Z] 08:07:15     INFO -  'USERPROFILE': 'C:\\Users\\task_167722497834305',
[task 2023-02-24T08:07:15.635Z] 08:07:15     INFO -  'VIRTUAL_ENV': 'venv',
[task 2023-02-24T08:07:15.635Z] 08:07:15     INFO -  'WINDIR': 'C:\\Windows'}
[task 2023-02-24T08:07:15.635Z] 08:07:15     INFO - Calling ['Z:\\task_167722497834305\\build\\venv\\Scripts\\python', '-u', 'Z:\\task_167722497834305\\build\\tests\\reftest\\runreftest.py', '--total-chunks', '3', '--this-chunk', '1', '--setpref=gfx.webrender.dcomp-win.enabled=true', '--setpref=gfx.webrender.dcomp-video-overlay-win=false', '--setpref=gfx.webrender.dcomp-video-overlay-win.force-enabled=false', '--setpref=gfx.webrender.compositor=false', '--setpref=gfx.webrender.compositor.force-enabled=false', '--setpref=media.peerconnection.mtransport_process=false', '--setpref=network.process.enabled=false', '--setpref=layers.d3d11.enable-blacklist=false', '--appname=Z:\\task_167722497834305\\build\\application\\firefox\\firefox.exe', '--utility-path=tests/bin', '--extra-profile-file=tests/bin/plugins', '--symbols-path=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aUbvq95fSxmJWRmnhrJVOw/artifacts/public/build/target.crashreporter-symbols.zip', '--log-raw=Z:\\task_167722497834305\\build\\blobber_upload_dir\\reftest_raw.log', '--log-errorsummary=Z:\\task_167722497834305\\build\\blobber_upload_dir\\reftest_errorsummary.log', '--cleanup-crashes', '--marionette-startup-timeout=180', '--sandbox-read-whitelist=Z:\\task_167722497834305\\build', '--log-raw=-', '--suite=reftest', '--topsrcdir=tests/reftest/tests', '--', 'tests/reftest/tests/layout/reftests/reftest.list'] with output_timeout 1000
[task 2023-02-24T08:07:15.840Z] 08:07:15     INFO -  Traceback (most recent call last):
[task 2023-02-24T08:07:15.841Z] 08:07:15     INFO -    File "Z:\task_167722497834305\build\tests\reftest\runreftest.py", line 28, in <module>
[task 2023-02-24T08:07:15.841Z] 08:07:15     INFO -      import mozdebug
[task 2023-02-24T08:07:15.842Z] 08:07:15     INFO -  ModuleNotFoundError: No module named 'mozdebug'
[task 2023-02-24T08:07:15.862Z] 08:07:15     INFO - Return code: 1
[task 2023-02-24T08:07:15.863Z] 08:07:15    ERROR - No suite end message was emitted by this harness.
[task 2023-02-24T08:07:15.863Z] 08:07:15    ERROR - No checks run.
[task 2023-02-24T08:07:15.863Z] 08:07:15     INFO - TinderboxPrint: reftest-reftest<br/><em class="testfail">T-FAIL</em>
[task 2023-02-24T08:07:15.863Z] 08:07:15  WARNING - setting return code to 2
Summary: Intermittent win11 ModuleNotFoundError: No module named 'mozdebug' → Intermittent win11 ModuleNotFoundError: No module named 'mozdebug' / 'mozfile'
Duplicate of this bug: 1818694

Adding also the log with the mozfile failure: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/L5ndNRe1QviWKC-qPTuVGg/runs/0/artifacts/public/logs/live_backing.log

task 2023-02-24T07:59:56.804Z] 07:59:56     INFO - Getting output from command: ['Z:\\task_167722458463566\\build\\venv\\Scripts\\pip', 'list', '--format', 'freeze', '--no-index']
[task 2023-02-24T07:59:56.804Z] 07:59:56     INFO - Copy/paste: Z:\task_167722458463566\build\venv\Scripts\pip list --format freeze --no-index
[task 2023-02-24T07:59:57.532Z] 07:59:57     INFO - Reading from file tmpfile_stdout
[task 2023-02-24T07:59:57.532Z] 07:59:57     INFO - Using _rmtree_windows ...
[task 2023-02-24T07:59:57.532Z] 07:59:57     INFO - Running command: del /F /Q "Z:\task_167722458463566\tmpfile_stderr"
[task 2023-02-24T07:59:57.544Z] 07:59:57     INFO - Return code: 0
[task 2023-02-24T07:59:57.544Z] 07:59:57     INFO - Using _rmtree_windows ...
[task 2023-02-24T07:59:57.545Z] 07:59:57     INFO - Running command: del /F /Q "Z:\task_167722458463566\tmpfile_stdout"
[task 2023-02-24T07:59:57.558Z] 07:59:57     INFO - Return code: 0
[task 2023-02-24T07:59:57.559Z] 07:59:57     INFO - Return code: 0
[task 2023-02-24T07:59:57.559Z] 07:59:57     INFO - Detecting whether we're running mozinstall >=1.0...
[task 2023-02-24T07:59:57.559Z] 07:59:57     INFO - Getting output from command: ['Z:\\task_167722458463566\\build\\venv\\Scripts\\mozinstall', '-h']
[task 2023-02-24T07:59:57.559Z] 07:59:57     INFO - Copy/paste: Z:\task_167722458463566\build\venv\Scripts\mozinstall -h
[task 2023-02-24T07:59:57.737Z] 07:59:57    ERROR - Errors received:
[task 2023-02-24T07:59:57.738Z] 07:59:57     INFO - Reading from file tmpfile_stderr
[task 2023-02-24T07:59:57.738Z] 07:59:57    ERROR -  Traceback (most recent call last):
[task 2023-02-24T07:59:57.738Z] 07:59:57    ERROR -    File "Z:\task_167722458463566\build\venv\Scripts\mozinstall-script.py", line 33, in <module>
[task 2023-02-24T07:59:57.738Z] 07:59:57    ERROR -      sys.exit(load_entry_point('mozInstall==2.0.1', 'console_scripts', 'mozinstall')())
[task 2023-02-24T07:59:57.738Z] 07:59:57    ERROR -    File "Z:\task_167722458463566\build\venv\Scripts\mozinstall-script.py", line 25, in importlib_load_entry_point
[task 2023-02-24T07:59:57.738Z] 07:59:57    ERROR -      return next(matches).load()
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "c:\mozilla-build\python3\lib\importlib\metadata.py", line 77, in load
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -      module = import_module(match.group('module'))
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "c:\mozilla-build\python3\lib\importlib\__init__.py", line 127, in import_module
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -      return _bootstrap._gcd_import(name[level:], package, level)
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "<frozen importlib._bootstrap_external>", line 850, in exec_module
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "Z:\task_167722458463566\build\venv\lib\site-packages\mozinstall\__init__.py", line 6, in <module>
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -      from .mozinstall import *
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -    File "Z:\task_167722458463566\build\venv\lib\site-packages\mozinstall\mozinstall.py", line 16, in <module>
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -      import mozfile
[task 2023-02-24T07:59:57.739Z] 07:59:57    ERROR -  ModuleNotFoundError: No module named 'mozfile'

First occurrence in this batch of retriggers and backfills

Whiteboard: [retriggered]
See Also: → 1820384

the root cause is bug 1732228

Depends on: 1732228
See Also: → 1822571
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.