make -C tools/testing/selftests TARGETS="net" TEST_PROGS=so_txtime.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: so_txtime.sh # 1.53 [+1.53] # 1.53 [+0.00] SO_TXTIME ipv4 clock monotonic # 1.53 [+0.00] payload:a delay:2055 expected:0 (us) # 1.80 [+0.26] # 1.80 [+0.00] SO_TXTIME ipv6 clock monotonic # 1.80 [+0.00] payload:a delay:2499 expected:0 (us) # 2.06 [+0.26] # 2.06 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.07 [+0.01] payload:a delay:10467 expected:10000 (us) # 2.34 [+0.27] # 2.34 [+0.00] SO_TXTIME ipv4 clock monotonic # 2.35 [+0.01] payload:a delay:20300 expected:10000 (us) # 2.35 [+0.00] exceeds variance (4000 us) # 2.36 [+0.01] payload:b delay:30169 expected:20000 (us) # 2.36 [+0.00] exceeds variance (4000 us) # 2.64 [+0.28] # 2.65 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.67 [+0.02] payload:b delay:20168 expected:20000 (us) # 2.67 [+0.00] payload:a delay:20292 expected:20000 (us) # 3.20 [+0.53] # 3.20 [+0.00] SO_TXTIME ipv4 clock tai # 3.20 [+0.00] send: pkt a at -1740534362151ms dropped: invalid txtime # 3.33 [+0.13] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.54 [+0.20] # 3.54 [+0.00] SO_TXTIME ipv6 clock tai # 3.54 [+0.00] send: pkt a at 0ms dropped: invalid txtime # 3.64 [+0.11] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.84 [+0.20] # 3.84 [+0.00] SO_TXTIME ipv6 clock tai # 3.85 [+0.01] payload:a delay:9788 expected:10000 (us) # 4.15 [+0.30] # 4.15 [+0.00] SO_TXTIME ipv4 clock tai # 4.16 [+0.01] payload:a delay:9870 expected:10000 (us) # 4.17 [+0.01] payload:b delay:19692 expected:20000 (us) # 4.47 [+0.30] # 4.47 [+0.00] SO_TXTIME ipv6 clock tai # 4.48 [+0.01] payload:b delay:9677 expected:10000 (us) # 4.49 [+0.01] payload:a delay:19825 expected:20000 (us) # 4.60 [+0.11] OK. All tests passed ok 1 selftests: net: so_txtime.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak unreferenced object 0xffff888005d85f00 (size 256): comm "ip", pid 435, jiffies 4294683793 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): __kmalloc_node_noprof+0x35d/0x4a0 fib4_semantics_init+0x25/0xf0 fib_net_init+0x17e/0x340 ops_init+0x189/0x550 setup_net+0x189/0x750 copy_net_ns+0x238/0x4b0 create_new_namespaces+0x35f/0x920 unshare_nsproxy_namespaces+0x8a/0x1b0 ksys_unshare+0x2c4/0x6e0 __x64_sys_unshare+0x31/0x40 do_syscall_64+0xc1/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f unreferenced object 0xffff88800de97100 (size 256): comm "ip", pid 436, jiffies 4294683906 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): __kmalloc_node_noprof+0x35d/0x4a0 DETECTED CRASH, lowering timeout fib4_semantics_init+0x25/0xf0 fib_net_init+0x17e/0x340 ops_init+0x189/0x550 setup_net+0x189/0x750 copy_net_ns+0x238/0x4b0 create_new_namespaces+0x35f/0x920 unshare_nsproxy_namespaces+0x8a/0x1b0 ksys_unshare+0x2c4/0x6e0 __x64_sys_unshare+0x31/0x40 do_syscall_64+0xc1/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f xx__->