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.54 [+0.00] payload:a delay:6289 expected:0 (us) # 1.54 [+0.00] exceeds variance (4000 us) # 1.79 [+0.25] # 1.79 [+0.00] SO_TXTIME ipv6 clock monotonic # 1.79 [+0.00] payload:a delay:4690 expected:0 (us) # 1.80 [+0.00] exceeds variance (4000 us) # 2.06 [+0.27] # 2.07 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.08 [+0.01] payload:a delay:10566 expected:10000 (us) # 2.35 [+0.27] # 2.36 [+0.01] SO_TXTIME ipv4 clock monotonic # 2.36 [+0.00] payload:a delay:16204 expected:10000 (us) # 2.36 [+0.00] exceeds variance (4000 us) # 2.37 [+0.01] payload:b delay:26000 expected:20000 (us) # 2.37 [+0.00] exceeds variance (4000 us) # 2.62 [+0.25] # 2.62 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.65 [+0.02] payload:b delay:4772 expected:20000 (us) # 2.65 [+0.00] exceeds variance (4000 us) # 2.65 [+0.00] payload:a delay:5668 expected:20000 (us) # 2.65 [+0.00] exceeds variance (4000 us) # 3.19 [+0.53] # 3.19 [+0.00] SO_TXTIME ipv4 clock tai # 3.19 [+0.00] send: pkt a at -1734496745182ms dropped: invalid txtime # 3.29 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.45 [+0.16] # 3.45 [+0.00] SO_TXTIME ipv6 clock tai # 3.45 [+0.00] send: pkt a at 0ms dropped: invalid txtime # 3.57 [+0.12] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.74 [+0.17] # 3.75 [+0.00] SO_TXTIME ipv6 clock tai # 3.75 [+0.01] payload:a delay:10484 expected:10000 (us) # 4.01 [+0.26] # 4.01 [+0.00] SO_TXTIME ipv4 clock tai # 4.02 [+0.01] payload:a delay:9878 expected:10000 (us) # 4.03 [+0.01] payload:b delay:19815 expected:20000 (us) # 4.29 [+0.26] # 4.29 [+0.00] SO_TXTIME ipv6 clock tai # 4.30 [+0.01] payload:b delay:9841 expected:10000 (us) # 4.31 [+0.01] payload:a delay:19800 expected:20000 (us) # 4.42 [+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__->