Closed Bug 1416314 Opened 2 years ago Closed 2 years ago

Intermittent File "mozharness\scripts\desktop_unittest.py", line 690, in _report_system_info

Categories

(Testing :: Mochitest, defect, P5)

Version 3
defect

Tracking

(firefox58 fixed, firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox58 --- fixed
firefox59 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: archaeopteryx [at] coole-files.de

https://treeherder.mozilla.org/logviewer.html#?job_id=143622382&repo=autoland

https://queue.taskcluster.net/v1/task/QwtucBKxQ06fTVfkXIQPVA/runs/0/artifacts/public/logs/live_backing.log

09:38:23     INFO - Running pre-action listener: _resource_record_pre_action
09:38:23     INFO - Running pre-action listener: _set_gcov_prefix
09:38:23     INFO - Running main action method: run_tests
09:38:23     INFO - Running pre test command run mouse & screen adjustment script with 'c:\mozilla-build\python\python.exe Z:\task_1510306505\mozharness\external_tools\mouse_and_screen_resolution.py --configuration-file Z:\task_1510306505\mozharness\external_tools\machine-configuration.json'
09:38:23     INFO - Running command: ('c:\\mozilla-build\\python\\python.exe', 'Z:\\task_1510306505\\mozharness\\external_tools\\mouse_and_screen_resolution.py', '--configuration-file', 'Z:\\task_1510306505\\mozharness\\external_tools\\machine-configuration.json') in Z:\task_1510306505\build
09:38:23     INFO - Copy/paste: c:\mozilla-build\python\python.exe Z:\task_1510306505\mozharness\external_tools\mouse_and_screen_resolution.py --configuration-file Z:\task_1510306505\mozharness\external_tools\machine-configuration.json
09:38:27     INFO -  Screen resolution (current): (1600, 1200)
09:38:27     INFO -  Changing the screen resolution...
09:38:27     INFO -  Screen resolution (new): (1280, 1024)
09:38:27     INFO -  Mouse position (current): (640, 512)
09:38:27     INFO -  Mouse position (new): (1010, 10)
09:38:27     INFO - Return code: 0
09:38:27     INFO - mkdir: Z:\task_1510306505\build\blobber_upload_dir
09:38:39     INFO - Running post-action listener: _package_coverage_data
09:38:39     INFO - Running post-action listener: _resource_record_post_action
09:38:39     INFO - [mozharness: 2017-11-10 09:38:39.670000Z] Finished run-tests step (failed)
09:38:39    FATAL - Uncaught exception: Traceback (most recent call last):
09:38:39    FATAL -   File "Z:\task_1510306505\mozharness\mozharness\base\script.py", line 2059, in run
09:38:39    FATAL -     self.run_action(action)
09:38:39    FATAL -   File "Z:\task_1510306505\mozharness\mozharness\base\script.py", line 1998, in run_action
09:38:39    FATAL -     self._possibly_run_method(method_name, error_if_missing=True)
09:38:39    FATAL -   File "Z:\task_1510306505\mozharness\mozharness\base\script.py", line 1938, in _possibly_run_method
09:38:39    FATAL -     return getattr(self, method_name)()
09:38:39    FATAL -   File "mozharness\scripts\desktop_unittest.py", line 710, in run_tests
09:38:39    FATAL -     self._report_system_info()
09:38:39    FATAL -   File "mozharness\scripts\desktop_unittest.py", line 690, in _report_system_info
09:38:39    FATAL -     self._report_line(f, "\nUsers: ", psutil.users())
09:38:39    FATAL -   File "Z:\task_1510306505\build\venv\Lib\site-packages\psutil\__init__.py", line 1823, in users
09:38:39    FATAL -     return _psplatform.users()
09:38:39    FATAL -   File "Z:\task_1510306505\build\venv\Lib\site-packages\psutil\_pswindows.py", line 229, in users
09:38:39    FATAL -     rawlist = cext.users()
09:38:39    FATAL - WindowsError: [Error 2] The system cannot find the file specified
09:38:39    FATAL - Running post_fatal callback...
09:38:39    FATAL - Exiting -1
Assignee: nobody → gbrown
Comment on attachment 8927470 [details] [diff] [review]
avoid intermittent failures when generating system-info.log

Review of attachment 8927470 [details] [diff] [review]:
-----------------------------------------------------------------

always checking for errors!
Attachment #8927470 - Flags: review?(jmaher) → review+
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/de55f2d731c1
Guard against psutil exceptions when generating system-info.log; r=jmaher
https://hg.mozilla.org/mozilla-central/rev/de55f2d731c1
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.