RESOLVED FIXED Bug 92894
nrwt: reenable the test for --verbose working in child processes
https://bugs.webkit.org/show_bug.cgi?id=92894
Summary nrwt: reenable the test for --verbose working in child processes
Dirk Pranke
Reported 2012-08-01 11:56:05 PDT
nrwt: reenable the test for --verbose working in child processes
Attachments
Patch (3.12 KB, patch)
2012-08-01 11:57 PDT, Dirk Pranke
no flags
delete unneeded blank lines in test (3.12 KB, patch)
2012-08-01 11:59 PDT, Dirk Pranke
no flags
Dirk Pranke
Comment 1 2012-08-01 11:57:55 PDT
Dirk Pranke
Comment 2 2012-08-01 11:59:03 PDT
Created attachment 155853 [details] delete unneeded blank lines in test
Ryosuke Niwa
Comment 3 2012-08-01 12:03:22 PDT
Comment on attachment 155853 [details] delete unneeded blank lines in test rs=me.
WebKit Review Bot
Comment 4 2012-08-01 14:27:17 PDT
Comment on attachment 155853 [details] delete unneeded blank lines in test Clearing flags on attachment: 155853 Committed r124370: <http://trac.webkit.org/changeset/124370>
WebKit Review Bot
Comment 5 2012-08-01 14:27:22 PDT
All reviewed patches have been landed. Closing bug.
Roger Fong
Comment 6 2012-10-05 13:01:21 PDT
Hi again Dirk! This test seems to be somehow flaky on the Windows bots from time to time. I get this message: OSError raised: [Errno 17] File exists [961/1585] webkitpy.layout_tests.run_webkit_tests_integrationtest.MainTest.test_verbose_in_child_processes erred: Traceback (most recent call last): File "/home/buildbot/slave/win-release-tests/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py", line 934, in test_verbose_in_child_processes res = run_webkit_tests.run(port_obj, options, parsed_args, buildbot_output=buildbot_output, regular_output=regular_output) File "/home/buildbot/slave/win-release-tests/build/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 110, in run unexpected_result_count = manager.run(args) File "/home/buildbot/slave/win-release-tests/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 411, in run self._run_tests(self._test_names, result_summary, int(self._options.child_processes)) File "/home/buildbot/slave/win-release-tests/build/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 464, in _run_tests return self._runner.run_tests(test_inputs, self._expectations, result_summary, num_workers, needs_http, needs_websockets, self._retrying) File "/home/buildbot/slave/win-release-tests/build/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 141, in run_tests with message_pool.get(self, self._worker_factory, num_workers, self._port.worker_startup_delay_secs(), self._port.host) as pool: File "/home/buildbot/slave/win-release-tests/build/Tools/Scripts/webkitpy/common/message_pool.py", line 61, in get return _MessagePool(caller, worker_factory, num_workers, worker_startup_delay_secs, host) File "/home/buildbot/slave/win-release-tests/build/Tools/Scripts/webkitpy/common/message_pool.py", line 79, in __init__ self._messages_to_worker = multiprocessing.Queue() File "/usr/lib/python2.6/multiprocessing/__init__.py", line 213, in Queue return Queue(maxsize) File "/usr/lib/python2.6/multiprocessing/queues.py", line 37, in __init__ self._rlock = Lock() File "/usr/lib/python2.6/multiprocessing/synchronize.py", line 117, in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1) File "/usr/lib/python2.6/multiprocessing/synchronize.py", line 49, in __init__ sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue) OSError: [Errno 17] File exists Do you know why this could be failing, it never seems to fail locally. Also, I don't know when this started failing but last week Lucas and I set child-processes to 1 when running webkitpy tests because sometimes the tests wouldn't run at all with multiple processes. See https://bugs.webkit.org/show_bug.cgi?id=97465 Do you think that that change could be causing problems? Thanks!
Dirk Pranke
Comment 7 2012-10-05 13:13:55 PDT
If you see line 280 in run_webkit_tests_integrationtest.py you'll see that there is a comment about multi-process tests being generally flaky on cygwin, and the intent is to skip the tests that require this there. We should probably add this test to that list by wrapping the whole test in an 'if self.should_test_child_processes' block like we have elsewhere in the file.
Note You need to log in before you can comment on or make changes to this bug.