buildkite/Make: Add short delay after reloading Docker, restart bazel.#13748
Merged
Conversation
copybara-service
Bot
force-pushed
the
test/cl949770216
branch
5 times, most recently
from
July 18, 2026 00:34
0f57bd5 to
c1f4560
Compare
The Docker reload command (especially when it's just SIGHUP) can race with
future CI instructions that use the bazel container, causing races.
Example CI logs:
```
--- CONFIGURE buildkite_runtime → [...]
2026/07/17 21:29:36 Clobber is set. Overwriting runtime buildkite_runtime not found: adding
2026/07/17 21:29:36 Successfully updated config.
--- DOCKER RELOAD
+ sudo systemctl reload docker
+ docker info --format '{{range $k,$v:=.Runtimes}}{{println $k}}{{end}}'
+ grep -qF buildkite_runtime
--- TEST --test_env=RUNTIME=buildkite_runtime [...] //test/[...]
Error: No such container: gvisor-bazel-1f42b90b-x86_64
Makefile:282: recipe for target 'nodejs22.2.0-runtime-tests' failed
make: *** [nodejs22.2.0-runtime-tests] Error 1
```
Not a great fix, but hopefully this fixes it.
PiperOrigin-RevId: 949850411
copybara-service
Bot
force-pushed
the
test/cl949770216
branch
from
July 18, 2026 01:10
c1f4560 to
ed5539d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
buildkite/Make: Add short delay after reloading Docker, restart bazel.
The Docker reload command (especially when it's just SIGHUP) can race with
future CI instructions that use the bazel container, causing races.
Example CI logs:
Not a great fix, but hopefully this fixes it.