opencontainers / opencontainers/runc
TestCheckpoint and TestUsernsCheckpoint are failing on centos-stream-9 (Segmentation fault)
Open
Nobody has claimed this yet.
area/checkpoint-restore
area/ci
- Dominant language
- Go
- Stars
- 13.5k
- Forks
- 2.3k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 30
Description
https://cirrus-ci.com/task/4890404691640320?logs=unit_tests#L1358
checkpoint_test.go:163: (00.023368) pie: 1: restoring lsm profile (current) unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
checkpoint_test.go:163: (00.023421) Error (criu/cr-restore.c:1510): 65440 stopped by signal 11: Segmentation fault
checkpoint_test.go:163: (00.023704) mnt: Switching to new ns to clean ghosts
checkpoint_test.go:163: (00.023809) Error (criu/cr-restore.c:2536): Restoring FAILED.
checkpoint_test.go:163: === END ===
checkpoint_test.go:164: criu failed: type NOTIFY errno 0
log file: /tmp/TestCheckpoint1076343382/003/criu/restore.log
--- FAIL: TestCheckpoint (0.33s)
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 checkpoint_test.go around line 163 and the linked Cirrus CI unit-test log for the TestCheckpoint failure; inspect the reported CRIU restore log at /tmp/TestCheckpoint1076343382/003/criu/restore.log. Reproduce both TestCheckpoint and TestUsernsCheckpoint on centos-stream-9, then verify that checkpoint restoration no longer segfaults and the tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- operating-systems, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100