Title: [252739] trunk/Tools
Revision
252739
Author
[email protected]
Date
2019-11-21 09:39:48 -0800 (Thu, 21 Nov 2019)

Log Message

build.webkit.org: Forward results database credentials to jsc test runs
https://bugs.webkit.org/show_bug.cgi?id=204453

Reviewed by Aakash Jain.

* BuildSlaveSupport/build.webkit.org-config/steps.py:
(RunJavaScriptCoreTests.__init__): Do not log environment with credentials in it.
(RunJavaScriptCoreTests.start): Add results database API key to environment.
(RunLLINTCLoopTests.__init__): Do not log environment with credentials in it.
(RunLLINTCLoopTests.start): Add results database API key to environment.
(Run32bitJSCTests.__init__): Do not log environment with credentials in it.
(Run32bitJSCTests.start): Add results database API key to environment.

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/steps.py (252738 => 252739)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/steps.py	2019-11-21 17:08:21 UTC (rev 252738)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/steps.py	2019-11-21 17:39:48 UTC (rev 252739)
@@ -357,7 +357,12 @@
     failedTestsFormatString = "%d JSC test%s failed"
     logfiles = {"json": jsonFileName}
 
+    def __init__(self, *args, **kwargs):
+        kwargs['logEnviron'] = False
+        TestWithFailureCount.__init__(self, *args, **kwargs)
+
     def start(self):
+        self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY)
         platform = self.getProperty('platform')
         architecture = self.getProperty("architecture")
         # Currently run-_javascript_core-test doesn't support run _javascript_ core test binaries list below remotely
@@ -674,6 +679,14 @@
     failedTestsFormatString = "%d regression%s found."
     logfiles = {"json": jsonFileName}
 
+    def __init__(self, *args, **kwargs):
+        kwargs['logEnviron'] = False
+        TestWithFailureCount.__init__(self, *args, **kwargs)
+
+    def start(self):
+        self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY)
+        return shell.Test.start(self)
+
     def countFailures(self, cmd):
         logText = cmd.logs['stdio'].getText()
         # We're looking for the line that looks like this: 0 regressions found.
@@ -706,6 +719,14 @@
     failedTestsFormatString = "%d regression%s found."
     logfiles = {"json": jsonFileName}
 
+    def __init__(self, *args, **kwargs):
+        kwargs['logEnviron'] = False
+        TestWithFailureCount.__init__(self, *args, **kwargs)
+
+    def start(self):
+        self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY)
+        return shell.Test.start(self)
+
     def countFailures(self, cmd):
         logText = cmd.logs['stdio'].getText()
         # We're looking for the line that looks like this: 0 failures found.

Modified: trunk/Tools/ChangeLog (252738 => 252739)


--- trunk/Tools/ChangeLog	2019-11-21 17:08:21 UTC (rev 252738)
+++ trunk/Tools/ChangeLog	2019-11-21 17:39:48 UTC (rev 252739)
@@ -1,5 +1,20 @@
 2019-11-21  Jonathan Bedard  <[email protected]>
 
+        build.webkit.org: Forward results database credentials to jsc test runs
+        https://bugs.webkit.org/show_bug.cgi?id=204453
+
+        Reviewed by Aakash Jain.
+
+        * BuildSlaveSupport/build.webkit.org-config/steps.py:
+        (RunJavaScriptCoreTests.__init__): Do not log environment with credentials in it.
+        (RunJavaScriptCoreTests.start): Add results database API key to environment.
+        (RunLLINTCLoopTests.__init__): Do not log environment with credentials in it.
+        (RunLLINTCLoopTests.start): Add results database API key to environment.
+        (Run32bitJSCTests.__init__): Do not log environment with credentials in it.
+        (Run32bitJSCTests.start): Add results database API key to environment.
+
+2019-11-21  Jonathan Bedard  <[email protected]>
+
         run-webkit-tests: Clean-up simulator processes after tearing down simulators
         https://bugs.webkit.org/show_bug.cgi?id=204416
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to