opencontainers / opencontainers/runc
flake TestFreezeBeforeSet on CentOS 7 and 8
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 13.5k
- Forks
- 2.3k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 30
Description
Happened once in Cirrus CI (https://cirrus-ci.com/task/5418288451682304?logs=unit_tests#L549) while running CI for https://github.com/opencontainers/runc/pull/3512
=== RUN TestFreezeBeforeSet
=== RUN TestFreezeBeforeSet/slice,skip-devices
freeze_test.go:171: failed to write "0\n": write /sys/fs/cgroup/cpuset/system.slice/system-runc_test_freeze_1.slice/cpuset.mems: no such device
=== RUN TestFreezeBeforeSet/scope,skip-devices
=== RUN TestFreezeBeforeSet/slice,will-freeze
=== RUN TestFreezeBeforeSet/slice,pre-frozen,will-freeze
=== RUN TestFreezeBeforeSet/scope,pre-frozen,skip-devices
=== RUN TestFreezeBeforeSet/scope,pre-frozen
--- FAIL: TestFreezeBeforeSet (0.41s)
--- FAIL: TestFreezeBeforeSet/slice,skip-devices (0.06s)
--- PASS: TestFreezeBeforeSet/scope,skip-devices (0.07s)
--- PASS: TestFreezeBeforeSet/slice,will-freeze (0.07s)
--- PASS: TestFreezeBeforeSet/slice,pre-frozen,will-freeze (0.06s)
--- PASS: TestFreezeBeforeSet/scope,pre-frozen,skip-devices (0.09s)
--- PASS: TestFreezeBeforeSet/scope,pre-frozen (0.05s)
I've seen similar bugs but not this one. Filing just to ensure it's not lost.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with TestFreezeBeforeSet in freeze_test.go, especially the failure at line 171, and review the Cirrus CI task linked in the issue. Reproduce the failure on CentOS 7 or 8 and compare the slice and scope cases. Done means the intermittent cpuset.mems failure is explained and the test or its environment handling is reliably corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100