RESOLVED FIXED 227114
[Win] Exception running layout tests
https://bugs.webkit.org/show_bug.cgi?id=227114
Summary [Win] Exception running layout tests
Per Arne Vollan
Reported 2021-06-17 02:13:30 PDT
From https://ews-build.webkit.org/#/builders/10/builds/96013: OSError raised: [Errno 3] No such process Traceback (most recent call last): File "/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 92, in main run_details = run(port, options, args, stderr) File "/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 487, in run run_details = manager.run(args) File "/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 408, in run temp_initial_results, temp_retry_results, temp_enabled_pixel_tests_in_retry = self._run_test_subset(test_inputs, device_type=device_type) File "/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 482, in _run_test_subset initial_results = self._run_tests(test_inputs, self._options.repeat_each, self._options.iterations, int(self._options.child_processes), retrying=False, device_type=device_type) File "/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 561, in _run_tests return self._runner.run_tests(self._expectations[device_type], new_test_inputs, num_workers, retrying, device_type) File "/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 179, in run_tests pool.wait() File "/home/buildbot/worker/Windows-EWS/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py", line 462, in __exit__ os.kill(worker.pid, signal.SIGKILL) OSError: [Errno 3] No such process
Attachments
Patch (1.41 KB, patch)
2021-06-17 02:21 PDT, Per Arne Vollan
no flags
Patch (1.46 KB, patch)
2021-06-17 09:21 PDT, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2021-06-17 02:21:30 PDT
Jonathan Bedard
Comment 2 2021-06-17 09:01:18 PDT
Comment on attachment 431640 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=431640&action=review > Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:464 > + except Exception: I think we should catch an OSError explicitly (in Python, Exception rather annoyingly includes things like syntax errors since it's an interpreted language), and probably log the PID of worker, since we have multiple workers.
Per Arne Vollan
Comment 3 2021-06-17 09:21:55 PDT
Per Arne Vollan
Comment 4 2021-06-17 09:22:26 PDT
(In reply to Jonathan Bedard from comment #2) > Comment on attachment 431640 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=431640&action=review > > > Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:464 > > + except Exception: > > I think we should catch an OSError explicitly (in Python, Exception rather > annoyingly includes things like syntax errors since it's an interpreted > language), and probably log the PID of worker, since we have multiple > workers. Done! Thanks for reviewing!
EWS
Comment 5 2021-06-17 11:25:00 PDT
Committed r278998 (238923@main): <https://commits.webkit.org/238923@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 431681 [details].
Radar WebKit Bug Importer
Comment 6 2021-06-17 11:25:21 PDT
Note You need to log in before you can comment on or make changes to this bug.