Open Luap99 opened 2 days ago
See https://github.com/containers/automation_images/pull/387#issuecomment-2404942252 , in particular, the criu 4.0 update:
debian | prior-fedora | fedora | fedora-aws | rawhide | |
---|---|---|---|---|---|
criu | 3.17.1-3 | 3.19-2 | 4.0-1 | 3.19-4 | 4.0-1 |
3.19-6 ⇑ | 3.19-7 ⇑ |
Reproducer:
$ sudo bin/podman run --rm --privileged --net=host --cgroupns=host -v /var/lib/containers -v $(pwd):/repo -w /repo -v /tmp:/tmp -it quay.io/libpod/fedora_podman:c20241010t105554z-f40f39d13 bash
[root@pholzing-fedora repo]# bin/podman run -d quay.io/libpod/alpine:latest top
8a080765b0f5aed1138e6ffb0d6c1c04a48aee93cf96776ba7059b6e775e8be8
[root@pholzing-fedora repo]# bin/podman container checkpoint -P test
*** buffer overflow detected ***: terminated
2024-10-11T14:58:53.008984Z: CRIU feature checking failed -52. Please check CRIU logfile /var/lib/containers/storage/overlay-containers/8a080765b0f5aed1138e6ffb0d6c1c04a48aee93cf96776ba7059b6e775e8be8/userdata/dump.log
Error: `/usr/bin/crun checkpoint --image-path /var/lib/containers/storage/overlay-containers/8a080765b0f5aed1138e6ffb0d6c1c04a48aee93cf96776ba7059b6e775e8be8/userdata/pre-checkpoint --work-path /var/lib/containers/storage/overlay-containers/8a080765b0f5aed1138e6ffb0d6c1c04a48aee93cf96776ba7059b6e775e8be8/userdata --pre-dump 8a080765b0f5aed1138e6ffb0d6c1c04a48aee93cf96776ba7059b6e775e8be8` failed: exit status 1
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 criu-3.19-4
and criu-4.0-1
so there must be some magic in our special test image.
@adrianreber @rst0git Any ideas what could cause *** buffer overflow detected ***: terminated
?
With the latest image update (https://github.com/containers/podman/pull/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.