-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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: podman checkpoint container with --pre-checkpoint not working in container testing #24230
Comments
They no longer work in the latest image update, it is not clear why and I do not have the time to debug that stuff. I opened containers#24230 to track it. Signed-off-by: Paul Holzinger <[email protected]>
See containers/automation_images#387 (comment) , in particular, the criu 4.0 update:
|
Reproducer:
And the criu logfile was empty so nothing useful to see in there. Trying to use a normal fedora image as base then install podman does not seem to reproduce and I tried both @adrianreber @rst0git Any ideas what could cause |
@Luap99 Would it be possible to confirm if the error appears with both runc and crun, or only with crun? |
Well this is fun now I am no longer able to reproduce using the steps from above so I cannot tell. |
@Luap99 I was able to replicate the error locally with the following commands, and confirm that appears with both runc and crun:
It looks like CRIU fails with the following error:
|
I also noticed that the message crun: DEBU[0000] the args to checkpoint: /usr/bin/crun checkpoint --image-path /var/lib/containers/storage/overlay-containers/3fbe9360c80bc925ff1f013624c2e31346448ddba08b8194d8f83749edec95c9/userdata/pre-checkpoint --work-path /var/lib/containers/storage/overlay-containers/3fbe9360c80bc925ff1f013624c2e31346448ddba08b8194d8f83749edec95c9/userdata --pre-dump 3fbe9360c80bc925ff1f013624c2e31346448ddba08b8194d8f83749edec95c9
*** buffer overflow detected ***: terminated
2024-10-15T17:31:49.172489Z: CRIU feature checking failed -52. Please check CRIU logfile /var/lib/containers/storage/overlay-containers/3fbe9360c80bc925ff1f013624c2e31346448ddba08b8194d8f83749edec95c9/userdata/dump.log
Error: `/usr/bin/crun checkpoint --image-path /var/lib/containers/storage/overlay-containers/3fbe9360c80bc925ff1f013624c2e31346448ddba08b8194d8f83749edec95c9/userdata/pre-checkpoint --work-path /var/lib/containers/storage/overlay-containers/3fbe9360c80bc925ff1f013624c2e31346448ddba08b8194d8f83749edec95c9/userdata --pre-dump 3fbe9360c80bc925ff1f013624c2e31346448ddba08b8194d8f83749edec95c9` failed: exit status 1
DEBU[0000] Shutting down engines
INFO[0000] Received shutdown.Stop(), terminating! PID=37015 runc: DEBU[0000] the args to checkpoint: /usr/bin/runc checkpoint --image-path /var/lib/containers/storage/overlay-containers/1a9049b53a4ddc54bff3f1bd18abd6e3f19c0c33ef43dac74dff1769ee479ee5/userdata/pre-checkpoint --work-path /var/lib/containers/storage/overlay-containers/1a9049b53a4ddc54bff3f1bd18abd6e3f19c0c33ef43dac74dff1769ee479ee5/userdata --pre-dump 1a9049b53a4ddc54bff3f1bd18abd6e3f19c0c33ef43dac74dff1769ee479ee5
ERRO[0000] CRIU feature check failed
Error: `/usr/bin/runc checkpoint --image-path /var/lib/containers/storage/overlay-containers/1a9049b53a4ddc54bff3f1bd18abd6e3f19c0c33ef43dac74dff1769ee479ee5/userdata/pre-checkpoint --work-path /var/lib/containers/storage/overlay-containers/1a9049b53a4ddc54bff3f1bd18abd6e3f19c0c33ef43dac74dff1769ee479ee5/userdata --pre-dump 1a9049b53a4ddc54bff3f1bd18abd6e3f19c0c33ef43dac74dff1769ee479ee5` failed: exit status 1
DEBU[0000] Shutting down engines
INFO[0000] Received shutdown.Stop(), terminating! PID=36877 |
@adrianreber Do you have any ideas what may cause
It is worth noting that +++ b/utils/utils.go
@@ -39,7 +39,7 @@ func ExecCmdWithStdStreams(stdin io.Reader, stdout, stderr io.Writer, env []stri
cmd.Stdin = stdin
cmd.Stdout = stdout
cmd.Stderr = stderr
- cmd.Env = env
+ // cmd.Env = env
err := cmd.Run()
if err != nil { |
A friendly reminder that this issue had no activity for 30 days. |
With the latest image update (#24227) checkpoint is broken inside the container test:
Both
podman checkpoint container with --pre-checkpoint
andpodman checkpoint container with --pre-checkpoint and export (migration)
fail the same wayhttps://api.cirrus-ci.com/v1/artifact/task/5294903477927936/html/int-podman-fedora-40-root-container-sqlite.log.html
I don't have time to look into this so I am just going to skip this just filing this so we can track it.
The text was updated successfully, but these errors were encountered: