-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI and f37 gating tests: failure in --runtime-flag test - maybe crun? #4503
Comments
@flouthoc PTAL |
This is now breaking all CI jobs [example]:
|
Can be reproduced locally as well |
git bisect points to containers/crun@c4af47e |
FWIW, the images were build here containers/automation_images#245 (comment) (links to build logs) |
Checking |
that happens because newer crun versions use a cache for seccomp, so the warning happens only the first time it is built |
one way to address it would be to use a new root directory: diff --git a/tests/run.bats b/tests/run.bats
index 7f8d1d7d9..8c82b124f 100644
--- a/tests/run.bats
+++ b/tests/run.bats
@@ -824,7 +824,7 @@ _EOF
if [ -n "$(command -v crun)" ]; then
found_runtime=y
- run_buildah run --runtime=crun --runtime-flag=debug $cid true
+ run_buildah run --runtime=crun --runtime-flag=root=${TEST_SCRATCH_DIR}/crun --runtime-flag=debug $cid true
assert "$output" != "" "Output from running 'true' with --runtime-flag=debug"
fi |
are there no debug logs in crun? runc prints a lot of verbose logs, maybe crun should do so too? At least --debug implies that it does not only print warnings. |
not really, we added --debug just for CLI compatibility with runc |
fair enough, if your diff fixes the test please open a PR with it |
I'd rather prefer we drop the check, it has an assumption on the behavior of the runtime that is not documented anywhere |
That is an option but how should Lines 4754 to 4773 in 39dfa73
|
crun might not print any debugging message, so change the runtime-flag test to use --log=log-file and test it was created. Closes: containers#4503 Signed-off-by: Giuseppe Scrivano <[email protected]>
proposed fix: #4523 |
crun might not print any debugging message, so change the runtime-flag test to use --log=log-file and test it was created. Closes: containers#4503 Signed-off-by: Giuseppe Scrivano <[email protected]>
crun might not print any debugging message, so change the runtime-flag test to use --log=log-file and test it was created. Closes: containers#4503 Signed-off-by: Giuseppe Scrivano <[email protected]>
Impossible-to-debug failure in f37 gating tests:
The broken test is being fixed in #4502; until that merges we can't actually know what happened. One possibility is that
crun
changed somehow, such thatdebug
no longer produces debug output? The test failure suggests that this command:$ buildah run --runtime=crun --runtime-flag=debug alpine-working-container true
...should produce output, but it isn't? Could this be a crun change? A change in how buildah passes the
--runtime-flag
option?The text was updated successfully, but these errors were encountered: