Changeset 266799 in webkit
- Timestamp:
- Sep 9, 2020 2:30:35 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r266741 r266799 2167 2167 def retry_build(self, message=''): 2168 2168 self.finished(RETRY) 2169 message = 'Unable to confirm if test failures are introduced by patch, retrying build' 2169 if not message: 2170 message = 'Unable to confirm if test failures are introduced by patch, retrying build' 2170 2171 self.descriptionDone = message 2171 2172 self.build.buildFinished([message], RETRY) … … 2242 2243 clean_tree_results_failing_tests = set(self.getProperty('clean_tree_run_failures', [])) 2243 2244 flaky_failures = first_results_failing_tests.union(second_results_failing_tests) - first_results_failing_tests.intersection(second_results_failing_tests) 2245 2246 if (not first_results_failing_tests) and (not second_results_failing_tests): 2247 # If we've made it here, then layout-tests and re-run-layout-tests failed, which means 2248 # there should have been some test failures. Otherwise there is some unexpected issue. 2249 # TODO: email EWS admins 2250 return self.retry_build('Unexpected infrastructure issue, retrying build') 2244 2251 2245 2252 if first_results_did_exceed_test_failure_limit and second_results_did_exceed_test_failure_limit: -
trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py
r266741 r266799 2068 2068 self.assertEqual(self.getProperty('build_finish_summary'), failure_message) 2069 2069 return rc 2070 2071 def test_unexpected_infra_issue(self): 2072 self.configureStep() 2073 self.setProperty('first_run_failures', []) 2074 self.setProperty('second_run_failures', []) 2075 self.expectOutcome(result=RETRY, state_string='Unexpected infrastructure issue, retrying build (retry)') 2076 return self.runStep() 2077 2070 2078 2071 2079 class TestCheckOutSpecificRevision(BuildStepMixinAdditions, unittest.TestCase): -
trunk/Tools/ChangeLog
r266798 r266799 1 2020-09-09 Aakash Jain <aakash_jain@apple.com> 2 3 ews might mark build as successful if tests fail to run 4 https://bugs.webkit.org/show_bug.cgi?id=215944 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 (AnalyzeLayoutTestsResults.retry_build): 10 (AnalyzeLayoutTestsResults.start): 11 * BuildSlaveSupport/ews-build/steps_unittest.py: 12 (TestAnalyzeLayoutTestsResults.test_test_fail_to_runs): 13 1 14 2020-09-09 Brady Eidson <beidson@apple.com> 2 15
Note: See TracChangeset
for help on using the changeset viewer.