Skip to content
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

make integration hangs on Ubuntu 19.04 (related to CRIU) #2068

Closed
AkihiroSuda opened this issue Jun 6, 2019 · 5 comments · Fixed by #2081
Closed

make integration hangs on Ubuntu 19.04 (related to CRIU) #2068

AkihiroSuda opened this issue Jun 6, 2019 · 5 comments · Fixed by #2081

Comments

@AkihiroSuda
Copy link
Member

$ make integration
...
docker run  -t --privileged --rm -v /lib/modules:/lib/modules:ro -v /home/suda/gopath/src/github.com/opencontainers/runc:/go/src/github.com/opencontainers/runc runc_dev:master make localintegration TESTPATH=
go build -buildmode=pie  -ldflags "-X main.gitCommit="a77c3195e91c3930b51092a52612cfe77576007b" -X main.version=1.0.0-rc8+dev " -tags "seccomp" -o runc .
go build -buildmode=pie  -ldflags "-X main.gitCommit="a77c3195e91c3930b51092a52612cfe77576007b" -X main.version=1.0.0-rc8+dev " -tags "seccomp" -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty
bats -t tests/integration
1..77
ok 1 runc update --kernel-memory (initialized)
ok 2 runc update --kernel-memory (uninitialized)
ok 3 runc create (no limits + no cgrouppath + no permission) succeeds
ok 4 # skip (test requires rootless) runc create (rootless + no limits + cgrouppath + no permission) fails with permission error
ok 5 # skip (test requires rootless) runc create (rootless + limits + no cgrouppath + no permission) fails with informative error
ok 6 runc create (limits + cgrouppath + permission on the cgroup dir) succeeds
ok 7 runc exec (limits + cgrouppath + permission on the cgroup dir) succeeds
ok 8 checkpoint and restore
ok 9 checkpoint --pre-dump and restore
not ok 10 checkpoint --lazy-pages and restore
# (in test file tests/integration/checkpoint.bats, line 196)
#   `[ "$status" -eq 1 ]' failed
# runc list (status=0):
# ID          PID         STATUS      BUNDLE      CREATED     OWNER
# runc spec (status=0):
#
# runc state test_busybox (status=0):
# {
#   "ociVersion": "1.0.1-dev",
#   "id": "test_busybox",
#   "pid": 10336,
#   "status": "running",
#   "bundle": "/tmp/busyboxtest",
#   "rootfs": "/tmp/busyboxtest/rootfs",
#   "created": "2019-06-06T06:58:29.691435658Z",
#   "owner": ""
# }
# runc list (status=0):
# ID             PID         STATUS      BUNDLE             CREATED                          OWNER
# test_busybox   10336       running     /tmp/busyboxtest   2019-06-06T06:58:29.691435658Z   root
# runc kill test_busybox KILL (status=0):
#
# runc delete test_busybox (status=0):
#
ok 11 checkpoint and restore in external network namespace
ok 12 checkpoint and restore with container specific CRIU config
(hang)

Ubuntu 19.04, kernel 5.0.0-16-generic #17-Ubuntu, runc a77c319

@thaJeztah
Copy link
Member

/cc @ehazlett @kolyshkin

@AkihiroSuda
Copy link
Member Author

@adrianreber PTAL?

@adrianreber
Copy link
Contributor

@AkihiroSuda I will have a look at it, but it will take a few days until I can try.

Does the same error happen if you run the test-suite outside of docker?

@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Jul 8, 2019

seems no longer reproducible (6cccc17, kernel 5.0.0-20-generic #21-Ubuntu) still fails intermittently

@AkihiroSuda
Copy link
Member Author

reproducible on debian 10 kernel 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants