Bug 222974 - buildbot checkconfig is failing in ews after buildbot upgrade
Summary: buildbot checkconfig is failing in ews after buildbot upgrade
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-09 07:09 PST by Aakash Jain
Modified: 2021-03-09 12:52 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.40 KB, patch)
2021-03-09 11:08 PST, Aakash Jain
no flags Details | Formatted Diff | Diff
Patch (2.41 KB, patch)
2021-03-09 11:19 PST, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2021-03-09 07:09:42 PST
'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
Comment 1 Aakash Jain 2021-03-09 09:36:20 PST
Note that locally running 'buildbot checkconfig' manually on same bot works fine.
Comment 2 Radar WebKit Bug Importer 2021-03-09 10:37:32 PST
<rdar://problem/75224237>
Comment 3 Aakash Jain 2021-03-09 11:08:25 PST
Created attachment 422730 [details]
Patch
Comment 4 Aakash Jain 2021-03-09 11:19:57 PST
Created attachment 422733 [details]
Patch
Comment 5 Aakash Jain 2021-03-09 11:20:19 PST
Tested in https://ews-build.webkit-uat.org/#/builders/1/builds/1333
Comment 6 EWS 2021-03-09 12:52:37 PST
Committed r274169: <https://commits.webkit.org/r274169>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 422733 [details].