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.54 [+1.54] # 1.54 [+0.00] SO_TXTIME ipv4 clock monotonic # 1.55 [+0.00] payload:a delay:1431 expected:0 (us) # 1.80 [+0.25] # 1.80 [+0.00] SO_TXTIME ipv6 clock monotonic # 1.80 [+0.00] payload:a delay:2334 expected:0 (us) # 2.06 [+0.26] # 2.06 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.07 [+0.01] payload:a delay:9833 expected:10000 (us) # 2.34 [+0.26] # 2.34 [+0.00] SO_TXTIME ipv4 clock monotonic # 2.35 [+0.01] payload:a delay:10818 expected:10000 (us) # 2.36 [+0.01] payload:b delay:20638 expected:20000 (us) # 2.61 [+0.25] # 2.61 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.63 [+0.02] payload:b delay:20234 expected:20000 (us) # 2.63 [+0.00] payload:a delay:20331 expected:20000 (us) # 3.17 [+0.54] # 3.17 [+0.00] SO_TXTIME ipv4 clock tai # 3.17 [+0.00] send: pkt a at -1736807174161ms dropped: invalid txtime # 3.27 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.41 [+0.14] # 3.42 [+0.00] SO_TXTIME ipv6 clock tai # 3.42 [+0.00] send: pkt a at 0ms dropped: invalid txtime # 3.54 [+0.12] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.71 [+0.18] # 3.71 [+0.00] SO_TXTIME ipv6 clock tai # 3.72 [+0.01] payload:a delay:8479 expected:10000 (us) # 3.99 [+0.26] # 3.99 [+0.00] SO_TXTIME ipv4 clock tai # 4.00 [+0.01] payload:a delay:12053 expected:10000 (us) # 4.01 [+0.01] payload:b delay:21866 expected:20000 (us) # 4.27 [+0.27] # 4.28 [+0.00] SO_TXTIME ipv6 clock tai # 4.28 [+0.01] payload:b delay:9926 expected:10000 (us) # 4.30 [+0.01] payload:a delay:20016 expected:20000 (us) # 4.40 [+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__->