RESOLVED FIXED 269688
"start-local-buildbot-server --ews" fails to start: builtins.ModuleNotFoundError: No module named 'ews-build'
https://bugs.webkit.org/show_bug.cgi?id=269688
Summary "start-local-buildbot-server --ews" fails to start: builtins.ModuleNotFoundEr...
Fujii Hironori
Reported 2024-02-18 20:04:46 PST
$ ./Tools/CISupport/start-local-buildbot-server --ews Setting up virtualenv at /tmp/tmptglmqr02 ... Setting up buildbot dependencies on the virtualenv ... Copying files from /home/fujii/webkit/ga/Tools/CISupport/ews-build to /tmp/tmptglmqr02/buildbot-server ... Generating buildbot files at /tmp/tmptglmqr02/buildbot-server ... Starting the buildbot server process ... ERROR: buildbot server has not started after waiting 60 seconds for it. The server.log file contains the following: 2024-02-19T11:54:45+0900 [-] Loading buildbot.tac... 2024-02-19T11:54:46+0900 [-] Loaded. 2024-02-19T11:54:46+0900 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 21.2.0 (/tmp/tmptglmqr02/venv/bin/python 3.10.12) starting up. 2024-02-19T11:54:46+0900 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.epollreactor.EPollReactor. 2024-02-19T11:54:46+0900 [-] Starting BuildMaster -- buildbot.version: 2.10.5 2024-02-19T11:54:46+0900 [-] Loading configuration from '/tmp/tmptglmqr02/buildbot-server/master.cfg' 2024-02-19T11:54:46+0900 [-] error while parsing config file: Traceback (most recent call last): File "/tmp/tmptglmqr02/venv/lib/python3.10/site-packages/twisted/python/threadpool.py", line 254, in <lambda> inContext.theWork = lambda: context.call( # type: ignore[attr-defined] File "/tmp/tmptglmqr02/venv/lib/python3.10/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/tmp/tmptglmqr02/venv/lib/python3.10/site-packages/twisted/python/context.py", line 83, in callWithContext return func(*args, **kw) File "/tmp/tmptglmqr02/venv/lib/python3.10/site-packages/buildbot/config.py", line 154, in loadConfig filename, config_dict = loadConfigDict( --- <exception caught here> --- File "/tmp/tmptglmqr02/venv/lib/python3.10/site-packages/buildbot/config.py", line 117, in loadConfigDict execfile(filename, localDict) File "/tmp/tmptglmqr02/venv/lib/python3.10/site-packages/twisted/python/compat.py", line 225, in execfile exec(code, globals, locals) File "/tmp/tmptglmqr02/buildbot-server/master.cfg", line 12, in <module> loadConfig = importlib.import_module("ews-build.loadConfig") File "/usr/lib/python3.10/importlib/_init_.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked builtins.ModuleNotFoundError: No module named 'ews-build' 2024-02-19T11:54:46+0900 [-] Configuration Errors: 2024-02-19T11:54:46+0900 [-] error while parsing config file: No module named 'ews-build' (traceback in logfile) 2024-02-19T11:54:46+0900 [-] Halting master. 2024-02-19T11:54:46+0900 [-] BuildMaster startup failed 2024-02-19T11:54:46+0900 [-] BuildMaster is stopped 2024-02-19T11:54:46+0900 [-] Main loop terminated. 2024-02-19T11:54:46+0900 [twisted.scripts._twistd_unix.UnixAppLogger#info] Server Shut Down. Traceback (most recent call last): File "/home/fujii/webkit/ga/./Tools/CISupport/start-local-buildbot-server", line 173, in start self._wait_for_server_ready() File "/home/fujii/webkit/ga/./Tools/CISupport/start-local-buildbot-server", line 232, in _wait_for_server_ready raise RuntimeError('buildbot server has not started after waiting 60 seconds for it.') RuntimeError: buildbot server has not started after waiting 60 seconds for it. Cleaning /tmp/tmptglmqr02 ...
Attachments
Fujii Hironori
Comment 1 2024-02-18 20:06:04 PST
"./Tools/CISupport/start-local-buildbot-server --post-commit" also fails with a similar error message. > builtins.ModuleNotFoundError: No module named 'build-webkit-org'
Fujii Hironori
Comment 2 2024-02-18 20:27:23 PST
This is a regression by 267005@main (bug#258526).
Fujii Hironori
Comment 3 2024-02-18 23:23:15 PST
EWS
Comment 4 2024-02-19 16:06:54 PST
Committed 275008@main (69379105c355): <https://commits.webkit.org/275008@main> Reviewed commits have been landed. Closing PR #24726 and removing active labels.
Radar WebKit Bug Importer
Comment 5 2024-02-19 16:07:57 PST
Note You need to log in before you can comment on or make changes to this bug.