Hay
Date
May 12, 2025, 6:11 p.m.
Failure - kselftest-clone3 - clone3_clone3_cap_checkpoint_restore_global_clone3_cap_checkpoint_restore
FAILED: 0 / 1 tests passed.
Totals: pass:0 fail:1 xfail:0 xpass:0 skip:0 error:0
clone3_clone3_cap_checkpoint_restore_global_clone3_cap_checkpoint_restore fail
Failure - kselftest-clone3 - clone3_clone3_clear_sighand
exit=1timeout set to 45
selftests: clone3: clone3_set_tid
TAP version 13
1..29
# clone3() syscall supported
# /proc/sys/kernel/pid_max 32768
# [401] Trying clone3() with CLONE_SET_TID to 0 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 0 says: -22 - expected -22
ok 1 invalid size, 0 TID with 33 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to 0 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 0 says: -22 - expected -22
ok 2 invalid size, 0 TID with 64 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to 0 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 0 says: -22 - expected -22
ok 3 invalid size, 0 TID with 65 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to 0 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 0 says: -22 - expected -22
ok 4 invalid size, 0 TID with 1344 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to 0 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 0 says: -22 - expected -22
ok 5 invalid size, 0 TID with 31 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to -1 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID -1 says: -22 - expected -22
ok 6 invalid size, TID all 1s with 33 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to -1 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID -1 says: -22 - expected -22
ok 7 invalid size, TID all 1s with 64 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to -1 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID -1 says: -22 - expected -22
ok 8 invalid size, TID all 1s with 65 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to -1 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID -1 says: -22 - expected -22
ok 9 invalid size, TID all 1s with 1344 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to -1 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID -1 says: -22 - expected -22
ok 10 invalid size, TID all 1s with 31 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to 0 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 0 says: -22 - expected -22
ok 11 valid size, 0 TID with 1 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to -1 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID -1 says: -22 - expected -22
ok 12 valid size, -1 TID with 1 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to -1 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID -1 says: -22 - expected -22
ok 13 2 TIDs, -1 and 0 with 2 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to -1 and 0x20000000
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID -1 says: -22 - expected -22
ok 14 valid size, -1 TID with 1 TIDs and flags 0x20000000
# [401] Trying clone3() with CLONE_SET_TID to 1 and 0x0
# File exists - Failed to create new process
# [401] clone3() with CLONE_SET_TID 1 says: -17 - expected -17
ok 15 duplicate PID 1 with 1 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000
# I am the parent (401). My child's pid is 402
# I am the child, my PID is 1 (expected 1)
# [401] clone3() with CLONE_SET_TID 1 says: 0 - expected 0
ok 16 duplicate PID 1 with 1 TIDs and flags 0x20000000
# [401] Trying clone3() with CLONE_SET_TID to 32768 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 32768 says: -22 - expected -22
ok 17 set TID to maximum with 1 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to 32768 and 0x20000000
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 32768 says: -22 - expected -22
ok 18 set TID to maximum with 1 TIDs and flags 0x20000000
# Child has PID 403
# [401] Trying clone3() with CLONE_SET_TID to 403 and 0x0
# I am the parent (401). My child's pid is 403
# I am the child, my PID is 403 (expected 403)
# [401] clone3() with CLONE_SET_TID 403 says: 0 - expected 0
ok 19 reallocate child TID with 1 TIDs and flags 0x0
# [401] Trying clone3() with CLONE_SET_TID to 403 and 0x20000000
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 403 says: -22 - expected -22
ok 20 duplicate child TID with 1 TIDs and flags 0x20000000
# [401] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000
# I am the parent (401). My child's pid is 403
# I am the child, my PID is 1 (expected 1)
# [401] clone3() with CLONE_SET_TID 1 says: 0 - expected 0
ok 21 create PID 1 in new NS with 2 TIDs and flags 0x20000000
# unshare PID namespace
# [401] Trying clone3() with CLONE_SET_TID to 403 and 0x0
# Invalid argument - Failed to create new process
# [401] clone3() with CLONE_SET_TID 403 says: -22 - expected -22
ok 22 duplicate PID 1 with 1 TIDs and flags 0x0
# [1] Trying clone3() with CLONE_SET_TID to 43 and 0x0
# Invalid argument - Failed to create new process
# [1] clone3() with CLONE_SET_TID 43 says: -22 - expected -22
ok 23 check leak on invalid TID -1 with 2 TIDs and flags 0x0
# [1] Trying clone3() with CLONE_SET_TID to 43 and 0x0
# I am the parent (1). My child's pid is 43
# I am the child, my PID is 43 (expected 43)
# [1] clone3() with CLONE_SET_TID 43 says: 0 - expected 0
ok 24 check leak on invalid specific TID with 2 TIDs and flags 0x0
# Child in PID namespace has PID 1
# [1] Trying clone3() with CLONE_SET_TID to 2 and 0x0
# I am the parent (1). My child's pid is 2
# I am the child, my PID is 2 (expected 2)
# [1] clone3() with CLONE_SET_TID 2 says: 0 - expected 0
ok 25 create PID 2 in child NS with 1 TIDs and flags 0x0
# [1] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000
# Invalid argument - Failed to create new process
# [1] clone3() with CLONE_SET_TID 1 says: -22 - expected -22
ok 26 fail due to invalid TID at level 1 with 3 TIDs and flags 0x20000000
# [1] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000
# Invalid argument - Failed to create new process
# [1] clone3() with CLONE_SET_TID 1 says: -22 - expected -22
ok 27 fail due to too few active PID NSs with 4 TIDs and flags 0x20000000
# [1] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000
# I am the parent (1). My child's pid is 42
# I am the child, my PID is 1 (expected 1)
# [1] Child is ready and waiting
# [401] Child is ready and waiting
# [1] clone3() with CLONE_SET_TID 1 says: 0 - expected 0
ok 28 verify that we have 3 PID NSs with 3 TIDs and flags 0x20000000
# Expecting PIDs 403, 42, 1
# Have PIDs in namespaces: 403, 42, 1
ok 29 PIDs in all namespaces as expected
# Totals: pass:29 fail:0 xfail:0 xpass:0 skip:0 error:0
clone3_clone3_clear_sighand fail
Failure - kselftest-clone3 - clone3_clone3_cap_checkpoint_restore KNOWN ISSUE - selftests: clone3: clone3_cap_checkpoint_restore
clone3_clone3_cap_checkpoint_restore_global_clone3_cap_checkpoint_restore fail
clone3_clone3_cap_checkpoint_restore fail