'buildbot checkconfig' is failing in EWS after Buildbot upgrade (to v2.10.1 which uses Python 3). e.g.: https://ews-build.webkit.org/#/builders/20/builds/42076/steps/12/logs/stdio Traceback (most recent call last): File "/usr/local/bin/buildbot", line 11, in <module> load_entry_point('buildbot==2.10.1', 'console_scripts', 'buildbot')() File "/Library/Python/3.7/site-packages/buildbot/scripts/runner.py", line 760, in run check_functional_environment(buildbot.config) File "/Library/Python/3.7/site-packages/buildbot/util/__init__.py", line 418, in check_functional_environment " are either unset or set to a valid locale.", str(e) File "/Library/Python/3.7/site-packages/buildbot/config.py", line 80, in error raise ConfigErrors([error]) buildbot.config.ConfigErrors: Your environment has incorrect locale settings. This means python cannot handle strings safely. Please check 'LANG', 'LC_CTYPE', 'LC_ALL' and 'LANGUAGE' are either unset or set to a valid locale. unknown locale: UTF-8
Note that locally running 'buildbot checkconfig' manually on same bot works fine.
<rdar://problem/75224237>
Created attachment 422730 [details] Patch
Created attachment 422733 [details] Patch
Tested in https://ews-build.webkit-uat.org/#/builders/1/builds/1333
Committed r274169: <https://commits.webkit.org/r274169> All reviewed patches have been landed. Closing bug and clearing flags on attachment 422733 [details].