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.34 [+1.34] # 1.34 [+0.00] SO_TXTIME ipv4 clock monotonic # 1.34 [+0.00] payload:a delay:998 expected:0 (us) # 1.60 [+0.26] # 1.60 [+0.00] SO_TXTIME ipv6 clock monotonic # 1.60 [+0.00] payload:a delay:767 expected:0 (us) # 1.86 [+0.26] # 1.86 [+0.00] SO_TXTIME ipv6 clock monotonic # 1.87 [+0.01] payload:a delay:9481 expected:10000 (us) # 2.11 [+0.24] # 2.11 [+0.00] SO_TXTIME ipv4 clock monotonic # 2.12 [+0.01] payload:a delay:10742 expected:10000 (us) # 2.13 [+0.01] payload:b delay:20291 expected:20000 (us) # 2.37 [+0.24] # 2.37 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.39 [+0.02] payload:b delay:14900 expected:20000 (us) # 2.39 [+0.00] exceeds variance (4000 us) # 2.39 [+0.00] payload:a delay:14988 expected:20000 (us) # 2.40 [+0.00] exceeds variance (4000 us) # 2.87 [+0.47] # 2.87 [+0.00] SO_TXTIME ipv4 clock tai # 2.87 [+0.00] send: pkt a at -1743481090583ms dropped: invalid txtime # 2.97 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.12 [+0.14] # 3.12 [+0.00] SO_TXTIME ipv6 clock tai # 3.12 [+0.00] send: pkt a at 0ms dropped: invalid txtime # 3.22 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.36 [+0.14] # 3.36 [+0.00] SO_TXTIME ipv6 clock tai # 3.37 [+0.01] payload:a delay:15180 expected:10000 (us) # 3.37 [+0.00] exceeds variance (4000 us) # 3.63 [+0.26] # 3.63 [+0.00] SO_TXTIME ipv4 clock tai # 3.64 [+0.01] payload:a delay:21815 expected:10000 (us) # 3.65 [+0.00] exceeds variance (4000 us) # 3.65 [+0.01] payload:b delay:31596 expected:20000 (us) # 3.66 [+0.00] exceeds variance (4000 us) # 3.90 [+0.25] # 3.90 [+0.00] SO_TXTIME ipv6 clock tai # 3.91 [+0.01] payload:b delay:9654 expected:10000 (us) # 3.92 [+0.01] payload:a delay:19045 expected:20000 (us) # 4.03 [+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__->