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

[CI] flaky test: integration_systemd_rootless #3941

Closed
lifubang opened this issue Jul 18, 2023 · 1 comment
Closed

[CI] flaky test: integration_systemd_rootless #3941

lifubang opened this issue Jul 18, 2023 · 1 comment
Labels

Comments

@lifubang
Copy link
Member

lifubang commented Jul 18, 2023

I saw it many times:

Cirrus CI / ci / centos-stream-9

❌ 01:10 integration_systemd_rootless

#
# runc run -d --console-socket /tmp/bats-run-yxEj3k/runc.ao265v/tty/sock test_update (status=0):
#
# runc update -r - test_update (status=1):
# time="2023-07-18T13:23:20Z" level=warning msg="Setting back cgroup configs failed due to error: rejecting memory limit 1024 <= usage 315392, your state.json and actual configs might be inconsistent."
# time="2023-07-18T13:23:20Z" level=error msg="rejecting memory limit 1024 <= usage 315392"
# runc state test_update (status=0):
# {
#   "ociVersion": "1.1.0-rc.3",
#   "id": "test_update",
#   "pid": 149409,
#   "status": "running",
#   "bundle": "/tmp/bats-run-yxEj3k/runc.ao265v/bundle",
#   "rootfs": "/tmp/bats-run-yxEj3k/runc.ao265v/bundle/rootfs",
#   "created": "2023-07-18T13:23:20.706413862Z",
#   "owner": ""
# }
# runc update -r - test_update (status=1):
# time="2023-07-18T13:23:20Z" level=warning msg="Setting back cgroup configs failed due to error: rejecting memory+swap limit 2048 <= usage 315392, your state.json and actual configs might be inconsistent."
# time="2023-07-18T13:23:20Z" level=error msg="rejecting memory+swap limit 2048 <= usage 315392"
# runc state test_update (status=0):
# {
#   "ociVersion": "1.1.0-rc.3",
#   "id": "test_update",
#   "pid": 149409,
#   "status": "running",
#   "bundle": "/tmp/bats-run-yxEj3k/runc.ao265v/bundle",
#   "rootfs": "/tmp/bats-run-yxEj3k/runc.ao265v/bundle/rootfs",
#   "created": "2023-07-18T13:23:20.706413862Z",
#   "owner": ""
# }
# runc update test_update --memory 1024 (status=0):
#
# runc state test_update (status=0):
# {
#   "ociVersion": "1.1.0-rc.3",
#   "id": "test_update",
#   "pid": 149409,
#   "status": "running",
#   "bundle": "/tmp/bats-run-yxEj3k/runc.ao265v/bundle",
#   "rootfs": "/tmp/bats-run-yxEj3k/runc.ao265v/bundle/rootfs",
#   "created": "2023-07-18T13:23:20.706413862Z",
#   "owner": ""
# }
ok 197 userns with simple mount
ok 198 userns with 2 inaccessible mounts
ok 199 userns with inaccessible mount + exec
ok 200 userns with bind mount before a cgroupfs mount # skip test requires cgroups_v1
ok 201 runc version
Connection to localhost closed.

make: *** [Makefile:131: localrootlessintegration] Error 1
make: Leaving directory '/home/runc'
Connection to localhost closed.

Exit status: 2
@kolyshkin
Copy link
Contributor

The log shown above does not tell the name of the test. I think this is

update memory vs CheckBeforeUpdate

and the problem was fixed by commit f88a765 (PR #3960).

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

2 participants