Closed Bug 1843414 Opened 2 years ago Closed 2 years ago

Intermittent ModuleNotFoundError: No module named 'mozsystemmonitor' | after TypeError: warning() takes 2 positional arguments but 3 were given

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)

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


[task 2023-07-13T18:39:24.707Z] 18:39:24  WARNING - find_links: exception: <urlopen error _ssl.c:1112: The handshake operation timed out>
[task 2023-07-13T18:39:34.706Z] 18:39:34     INFO - Running post-action listener: _resource_record_post_action
[task 2023-07-13T18:39:34.706Z] 18:39:34     INFO - Running post-action listener: _start_resource_monitoring
[task 2023-07-13T18:39:34.766Z] 18:39:34  WARNING - Unable to start resource monitor: Traceback (most recent call last):
[task 2023-07-13T18:39:34.766Z] 18:39:34  WARNING -   File "Z:\task_168927256264710\mozharness\mozharness\base\script.py", line 2292, in run_action
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -     self._possibly_run_method(method_name, error_if_missing=True)
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -   File "Z:\task_168927256264710\mozharness\mozharness\base\script.py", line 2244, in _possibly_run_method
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -     return getattr(self, method_name)()
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -   File "Z:\task_168927256264710\mozharness\mozharness\base\python.py", line 562, in create_virtualenv
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -     self.install_module(
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -   File "Z:\task_168927256264710\mozharness\mozharness\base\python.py", line 355, in install_module
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -     self.warning(
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING - TypeError: warning() takes 2 positional arguments but 3 were given
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING - 
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING - During handling of the above exception, another exception occurred:
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING - 
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING - Traceback (most recent call last):
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -   File "Z:\task_168927256264710\mozharness\mozharness\base\python.py", line 690, in _start_resource_monitoring
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING -     from mozsystemmonitor.resourcemonitor import SystemResourceMonitor
[task 2023-07-13T18:39:34.767Z] 18:39:34  WARNING - ModuleNotFoundError: No module named 'mozsystemmonitor'
[task 2023-07-13T18:39:34.767Z] 18:39:34     INFO - [mozharness: 2023-07-13 18:39:34.767686Z] Finished create-virtualenv step (failed)
[task 2023-07-13T18:39:34.767Z] 18:39:34    FATAL - Uncaught exception: Traceback (most recent call last):
[task 2023-07-13T18:39:34.767Z] 18:39:34    FATAL -   File "Z:\task_168927256264710\mozharness\mozharness\base\script.py", line 2358, in run
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -     self.run_action(action)
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -   File "Z:\task_168927256264710\mozharness\mozharness\base\script.py", line 2292, in run_action
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -     self._possibly_run_method(method_name, error_if_missing=True)
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -   File "Z:\task_168927256264710\mozharness\mozharness\base\script.py", line 2244, in _possibly_run_method
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -     return getattr(self, method_name)()
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -   File "Z:\task_168927256264710\mozharness\mozharness\base\python.py", line 562, in create_virtualenv
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -     self.install_module(
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -   File "Z:\task_168927256264710\mozharness\mozharness\base\python.py", line 355, in install_module
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL -     self.warning(
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL - TypeError: warning() takes 2 positional arguments but 3 were given
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL - Running post_fatal callback...
[task 2023-07-13T18:39:34.768Z] 18:39:34    FATAL - Exiting -1
[task 2023-07-13T18:39:34.768Z] 18:39:34     INFO - Running post-run listener: _resource_record_post_run
[taskcluster 2023-07-13T18:39:34.829Z]    Exit Code: 4294967295
[taskcluster 2023-07-13T18:39:34.829Z]    User Time: 0s
[taskcluster 2023-07-13T18:39:34.829Z]  Kernel Time: 0s
[taskcluster 2023-07-13T18:39:34.829Z]    Wall Time: 10m53.1031405s
[taskcluster 2023-07-13T18:39:34.829Z]       Result: FAILED
[taskcluster 2023-07-13T18:39:34.829Z] === Task Finished ===
[taskcluster 2023-07-13T18:39:34.829Z] Task Duration: 10m53.1059327s
[taskcluster 2023-07-13T18:39:34.990Z] Uploading artifact public/logs/localconfig.json from file logs\localconfig.json with content encoding "gzip", mime type "application/json" and expiry 2024-07-12T17:35:45.783Z
[taskcluster 2023-07-13T18:39:35.274Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-07-12T17:35:45.783Z
[taskcluster:error] exit status 0xffffffff
Assignee: relops → nobody
Group: mozilla-employee-confidential
Component: RelOps: General → Task Configuration
Product: Infrastructure & Operations → Firefox Build System

The TypeError is bug 1783689.

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