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 # 2.16 [+2.16] # 2.16 [+0.00] SO_TXTIME ipv4 clock monotonic # 2.16 [+0.00] payload:a delay:2490 expected:0 (us) # 2.52 [+0.35] # 2.52 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.52 [+0.00] payload:a delay:273 expected:0 (us) # 2.85 [+0.33] # 2.86 [+0.00] SO_TXTIME ipv6 clock monotonic # 2.86 [+0.01] payload:a delay:10553 expected:10000 (us) # 3.21 [+0.35] # 3.22 [+0.00] SO_TXTIME ipv4 clock monotonic # 3.23 [+0.01] payload:a delay:10373 expected:10000 (us) # 3.24 [+0.01] payload:b delay:19982 expected:20000 (us) # 3.55 [+0.32] # 3.55 [+0.00] SO_TXTIME ipv6 clock monotonic # 3.57 [+0.02] payload:b delay:12796 expected:20000 (us) # 3.57 [+0.00] exceeds variance (4000 us) # 3.57 [+0.00] payload:a delay:12866 expected:20000 (us) # 3.58 [+0.00] exceeds variance (4000 us) # 4.29 [+0.72] # 4.29 [+0.00] SO_TXTIME ipv4 clock tai # 4.29 [+0.00] send: pkt a at -1746172095500ms dropped: invalid txtime # 4.40 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 4.64 [+0.24] # 4.64 [+0.00] SO_TXTIME ipv6 clock tai # 4.64 [+0.00] send: pkt a at 0ms dropped: invalid txtime # 4.74 [+0.10] ./so_txtime: recv: timeout: Resource temporarily unavailable # 4.96 [+0.22] # 4.96 [+0.00] SO_TXTIME ipv6 clock tai # 4.97 [+0.01] payload:a delay:9973 expected:10000 (us) # 5.30 [+0.33] # 5.31 [+0.00] SO_TXTIME ipv4 clock tai # 5.31 [+0.01] payload:a delay:16474 expected:10000 (us) # 5.31 [+0.00] exceeds variance (4000 us) # 5.32 [+0.01] payload:b delay:26023 expected:20000 (us) # 5.32 [+0.00] exceeds variance (4000 us) # 5.67 [+0.35] # 5.67 [+0.00] SO_TXTIME ipv6 clock tai # 5.68 [+0.01] payload:b delay:25191 expected:10000 (us) # 5.68 [+0.00] exceeds variance (4000 us) # 5.69 [+0.01] payload:a delay:35028 expected:20000 (us) # 5.69 [+0.00] exceeds variance (4000 us) # 5.80 [+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__->