Skip to content

Commit

Permalink
"start-local-buildbot-server --ews" fails to start: builtins.ModuleNo…
Browse files Browse the repository at this point in the history
…tFoundError: No module named 'ews-build'

https://bugs.webkit.org/show_bug.cgi?id=269688

Reviewed by Carlos Alberto Lopez Perez.

After 267005@main changed master.cfg to use importlib to load
loadConfig, start-local-buildbot-server failed to start. The basename
of _server_wordir should be same with the basename of _configdir.

* Tools/CISupport/start-local-buildbot-server:
(BuildbotTestRunner._setup_server_workdir): Use the basename of
_configdir instead of the hard-coded directory name 'buildbot-server'
for the basename of _server_wordir.

Canonical link: https://commits.webkit.org/275008@main
  • Loading branch information
fujii committed Feb 20, 2024
1 parent 3f3161b commit 6937910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/CISupport/start-local-buildbot-server
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class BuildbotTestRunner(object):
return result

def _setup_server_workdir(self):
self._server_wordir = os.path.join(self._base_workdir_temp, 'buildbot-server')
self._server_wordir = os.path.join(self._base_workdir_temp, os.path.basename(self._configdir))
assert(not os.path.exists(self._server_wordir))
self._server_log = os.path.join(self._server_wordir, 'server.log')
self._server_ready_fd = os.path.join(self._server_wordir, '.server-is-ready')
Expand Down

0 comments on commit 6937910

Please sign in to comment.