Changeset 252953 in webkit


Ignore:
Timestamp:
Nov 30, 2019 12:15:36 AM (4 years ago)
Author:
aakash_jain@apple.com
Message:

[EWS] Do not retry layout-tests build if the flaky test failures are also present in clean tree run
https://bugs.webkit.org/show_bug.cgi?id=204704

Reviewed by Alexey Proskuryakov.

  • BuildSlaveSupport/ews-build/steps.py:

(AnalyzeLayoutTestsResults.start):

  • BuildSlaveSupport/ews-build/steps_unittest.py:

(TestAnalyzeLayoutTestsResults.test_flaky_and_inconsistent_failures_with_clean_tree_failures): Changed expected outcome to SUCCESS.
(TestAnalyzeLayoutTestsResults.test_flaky_and_consistent_failures_with_clean_tree_failures): Ditto.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/ews-build/steps.py

    r252700 r252953  
    14531453                    return self.report_failure(failures_introduced_by_patch)
    14541454
    1455             # At this point we know that at least one test flaked, but no consistent failures
    1456             # were introduced. This is a bit of a grey-zone.
     1455            new_failing_or_flaky_tests = first_results_failing_tests.union(second_results_failing_tests) - clean_tree_results_failing_tests
     1456            if not new_failing_or_flaky_tests:
     1457                return self.report_pre_existing_failures(clean_tree_results_failing_tests)
     1458
     1459            # At this point we know that at least one test flaked, and those flaky tests passed on clean tree,
     1460            # and no consistent failures were introduced. This is a bit of a grey-zone. So, we retry the build.
    14571461            return self.retry_build()
    14581462
  • trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py

    r252946 r252953  
    16481648        self.setProperty('second_run_failures', ['test3'])
    16491649        self.setProperty('clean_tree_run_failures', ['test1', 'test2', 'test3'])
    1650         self.expectOutcome(result=RETRY, state_string='Unable to confirm if test failures are introduced by patch, retrying build (retry)')
     1650        self.expectOutcome(result=SUCCESS, state_string='Passed layout tests')
    16511651        return self.runStep()
    16521652
     
    16561656        self.setProperty('second_run_failures', ['test1'])
    16571657        self.setProperty('clean_tree_run_failures', ['test1', 'test2'])
    1658         self.expectOutcome(result=RETRY, state_string='Unable to confirm if test failures are introduced by patch, retrying build (retry)')
     1658        self.expectOutcome(result=SUCCESS, state_string='Passed layout tests')
    16591659        return self.runStep()
    16601660
  • trunk/Tools/ChangeLog

    r252952 r252953  
     12019-11-30  Aakash Jain  <aakash_jain@apple.com>
     2
     3        [EWS] Do not retry layout-tests build if the flaky test failures are also present in clean tree run
     4        https://bugs.webkit.org/show_bug.cgi?id=204704
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * BuildSlaveSupport/ews-build/steps.py:
     9        (AnalyzeLayoutTestsResults.start):
     10        * BuildSlaveSupport/ews-build/steps_unittest.py:
     11        (TestAnalyzeLayoutTestsResults.test_flaky_and_inconsistent_failures_with_clean_tree_failures): Changed expected outcome to SUCCESS.
     12        (TestAnalyzeLayoutTestsResults.test_flaky_and_consistent_failures_with_clean_tree_failures): Ditto.
     13
    1142019-11-29  Zalan Bujtas  <zalan@apple.com>
    215
Note: See TracChangeset for help on using the changeset viewer.