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.43 [+1.43] # 1.43 [+0.00] SO_TXTIME ipv4 clock monotonic # 1.43 [+0.00] payload:a delay:4608 expected:0 (us) # 1.44 [+0.00] exceeds variance (4000 us) # 1.69 [+0.25] # 1.69 [+0.00] SO_TXTIME ipv6 clock monotonic # 1.69 [+0.00] payload:a delay:2081 expected:0 (us) # 1.95 [+0.26] # 1.95 [+0.00] SO_TXTIME ipv6 clock monotonic # 1.96 [+0.01] payload:a delay:10317 expected:10000 (us) # 2.21 [+0.25] # 2.22 [+0.00] SO_TXTIME ipv4 clock monotonic # 2.22 [+0.01] payload:a delay:10229 expected:10000 (us) # 2.23 [+0.01] payload:b delay:20081 expected:20000 (us) # 2.50 [+0.26] # 2.50 [+0.01] SO_TXTIME ipv6 clock monotonic # 2.52 [+0.02] payload:b delay:9881 expected:20000 (us) # 2.52 [+0.00] exceeds variance (4000 us) # 2.52 [+0.00] payload:a delay:9971 expected:20000 (us) # 2.52 [+0.00] exceeds variance (4000 us) # 3.05 [+0.53] # 3.05 [+0.00] SO_TXTIME ipv4 clock tai # 3.05 [+0.00] send: pkt a at -1735986245756ms dropped: invalid txtime # 3.15 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.31 [+0.16] # 3.31 [+0.00] SO_TXTIME ipv6 clock tai # 3.31 [+0.00] send: pkt a at 0ms dropped: invalid txtime # 3.42 [+0.11] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.57 [+0.16] # 3.58 [+0.00] SO_TXTIME ipv6 clock tai # 3.59 [+0.01] payload:a delay:9811 expected:10000 (us) # 3.84 [+0.26] # 3.85 [+0.00] SO_TXTIME ipv4 clock tai # 3.86 [+0.01] payload:a delay:23222 expected:10000 (us) # 3.86 [+0.00] exceeds variance (4000 us) # 3.87 [+0.01] payload:b delay:33084 expected:20000 (us) # 3.87 [+0.00] exceeds variance (4000 us) # 4.13 [+0.26] # 4.13 [+0.00] SO_TXTIME ipv6 clock tai # 4.14 [+0.01] payload:b delay:11260 expected:10000 (us) # 4.15 [+0.01] payload:a delay:21008 expected:20000 (us) # 4.25 [+0.10] 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__->