Closed Bug 1913141 Opened 2 years ago Closed 1 year ago

Intermittent TypeError: __init__() got an unexpected keyword argument 'stdout'

Categories

(Testing :: mozperftest, defect, P5)

defect

Tracking

(firefox133 fixed)

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=470341448&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NEc9BDAgS9yO_S-hjUPxTg/runs/0/artifacts/public/logs/live_backing.log


Setting up mochitest python paths...
[task 2024-08-14T12:14:54.179Z] Traceback (most recent call last):
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/mozperftest/mozperftest/system/macos.py", line 77, in extract_app
[task 2024-08-14T12:14:54.179Z]     self._run_process(f"hdiutil detach {str(mount)}".split())
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/mozperftest/mozperftest/system/macos.py", line 43, in _run_process
[task 2024-08-14T12:14:54.179Z]     raise subprocess.CalledProcessError(
[task 2024-08-14T12:14:54.179Z] TypeError: __init__() got an unexpected keyword argument 'stdout'
[task 2024-08-14T12:14:54.179Z] 
[task 2024-08-14T12:14:54.179Z] During handling of the above exception, another exception occurred:
[task 2024-08-14T12:14:54.179Z] 
[task 2024-08-14T12:14:54.179Z] Traceback (most recent call last):
[task 2024-08-14T12:14:54.179Z]   File "python/mozperftest/mozperftest/runner.py", line 299, in <module>
[task 2024-08-14T12:14:54.179Z]     sys.exit(main())
[task 2024-08-14T12:14:54.179Z]   File "python/mozperftest/mozperftest/runner.py", line 295, in main
[task 2024-08-14T12:14:54.179Z]     run_tests(mach_cmd, args, user_args)
[task 2024-08-14T12:14:54.179Z]   File "python/mozperftest/mozperftest/runner.py", line 188, in run_tests
[task 2024-08-14T12:14:54.179Z]     e.run(metadata)
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/mozperftest/mozperftest/environment.py", line 92, in run
[task 2024-08-14T12:14:54.179Z]     metadata = testlayer(syslayer(metadata))
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/mozperftest/mozperftest/layers.py", line 157, in __call__
[task 2024-08-14T12:14:54.179Z]     metadata = layer(metadata)
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/mozperftest/mozperftest/layers.py", line 69, in __call__
[task 2024-08-14T12:14:54.179Z]     metadata = self.run(metadata)
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/mozperftest/mozperftest/system/macos.py", line 106, in run
[task 2024-08-14T12:14:54.179Z]     self.extract_app(dmg_file, target)
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/mozperftest/mozperftest/system/macos.py", line 82, in extract_app
[task 2024-08-14T12:14:54.179Z]     shutil.rmtree(str(mount))
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/lib/python3.8/shutil.py", line 718, in rmtree
[task 2024-08-14T12:14:54.179Z]     _rmtree_safe_fd(fd, path, onerror)
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/lib/python3.8/shutil.py", line 675, in _rmtree_safe_fd
[task 2024-08-14T12:14:54.179Z]     onerror(os.unlink, fullname, sys.exc_info())
[task 2024-08-14T12:14:54.179Z]   File "/opt/worker/tasks/task_172363748342652/fetches/python/lib/python3.8/shutil.py", line 673, in _rmtree_safe_fd
[task 2024-08-14T12:14:54.179Z]     os.unlink(entry.name, dir_fd=topfd)
[task 2024-08-14T12:14:54.179Z] OSError: [Errno 30] Read-only file system: ' '
[taskcluster 2024-08-14T12:14:54.336Z]    Exit Code: 1
[taskcluster 2024-08-14T12:14:54.336Z]    User Time: 1m47.201162s
[taskcluster 2024-08-14T12:14:54.336Z]  Kernel Time: 48.255152s
[taskcluster 2024-08-14T12:14:54.336Z]    Wall Time: 3m25.37519s
[taskcluster 2024-08-14T12:14:54.336Z]       Result: FAILED
[taskcluster 2024-08-14T12:14:54.336Z] === Task Finished ===
[taskcluster 2024-08-14T12:14:54.336Z] Task Duration: 3m25.422411s

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Task Configuration' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Task Configuration
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Component: Task Configuration → mozperftest
Product: Firefox Build System → Testing

CalledProcessError's constructor doesn't have a stdout argument, it's called output.

Assignee: nobody → jcristau
Pushed by jcristau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e9a648261a2a mozperftest: fix subprocess error handling on mac. r=mozperftest-reviewers,sparky
Status: REOPENED → RESOLVED
Closed: 2 years ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: