Modified: trunk/Tools/CISupport/build-webkit-org/steps.py (293429 => 293430)
--- trunk/Tools/CISupport/build-webkit-org/steps.py 2022-04-26 16:43:50 UTC (rev 293429)
+++ trunk/Tools/CISupport/build-webkit-org/steps.py 2022-04-26 16:56:09 UTC (rev 293430)
@@ -476,6 +476,7 @@
"--buildbot-master", CURRENT_HOSTNAME,
"--report", RESULTS_WEBKIT_URL,
]
+ commandExtra = ['--treat-failing-as-flaky=0.7,10,20']
failedTestsFormatString = "%d JSC test%s failed"
logfiles = {"json": jsonFileName}
@@ -493,6 +494,10 @@
platform = self.getProperty('platform')
architecture = self.getProperty("architecture")
+ # Ask run-jsc-stress-tests to report flaky (including to the resultsdb)
+ # but do not fail the whole run if the pass rate of the failing tests is
+ # high enough.
+ self.command += self.commandExtra
# Currently run-_javascript_core-test doesn't support run _javascript_ core test binaries list below remotely
if architecture in ['mips', 'armv7', 'aarch64']:
self.command += ['--no-testmasm', '--no-testair', '--no-testb3', '--no-testdfg', '--no-testapi']
Modified: trunk/Tools/CISupport/build-webkit-org/steps_unittest.py (293429 => 293430)
--- trunk/Tools/CISupport/build-webkit-org/steps_unittest.py 2022-04-26 16:43:50 UTC (rev 293429)
+++ trunk/Tools/CISupport/build-webkit-org/steps_unittest.py 2022-04-26 16:56:09 UTC (rev 293430)
@@ -990,6 +990,7 @@
def configureStep(self, platform=None, fullPlatform=None, configuration=None):
self.setupStep(RunJavaScriptCoreTests())
+ self.commandExtra = RunJavaScriptCoreTests.commandExtra
if platform:
self.setProperty('platform', platform)
if fullPlatform:
@@ -1005,7 +1006,7 @@
self.expectRemoteCommands(
ExpectShell(workdir='wkdir',
logEnviron=False,
- command=['perl', 'Tools/Scripts/run-_javascript_core-tests', '--no-build', '--no-fail-fast', '--json-output={0}'.format(self.jsonFileName), '--release', '--builder-name', 'JSC-Tests', '--build-number', '101', '--buildbot-worker', 'bot100', '--buildbot-master', CURRENT_HOSTNAME, '--report', 'https://results.webkit.org'],
+ command=['perl', 'Tools/Scripts/run-_javascript_core-tests', '--no-build', '--no-fail-fast', '--json-output={0}'.format(self.jsonFileName), '--release', '--builder-name', 'JSC-Tests', '--build-number', '101', '--buildbot-worker', 'bot100', '--buildbot-master', CURRENT_HOSTNAME, '--report', 'https://results.webkit.org'] + self.commandExtra,
logfiles={'json': self.jsonFileName},
env={'RESULTS_SERVER_API_KEY': 'test-api-key'}
)
@@ -1019,7 +1020,7 @@
self.expectRemoteCommands(
ExpectShell(workdir='wkdir',
logEnviron=False,
- command=['perl', 'Tools/Scripts/run-_javascript_core-tests', '--no-build', '--no-fail-fast', '--json-output={0}'.format(self.jsonFileName), '--debug', '--builder-name', 'JSC-Tests', '--build-number', '101', '--buildbot-worker', 'bot100', '--buildbot-master', CURRENT_HOSTNAME, '--report', 'https://results.webkit.org'],
+ command=['perl', 'Tools/Scripts/run-_javascript_core-tests', '--no-build', '--no-fail-fast', '--json-output={0}'.format(self.jsonFileName), '--debug', '--builder-name', 'JSC-Tests', '--build-number', '101', '--buildbot-worker', 'bot100', '--buildbot-master', CURRENT_HOSTNAME, '--report', 'https://results.webkit.org'] + self.commandExtra,
logfiles={'json': self.jsonFileName},
env={'RESULTS_SERVER_API_KEY': 'test-api-key'}
)