Changeset 289966 in webkit
- Timestamp:
- Feb 16, 2022, 2:50:09 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/CISupport/ews-build/steps.py
r289947 r289966 2405 2405 2406 2406 def start(self): 2407 stress_failures_with_ patch= set(self.getProperty('jsc_stress_test_failures', []))2408 binary_failures_with_ patch= set(self.getProperty('jsc_binary_failures', []))2407 stress_failures_with_change = set(self.getProperty('jsc_stress_test_failures', [])) 2408 binary_failures_with_change = set(self.getProperty('jsc_binary_failures', [])) 2409 2409 clean_tree_stress_failures = set(self.getProperty('jsc_clean_tree_stress_test_failures', [])) 2410 2410 clean_tree_binary_failures = set(self.getProperty('jsc_clean_tree_binary_failures', [])) … … 2412 2412 clean_tree_failures_string = ', '.join(clean_tree_failures[:self.NUM_FAILURES_TO_DISPLAY]) 2413 2413 2414 flaky_stress_failures_with_ patch= set(self.getProperty('jsc_flaky_and_passed', {}).keys())2414 flaky_stress_failures_with_change = set(self.getProperty('jsc_flaky_and_passed', {}).keys()) 2415 2415 clean_tree_flaky_stress_failures = set(self.getProperty('jsc_clean_tree_flaky_and_passed', {}).keys()) 2416 flaky_stress_failures = sorted(list(flaky_stress_failures_with_ patch) + list(clean_tree_flaky_stress_failures))[:self.NUM_FAILURES_TO_DISPLAY]2416 flaky_stress_failures = sorted(list(flaky_stress_failures_with_change) + list(clean_tree_flaky_stress_failures))[:self.NUM_FAILURES_TO_DISPLAY] 2417 2417 flaky_failures_string = ', '.join(flaky_stress_failures) 2418 2418 2419 new_stress_failures = stress_failures_with_ patch- clean_tree_stress_failures2420 new_binary_failures = binary_failures_with_ patch- clean_tree_binary_failures2419 new_stress_failures = stress_failures_with_change - clean_tree_stress_failures 2420 new_binary_failures = binary_failures_with_change - clean_tree_binary_failures 2421 2421 self.new_stress_failures_to_display = ', '.join(sorted(list(new_stress_failures))[:self.NUM_FAILURES_TO_DISPLAY]) 2422 2422 self.new_binary_failures_to_display = ', '.join(sorted(list(new_binary_failures))[:self.NUM_FAILURES_TO_DISPLAY]) 2423 2423 2424 self._addToLog('stderr', '\nFailures with patch: {}'.format(list(binary_failures_with_patch) + list(stress_failures_with_patch))[:self.NUM_FAILURES_TO_DISPLAY])2425 self._addToLog('stderr', '\nFlaky Tests with patch: {}'.format(', '.join(flaky_stress_failures_with_patch)))2424 self._addToLog('stderr', '\nFailures with change: {}'.format(list(binary_failures_with_change) + list(stress_failures_with_change))[:self.NUM_FAILURES_TO_DISPLAY]) 2425 self._addToLog('stderr', '\nFlaky Tests with change: {}'.format(', '.join(flaky_stress_failures_with_change))) 2426 2426 self._addToLog('stderr', '\nFailures on clean tree: {}'.format(clean_tree_failures_string)) 2427 2427 self._addToLog('stderr', '\nFlaky Tests on clean tree: {}'.format(', '.join(clean_tree_flaky_stress_failures))) 2428 2428 2429 if (not stress_failures_with_ patch) and (not binary_failures_with_patch):2429 if (not stress_failures_with_change) and (not binary_failures_with_change): 2430 2430 # If we've made it here, then jsc-tests and re-run-jsc-tests failed, which means 2431 2431 # there should have been some test failures. Otherwise there is some unexpected issue. … … 2468 2468 message = '' 2469 2469 if (not new_binary_failures) and (not new_stress_failures): 2470 message = 'Found unexpected failure with patch'2470 message = 'Found unexpected failure with change' 2471 2471 if new_binary_failures: 2472 2472 pluralSuffix = 's' if len(new_binary_failures) > 1 else '' -
trunk/Tools/CISupport/ews-build/steps_unittest.py
r289948 r289966 1725 1725 return self.runStep() 1726 1726 1727 def test_ patch_breaking_jsc_test_suite(self):1727 def test_change_breaking_jsc_test_suite(self): 1728 1728 self.configureStep() 1729 1729 self.setProperty('jsc_stress_test_failures', []) … … 1732 1732 self.setProperty('jsc_clean_tree_flaky_and_passed', {}) 1733 1733 self.setProperty('clean_tree_run_status', SUCCESS) 1734 self.expectOutcome(result=FAILURE, state_string='Found unexpected failure with patch(failure)')1734 self.expectOutcome(result=FAILURE, state_string='Found unexpected failure with change (failure)') 1735 1735 return self.runStep() 1736 1736 -
trunk/Tools/ChangeLog
r289948 r289966 1 2022-02-15 Jonathan Bedard <jbedard@apple.com> 2 3 [EWS] Rename 'patch' to 'change' in JSC steps 4 https://bugs.webkit.org/show_bug.cgi?id=236679 5 <rdar://problem/88993957> 6 7 Reviewed by Aakash Jain. 8 9 * CISupport/ews-build/steps.py: 10 (AnalyzeJSCTestsResults.start): Rename 'patch' in variables and log messages to 'change'. 11 (AnalyzeJSCTestsResults.report_failure): Ditto. 12 * CISupport/ews-build/steps_unittest.py: 13 1 14 2022-02-15 Jonathan Bedard <jbedard@apple.com> 2 15
Note:
See TracChangeset
for help on using the changeset viewer.