Changeset 90246 in webkit
- Timestamp:
- Jul 1, 2011 11:14:37 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r90239 r90246 1 2011-07-01 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 ReportCrash destabilizes new-run-webkit-tests 6 https://bugs.webkit.org/show_bug.cgi?id=63795 7 8 ReportCrash chews up too many system resources that it destablizes 9 tests run concurrently. This patch causes us to spin down all the 10 worker processes when ReportCrash is running. 11 12 Also, this patch causes the master process to tell the user we're 13 waiting for the crash reporter rather than having that be the worker's 14 job. This stops the user from getting spammed with too many "waiting 15 for crash reporter" messages and also cleans up some minor UI issues 16 with the meter. 17 18 * Scripts/webkitpy/layout_tests/layout_package/manager.py: 19 * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py: 20 * Scripts/webkitpy/layout_tests/port/base.py: 21 * Scripts/webkitpy/layout_tests/port/server_process.py: 22 1 23 2011-07-01 Adam Roben <aroben@apple.com> 2 24 -
trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/manager.py
r90214 r90246 669 669 try: 670 670 while not self.is_done(): 671 # FIXME: Do we need to run in a loop anymore? 671 if self._port.executive().running_pids(self._port.is_crash_reporter): 672 self._printer.print_update("Waiting for crash reporter ...") 673 self._port.executive().wait_newest(self._port.is_crash_reporter) 672 674 manager_connection.run_message_loop(delay_secs=1.0) 673 675 … … 783 785 start_time = time.time() 784 786 785 interrupted, keyboard_interrupted, thread_timings, test_timings, \ 786 individual_test_timings = ( 787 self._run_tests(self._test_files_list, result_summary)) 787 interrupted, keyboard_interrupted, thread_timings, test_timings, individual_test_timings = self._run_tests(self._test_files_list, result_summary) 788 788 789 789 # We exclude the crashes from the list of results to retry, because -
trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py
r90138 r90246 126 126 127 127 def _run_compare_test(self): 128 # Before running the test, we wait for any crash reporters to finish 129 # running. On Mac, ReportCrash chews up a bunch of resources and 130 # causes the tests to become unstable, so we don't want to run in 131 # parallel with ReportCrash. 132 self._port.executive().wait_newest(self._port.is_crash_reporter) 128 133 driver_output = self._driver.run_test(self._driver_input()) 129 134 expected_driver_output = self._expected_driver_output() -
trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py
r90191 r90246 139 139 self.set_option_default('use_apache', self._default_to_apache()) 140 140 141 def executive(self): 142 return self._executive 143 141 144 def wdiff_available(self): 142 145 if self._wdiff_available is None: -
trunk/Tools/Scripts/webkitpy/layout_tests/port/server_process.py
r90191 r90246 173 173 return 174 174 try: 175 self._log('Sampling %s process... (use --no-sample-on-timeout to skip this step)' % self._name)176 175 hang_report = os.path.join(self._port.results_directory(), "%s-%s.sample.txt" % (self._name, self._proc.pid)) 177 176 self._executive.run_command([ … … 198 197 now = time.time() 199 198 if now > deadline: 200 if self._executive.running_pids(self._port.is_crash_reporter): 201 self._log('Waiting for crash reporter...') 202 self._executive.wait_newest(self._port.is_crash_reporter) 203 if not self.crashed: 204 self._check_for_crash() 199 self._executive.wait_newest(self._port.is_crash_reporter) 200 if not self.crashed: 201 self._check_for_crash() 205 202 self.timed_out = True 206 203 if not self.crashed:
Note: See TracChangeset
for help on using the changeset viewer.