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.63 [+1.63] # 1.63 [+0.00] SO_TXTIME ipv4 clock monotonic # 1.64 [+0.00] payload:a delay:1612 expected:0 (us) # 1.92 [+0.28] # 1.92 [+0.00] SO_TXTIME ipv6 clock monotonic # 1.92 [+0.00] payload:a delay:1293 expected:0 (us) # 2.21 [+0.28] # 2.21 [+0.01] SO_TXTIME ipv6 clock monotonic # 2.22 [+0.00] payload:a delay:9770 expected:10000 (us) # 2.50 [+0.29] # 2.50 [+0.00] SO_TXTIME ipv4 clock monotonic # 2.51 [+0.01] payload:a delay:10541 expected:10000 (us) # 2.52 [+0.01] payload:b delay:20067 expected:20000 (us) # 2.81 [+0.28] # 2.81 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.83 [+0.02] payload:b delay:34636 expected:20000 (us) # 2.83 [+0.00] exceeds variance (4000 us) # 2.83 [+0.00] payload:a delay:34920 expected:20000 (us) # 2.83 [+0.00] exceeds variance (4000 us) # 3.40 [+0.57] # 3.40 [+0.00] SO_TXTIME ipv4 clock tai # 3.40 [+0.00] send: pkt a at -1737596186904ms dropped: invalid txtime # 3.50 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.67 [+0.17] # 3.68 [+0.00] SO_TXTIME ipv6 clock tai # 3.68 [+0.00] send: pkt a at 0ms dropped: invalid txtime # 3.78 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 3.97 [+0.19] # 3.97 [+0.00] SO_TXTIME ipv6 clock tai # 3.98 [+0.01] payload:a delay:10774 expected:10000 (us) # 4.26 [+0.28] # 4.26 [+0.00] SO_TXTIME ipv4 clock tai # 4.27 [+0.01] payload:a delay:5394 expected:10000 (us) # 4.27 [+0.00] exceeds variance (4000 us) # 4.28 [+0.01] payload:b delay:15261 expected:20000 (us) # 4.28 [+0.00] exceeds variance (4000 us) # 4.59 [+0.31] # 4.59 [+0.00] SO_TXTIME ipv6 clock tai # 4.60 [+0.01] payload:b delay:36930 expected:10000 (us) # 4.60 [+0.00] exceeds variance (4000 us) # 4.61 [+0.01] payload:a delay:46777 expected:20000 (us) # 4.61 [+0.00] exceeds variance (4000 us) # 4.72 [+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__->