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.99 [+1.99] # 1.99 [+0.00] SO_TXTIME ipv4 clock monotonic # 1.99 [+0.00] payload:a delay:10643 expected:0 (us) # 1.99 [+0.00] exceeds variance (4000 us) # 2.31 [+0.32] # 2.31 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.31 [+0.00] payload:a delay:2204 expected:0 (us) # 2.63 [+0.32] # 2.63 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.64 [+0.01] payload:a delay:9860 expected:10000 (us) # 2.95 [+0.31] # 2.95 [+0.00] SO_TXTIME ipv4 clock monotonic # 2.96 [+0.01] payload:a delay:10505 expected:10000 (us) # 2.97 [+0.01] payload:b delay:20363 expected:20000 (us) # 3.31 [+0.33] # 3.31 [+0.00] SO_TXTIME ipv6 clock monotonic # 3.33 [+0.02] payload:b delay:36765 expected:20000 (us) # 3.33 [+0.00] exceeds variance (4000 us) # 3.33 [+0.00] payload:a delay:36927 expected:20000 (us) # 3.33 [+0.00] exceeds variance (4000 us) # 4.02 [+0.69] # 4.02 [+0.00] SO_TXTIME ipv4 clock tai # 4.02 [+0.00] send: pkt a at -1743838986438ms dropped: invalid txtime # 4.11 [+0.09] ./so_txtime: recv: timeout: Resource temporarily unavailable # 4.32 [+0.21] # 4.32 [+0.00] SO_TXTIME ipv6 clock tai # 4.32 [+0.00] send: pkt a at 0ms dropped: invalid txtime # 4.44 [+0.12] ./so_txtime: recv: timeout: Resource temporarily unavailable # 4.66 [+0.23] # 4.67 [+0.00] SO_TXTIME ipv6 clock tai # 4.68 [+0.01] payload:a delay:9492 expected:10000 (us) # 5.00 [+0.32] # 5.00 [+0.00] SO_TXTIME ipv4 clock tai # 5.01 [+0.01] payload:a delay:33996 expected:10000 (us) # 5.01 [+0.00] exceeds variance (4000 us) # 5.02 [+0.01] payload:b delay:43813 expected:20000 (us) # 5.02 [+0.00] exceeds variance (4000 us) # 5.34 [+0.32] # 5.35 [+0.00] SO_TXTIME ipv6 clock tai # 5.35 [+0.01] payload:b delay:9985 expected:10000 (us) # 5.36 [+0.01] payload:a delay:19990 expected:20000 (us) # 5.47 [+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 xx__->