Date
June 17, 2025, 3:39 p.m.
Environment | |
---|---|
qemu-armv7 | |
qemu-i386 |
<8>[ 44.637488] <LAVA_SIGNAL_STARTTC 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 # [424] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 1 invalid size, 0 TID with 33 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 2 invalid size, 0 TID with 64 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 3 invalid size, 0 TID with 65 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 4 invalid size, 0 TID with 1344 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 5 invalid size, 0 TID with 31 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 6 invalid size, TID all 1s with 33 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 7 invalid size, TID all 1s with 64 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 8 invalid size, TID all 1s with 65 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 9 invalid size, TID all 1s with 1344 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 10 invalid size, TID all 1s with 31 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 11 valid size, 0 TID with 1 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 12 valid size, -1 TID with 1 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 13 2 TIDs, -1 and 0 with 2 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to -1 and 0x20000000 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 14 valid size, -1 TID with 1 TIDs and flags 0x20000000 # [424] Trying clone3() with CLONE_SET_TID to 1 and 0x0 # File exists - Failed to create new process # [424] clone3() with CLONE_SET_TID 1 says: -17 - expected -17 ok 15 duplicate PID 1 with 1 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000 # I am the parent (424). My child's pid is 425 # I am the child, my PID is 1 (expected 1) # [424] clone3() with CLONE_SET_TID 1 says: 0 - expected 0 ok 16 duplicate PID 1 with 1 TIDs and flags 0x20000000 # [424] Trying clone3() with CLONE_SET_TID to 32768 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 32768 says: -22 - expected -22 ok 17 set TID to maximum with 1 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to 32768 and 0x20000000 # Invalid argument - Failed to create new process # [424] 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 426 # [424] Trying clone3() with CLONE_SET_TID to 426 and 0x0 # I am the parent (424). My child's pid is 426 # I am the child, my PID is 426 (expected 426) # [424] clone3() with CLONE_SET_TID 426 says: 0 - expected 0 ok 19 reallocate child TID with 1 TIDs and flags 0x0 # [424] Trying clone3() with CLONE_SET_TID to 426 and 0x20000000 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 426 says: -22 - expected -22 ok 20 duplicate child TID with 1 TIDs and flags 0x20000000 # [424] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000 # I am the child, my PID is 1 (expected 1) # I am the parent (424). My child's pid is 426 # [424] 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 # [424] Trying clone3() with CLONE_SET_TID to 426 and 0x0 # Invalid argument - Failed to create new process # [424] clone3() with CLONE_SET_TID 426 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 # [424] 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 426, 42, 1 # Have PIDs in namespaces: 426, 42, 1 ok 29 PIDs in all namespaces as expected # Totals: pass:29 fail:0 xfail:0 xpass:0 skip:0 error:0 <8>[ 44.698605] <LAVA_SIGNAL_ENDTC clone3_clone3_clear_sighand> clone3_clone3_clear_sighand fail
<8>[ 42.837040] <LAVA_SIGNAL_STARTTC 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 # [425] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 1 invalid size, 0 TID with 33 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 2 invalid size, 0 TID with 64 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 3 invalid size, 0 TID with 65 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 4 invalid size, 0 TID with 1344 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 5 invalid size, 0 TID with 31 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 6 invalid size, TID all 1s with 33 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 7 invalid size, TID all 1s with 64 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 8 invalid size, TID all 1s with 65 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 9 invalid size, TID all 1s with 1344 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 10 invalid size, TID all 1s with 31 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 11 valid size, 0 TID with 1 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 12 valid size, -1 TID with 1 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 13 2 TIDs, -1 and 0 with 2 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to -1 and 0x20000000 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 14 valid size, -1 TID with 1 TIDs and flags 0x20000000 # [425] Trying clone3() with CLONE_SET_TID to 1 and 0x0 # File exists - Failed to create new process # [425] clone3() with CLONE_SET_TID 1 says: -17 - expected -17 ok 15 duplicate PID 1 with 1 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000 # I am the parent (425). My child's pid is 426 # I am the child, my PID is 1 (expected 1) # [425] clone3() with CLONE_SET_TID 1 says: 0 - expected 0 ok 16 duplicate PID 1 with 1 TIDs and flags 0x20000000 # [425] Trying clone3() with CLONE_SET_TID to 32768 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 32768 says: -22 - expected -22 ok 17 set TID to maximum with 1 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to 32768 and 0x20000000 # Invalid argument - Failed to create new process # [425] 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 427 # [425] Trying clone3() with CLONE_SET_TID to 427 and 0x0 # I am the parent (425). My child's pid is 427 # I am the child, my PID is 427 (expected 427) # [425] clone3() with CLONE_SET_TID 427 says: 0 - expected 0 ok 19 reallocate child TID with 1 TIDs and flags 0x0 # [425] Trying clone3() with CLONE_SET_TID to 427 and 0x20000000 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 427 says: -22 - expected -22 ok 20 duplicate child TID with 1 TIDs and flags 0x20000000 # [425] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000 # I am the parent (425). My child's pid is 427 # I am the child, my PID is 1 (expected 1) # [425] 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 # [425] Trying clone3() with CLONE_SET_TID to 427 and 0x0 # Invalid argument - Failed to create new process # [425] clone3() with CLONE_SET_TID 427 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 # [425] 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 427, 42, 1 # Have PIDs in namespaces: 427, 42, 1 ok 29 PIDs in all namespaces as expected # Totals: pass:29 fail:0 xfail:0 xpass:0 skip:0 error:0 <8>[ 42.891002] <LAVA_SIGNAL_ENDTC clone3_clone3_clear_sighand> clone3_clone3_clear_sighand fail
<8>[ 29.372093] <LAVA_SIGNAL_STARTTC 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 # [412] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 1 invalid size, 0 TID with 33 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 2 invalid size, 0 TID with 64 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 3 invalid size, 0 TID with 65 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 4 invalid size, 0 TID with 1344 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 5 invalid size, 0 TID with 31 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 6 invalid size, TID all 1s with 33 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 7 invalid size, TID all 1s with 64 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 8 invalid size, TID all 1s with 65 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 9 invalid size, TID all 1s with 1344 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 10 invalid size, TID all 1s with 31 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 11 valid size, 0 TID with 1 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 12 valid size, -1 TID with 1 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 13 2 TIDs, -1 and 0 with 2 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to -1 and 0x20000000 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 14 valid size, -1 TID with 1 TIDs and flags 0x20000000 # [412] Trying clone3() with CLONE_SET_TID to 1 and 0x0 # File exists - Failed to create new process # [412] clone3() with CLONE_SET_TID 1 says: -17 - expected -17 ok 15 duplicate PID 1 with 1 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000 # I am the parent (412). My child's pid is 413 # I am the child, my PID is 1 (expected 1) # [412] clone3() with CLONE_SET_TID 1 says: 0 - expected 0 ok 16 duplicate PID 1 with 1 TIDs and flags 0x20000000 # [412] Trying clone3() with CLONE_SET_TID to 32768 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 32768 says: -22 - expected -22 ok 17 set TID to maximum with 1 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to 32768 and 0x20000000 # Invalid argument - Failed to create new process # [412] 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 414 # [412] Trying clone3() with CLONE_SET_TID to 414 and 0x0 # I am the parent (412). My child's pid is 414 # I am the child, my PID is 414 (expected 414) # [412] clone3() with CLONE_SET_TID 414 says: 0 - expected 0 ok 19 reallocate child TID with 1 TIDs and flags 0x0 # [412] Trying clone3() with CLONE_SET_TID to 414 and 0x20000000 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 414 says: -22 - expected -22 ok 20 duplicate child TID with 1 TIDs and flags 0x20000000 # [412] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000 # I am the parent (412). My child's pid is 414 # I am the child, my PID is 1 (expected 1) # [412] 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 # [412] Trying clone3() with CLONE_SET_TID to 414 and 0x0 # Invalid argument - Failed to create new process # [412] clone3() with CLONE_SET_TID 414 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 # [412] 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 414, 42, 1 # Have PIDs in namespaces: 414, 42, 1 ok 29 PIDs in all namespaces as expected # Totals: pass:29 fail:0 xfail:0 xpass:0 skip:0 error:0 <8>[ 29.429220] <LAVA_SIGNAL_ENDTC clone3_clone3_clear_sighand> clone3_clone3_clear_sighand fail
<8>[ 29.600376] <LAVA_SIGNAL_STARTTC 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 # [410] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 1 invalid size, 0 TID with 33 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 2 invalid size, 0 TID with 64 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 3 invalid size, 0 TID with 65 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 4 invalid size, 0 TID with 1344 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 5 invalid size, 0 TID with 31 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 6 invalid size, TID all 1s with 33 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 7 invalid size, TID all 1s with 64 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 8 invalid size, TID all 1s with 65 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 9 invalid size, TID all 1s with 1344 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 10 invalid size, TID all 1s with 31 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to 0 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 0 says: -22 - expected -22 ok 11 valid size, 0 TID with 1 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 12 valid size, -1 TID with 1 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to -1 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 13 2 TIDs, -1 and 0 with 2 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to -1 and 0x20000000 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID -1 says: -22 - expected -22 ok 14 valid size, -1 TID with 1 TIDs and flags 0x20000000 # [410] Trying clone3() with CLONE_SET_TID to 1 and 0x0 # File exists - Failed to create new process # [410] clone3() with CLONE_SET_TID 1 says: -17 - expected -17 ok 15 duplicate PID 1 with 1 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000 # I am the parent (410). My child's pid is 411 # I am the child, my PID is 1 (expected 1) # [410] clone3() with CLONE_SET_TID 1 says: 0 - expected 0 ok 16 duplicate PID 1 with 1 TIDs and flags 0x20000000 # [410] Trying clone3() with CLONE_SET_TID to 32768 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 32768 says: -22 - expected -22 ok 17 set TID to maximum with 1 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to 32768 and 0x20000000 # Invalid argument - Failed to create new process # [410] 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 412 # [410] Trying clone3() with CLONE_SET_TID to 412 and 0x0 # I am the parent (410). My child's pid is 412 # I am the child, my PID is 412 (expected 412) # [410] clone3() with CLONE_SET_TID 412 says: 0 - expected 0 ok 19 reallocate child TID with 1 TIDs and flags 0x0 # [410] Trying clone3() with CLONE_SET_TID to 412 and 0x20000000 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 412 says: -22 - expected -22 ok 20 duplicate child TID with 1 TIDs and flags 0x20000000 # [410] Trying clone3() with CLONE_SET_TID to 1 and 0x20000000 # I am the parent (410). My child's pid is 412 # I am the child, my PID is 1 (expected 1) # [410] 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 # [410] Trying clone3() with CLONE_SET_TID to 412 and 0x0 # Invalid argument - Failed to create new process # [410] clone3() with CLONE_SET_TID 412 says: -22 - expected -22 ok 22 duplicate PID 1 with 1 TIDs and flags 0x0 # [1] Trying clone3() with CLONE_SET_TID to 43 <8>[ 29.636458] <LAVA_SIGNAL_ENDTC clone3_clone3_clear_sighand> clone3_clone3_clear_sighand fail