Skip to content

Flaky test: TestCheckpoint #38963

@thaJeztah

Description

@thaJeztah

This test was added recently in #38452, but looks to be flaky;

Seen failing on #38910, #38441, #38952, #38939

For example:

https://jenkins.dockerproject.org/job/Docker-PRs-experimental/44645/console

01:42:48 === RUN   TestCheckpoint
01:42:50 --- FAIL: TestCheckpoint (1.54s)
01:42:50     checkpoint_test.go:40: Error (criu/util.c:816): exited, status=3
01:42:50         Warn  (criu/net.c:2840): Unable to get socket network namespace
01:42:50         Warn  (criu/net.c:2840): Unable to get tun network namespace
01:42:50         Warn  (criu/sk-unix.c:229): unix: Unable to open a socket file: Bad address
01:42:50         Warn  (criu/net.c:2840): Unable to get socket network namespace
01:42:50         Warn  (criu/kerndat.c:881): Can't keep kdat cache on non-tempfs
01:42:50         Looks good.
01:42:50     checkpoint_test.go:51: Start a container
01:42:50     checkpoint_test.go:69: ++ type -P true
01:42:50         ++ type -P ip6tables-restore
01:42:50         + mount --bind /bin/true /sbin/ip6tables-restore
01:42:50         ++ type -P true
01:42:50         ++ type -P ip6tables-save
01:42:50         + mount --bind /bin/true /sbin/ip6tables-save
01:42:50     checkpoint_test.go:81: Do a checkpoint and leave the container running
01:42:50     checkpoint_test.go:24: Exec: [touch /tmp/test-file]
01:42:50     checkpoint_test.go:28: 
01:42:50     checkpoint_test.go:115: Do a checkpoint and stop the container
01:42:50     checkpoint_test.go:117: assertion failed: error is not nil: Error response from daemon: Cannot checkpoint container 632ee0139e1239e1fa4a6bbd6e37ad7c21500fe4d2d8ee8139d40e26cebd6e92: cannot checkpoint a stopped container: unknown
01:42:50     checkpoint_test.go:77: ++ type -P ip6tables-restore
01:42:50         + umount -c -i -l /sbin/ip6tables-restore
01:42:50         ++ type -P ip6tables-save
01:42:50         + umount -c -i -l /sbin/ip6tables-save
01:42:50     main_test.go:32: assertion failed: error is not nil: Error response from daemon: Container 632ee0139e1239e1fa4a6bbd6e37ad7c21500fe4d2d8ee8139d40e26cebd6e92 is not paused: failed to unpause container 632ee0139e1239e1fa4a6bbd6e37ad7c21500fe4d2d8ee8139d40e26cebd6e92

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/checkpointRelated to (experimental) checkpoint/restore (CRIU)area/testingkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.kind/experimental

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions