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

[centos7] not ok 76 runc start #2861

Open
kolyshkin opened this issue Mar 18, 2021 · 1 comment
Open

[centos7] not ok 76 runc start #2861

kolyshkin opened this issue Mar 18, 2021 · 1 comment
Labels

Comments

@kolyshkin
Copy link
Contributor

The following failure happened on GHA under CentOS 7 (from https://github.com/opencontainers/runc/pull/2852/checks?check_run_id=2134946430):

not ok 76 runc start
# (in test file tests/integration/start.bats, line 29)
#   `[ "$status" -ne 0 ]' failed
# runc spec (status=0):
# 
# runc create --console-socket /tmp/bats-run-20084/runc.S5XyCu/tty/sock test_busybox (status=0):
# 
# runc state test_busybox (status=0):
# {
#   "ociVersion": "1.0.2-dev",
#   "id": "test_busybox",
#   "pid": 28323,
#   "status": "created",
#   "bundle": "/tmp/bats-run-20084/runc.S5XyCu/bundle",
#   "rootfs": "/tmp/bats-run-20084/runc.S5XyCu/bundle/rootfs",
#   "created": "2021-03-17T22:05:39.428887171Z",
#   "owner": ""
# }
# runc start test_busybox (status=0):
# 
# runc state test_busybox (status=0):
# {
#   "ociVersion": "1.0.2-dev",
#   "id": "test_busybox",
#   "pid": 28323,
#   "status": "running",
#   "bundle": "/tmp/bats-run-20084/runc.S5XyCu/bundle",
#   "rootfs": "/tmp/bats-run-20084/runc.S5XyCu/bundle/rootfs",
#   "created": "2021-03-17T22:05:39.428887171Z",
#   "owner": ""
# }
# runc delete --force test_busybox (status=1):
# time="2021-03-17T22:05:54Z" level=error msg="container init still running"
# runc state test_busybox (status=0):
# {
#   "ociVersion": "1.0.2-dev",
#   "id": "test_busybox",
#   "pid": 28323,
#   "status": "running",
#   "bundle": "/tmp/bats-run-20084/runc.S5XyCu/bundle",
#   "rootfs": "/tmp/bats-run-20084/runc.S5XyCu/bundle/rootfs",
#   "created": "2021-03-17T22:05:39.428887171Z",
#   "owner": ""
# }

Looking at the code, I can't imagine how this may happen, and yet I see a few minor issues which need attention.

@kolyshkin
Copy link
Contributor Author

Got another one, from https://github.com/opencontainers/runc/pull/2871/checks?check_run_id=2193862445

not ok 77 runc start
# (in test file tests/integration/start.bats, line 29)
#   `[ "$status" -ne 0 ]' failed
# runc spec (status=0):
# 
# runc create --console-socket /tmp/bats-run-7671/runc.JILTwc/tty/sock test_busybox (status=0):
# 
# runc state test_busybox (status=0):
# {
#   "ociVersion": "1.0.2-dev",
#   "id": "test_busybox",
#   "pid": 16389,
#   "status": "created",
#   "bundle": "/tmp/bats-run-7671/runc.JILTwc/bundle",
#   "rootfs": "/tmp/bats-run-7671/runc.JILTwc/bundle/rootfs",
#   "created": "2021-03-25T14:20:01.223686332Z",
#   "owner": ""
# }
# runc start test_busybox (status=0):
# 
# runc state test_busybox (status=0):
# {
#   "ociVersion": "1.0.2-dev",
#   "id": "test_busybox",
#   "pid": 16389,
#   "status": "running",
#   "bundle": "/tmp/bats-run-7671/runc.JILTwc/bundle",
#   "rootfs": "/tmp/bats-run-7671/runc.JILTwc/bundle/rootfs",
#   "created": "2021-03-25T14:20:01.223686332Z",
#   "owner": ""
# }
# runc delete --force test_busybox (status=1):
# time="2021-03-25T14:20:14Z" level=error msg="container init still running"
# runc state test_busybox (status=0):
# {
#   "ociVersion": "1.0.2-dev",
#   "id": "test_busybox",
#   "pid": 16389,
#   "status": "running",
#   "bundle": "/tmp/bats-run-7671/runc.JILTwc/bundle",
#   "rootfs": "/tmp/bats-run-7671/runc.JILTwc/bundle/rootfs",
#   "created": "2021-03-25T14:20:01.223686332Z",
#   "owner": ""
# }

@kolyshkin kolyshkin changed the title not ok 76 runc start [centos7] not ok 76 runc start Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant