Title: [274169] trunk/Tools
Revision
274169
Author
aakash_j...@apple.com
Date
2021-03-09 12:52:33 -0800 (Tue, 09 Mar 2021)

Log Message

buildbot checkconfig is failing in ews after buildbot upgrade
https://bugs.webkit.org/show_bug.cgi?id=222974

Reviewed by Jonathan Bedard.

* CISupport/ews-build/steps.py:
(RunEWSBuildbotCheckConfig.start): Set LC_ALL environment variable on bots.
* CISupport/ews-build/steps_unittest.py: Updated unit-tests accordingly.

Modified Paths

Diff

Modified: trunk/Tools/CISupport/ews-build/steps.py (274168 => 274169)


--- trunk/Tools/CISupport/ews-build/steps.py	2021-03-09 20:41:45 UTC (rev 274168)
+++ trunk/Tools/CISupport/ews-build/steps.py	2021-03-09 20:52:33 UTC (rev 274169)
@@ -1260,6 +1260,10 @@
     def __init__(self, **kwargs):
         super(RunEWSBuildbotCheckConfig, self).__init__(workdir='build/Tools/CISupport/ews-build', timeout=2 * 60, logEnviron=False, **kwargs)
 
+    def start(self):
+        self.workerEnvironment['LC_CTYPE'] = 'en_US.UTF-8'
+        return shell.ShellCommand.start(self)
+
     def getResultSummary(self):
         if self.results == SUCCESS:
             return {'step': 'Passed buildbot checkconfig'}

Modified: trunk/Tools/CISupport/ews-build/steps_unittest.py (274168 => 274169)


--- trunk/Tools/CISupport/ews-build/steps_unittest.py	2021-03-09 20:41:45 UTC (rev 274168)
+++ trunk/Tools/CISupport/ews-build/steps_unittest.py	2021-03-09 20:52:33 UTC (rev 274169)
@@ -637,6 +637,7 @@
                         timeout=120,
                         logEnviron=False,
                         command=['buildbot', 'checkconfig'],
+                        env={'LC_CTYPE': 'en_US.UTF-8'}
                         )
             + 0,
         )
@@ -650,6 +651,7 @@
                         timeout=120,
                         logEnviron=False,
                         command=['buildbot', 'checkconfig'],
+                        env={'LC_CTYPE': 'en_US.UTF-8'}
                         )
             + ExpectShell.log('stdio', stdout='Configuration Errors:  builder(s) iOS-12-Debug-Build-EWS have no schedulers to drive them')
             + 2,

Modified: trunk/Tools/ChangeLog (274168 => 274169)


--- trunk/Tools/ChangeLog	2021-03-09 20:41:45 UTC (rev 274168)
+++ trunk/Tools/ChangeLog	2021-03-09 20:52:33 UTC (rev 274169)
@@ -1,3 +1,14 @@
+2021-03-09  Aakash Jain  <aakash_j...@apple.com>
+
+        buildbot checkconfig is failing in ews after buildbot upgrade
+        https://bugs.webkit.org/show_bug.cgi?id=222974
+
+        Reviewed by Jonathan Bedard.
+
+        * CISupport/ews-build/steps.py:
+        (RunEWSBuildbotCheckConfig.start): Set LC_ALL environment variable on bots.
+        * CISupport/ews-build/steps_unittest.py: Updated unit-tests accordingly.
+
 2021-03-09  Michael Catanzaro  <mcatanz...@gnome.org>
 
         [GTK] Reenable -fvisibility=hidden
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to