scripts/ci-runner.sh: wait for systemd to settle#516
Merged
Luap99 merged 1 commit intocoreos:mainfrom Mar 16, 2026
Merged
Conversation
The sleep stage, originally added by commit 07d38cb, is there to wait for systemd to finish its initialization stage (which includes wiping /tmp). Commit 743c5ad added a step of building tests inside a container, and then commit 82dc44e moved the code into scripts/ci-runner.sh. Now, sometimes building the tests fails with errors like this: > github.com/coreos/go-systemd/v22/activation.test: open /tmp/go-build4063755751/b001/importcfg: no such file or directory or > asm: open $WORK/b006/symabis: no such file or directory All this points to /tmp being wiped while the tests are being built. Moving the sleep to before building tests (right after starting the container) should fix this. Yet better, let's implement a proper wait for systemd to settle. While at it: - modify ci-runner.sh to accept multiple arguments; - remove GO15VENDOREXPERIMENT as it is no longer needed. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
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.
The sleep stage, originally added by commit 07d38cb, is there to wait for systemd to finish its initialization stage (which includes wiping /tmp).
Commit 743c5ad added a step of building tests inside a container, and then commit 82dc44e moved the code into scripts/ci-runner.sh.
Now, sometimes building the tests fails with errors like this:
or
(as reported in #513 comments).
All this points to /tmp being wiped while the tests are being built.
Moving the sleep to before building tests (right after starting the container) should fix this. Yet better, let's use
to wait for systemd to settle.