Project

General

Profile

Actions

action #168061

closed

test fails in runc-user_tap: not ok 259 update cgroup cpu.idle via systemd v252+

Added by dimstar 17 days ago. Updated 6 days ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2024-10-10
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

Looking at https://openqa.opensuse.org/tests/4547412#next_previous this test has newly appeared and never worked

not ok 259 update cgroup cpu.idle via systemd v252+

(from function `check_cgroup_value' in file tests/integration/helpers.bash, line 271,

in test file tests/integration/update.bats, line 514)

`check_cgroup_value "cpu.idle" "0"' failed

runc spec --rootless (status=0):

#

runc run -d --console-socket /tmp/bats-run-nJ2PUA/runc.zqYEnY/tty/sock test_update (status=0):

#

cpu.idle: got 0, want 0

runc update --cpu-share 200 --cpu-idle 1 test_update (status=1):

time="2024-10-10T00:25:14-04:00" level=warning msg="unable to apply both CPUWeight and CpuIdle to systemd, ignoring CPUWeight"

time="2024-10-10T00:25:14-04:00" level=warning msg="unable to apply both CPUWeight and CpuIdle to systemd, ignoring CPUWeight"

time="2024-10-10T00:25:14-04:00" level=warning msg="Setting back cgroup configs failed due to error: failed to write \"8\": write /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/machine.slice/runc-cgroups-integration-test-18972.scope/cpu.weight: invalid argument, your state.json and actual configs might be inconsistent."

time="2024-10-10T00:25:14-04:00" level=error msg="failed to write \"8\": write /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/machine.slice/runc-cgroups-integration-test-18972.scope/cpu.weight: invalid argument"

cpu.idle: got 1, want 1

runc update --cpu-share 200 test_update (status=1):

time="2024-10-10T00:25:14-04:00" level=warning msg="Setting back cgroup configs failed due to error: failed to write \"8\": write /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/machine.slice/runc-cgroups-integration-test-18972.scope/cpu.weight: invalid argument, your state.json and actual configs might be inconsistent."

time="2024-10-10T00:25:14-04:00" level=error msg="failed to write \"8\": write /sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/machine.slice/runc-cgroups-integration-test-18972.scope/cpu.weight: invalid argument"

cpu.idle: got 1, want 0

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-containers_host_bats_testsuite@64bit fails in
runc-user_tap

Test suite description

Maintainer: qe-c@suse.de https://confluence.suse.com/display/qasle/podman+upstream+tests

Reproducible

Fails since (at least) Build 20241008

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by rbranco 10 days ago

  • Assignee set to rbranco
Actions #2

Updated by rbranco 10 days ago

  • Status changed from New to In Progress
Actions #3

Updated by rbranco 6 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF