make -C tools/testing/selftests TARGETS="net" TEST_PROGS=psock_snd.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: psock_snd.sh # 0.03 [+0.03] dgram # 1.26 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 1.27 [+0.01] tx: 128 # 1.28 [+0.01] rx: 142 # 1.28 [+0.00] rx: 100 # 1.28 [+0.01] OK # 1.28 [+0.00] # 1.44 [+0.15] dgram bind # 2.79 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 2.80 [+0.01] tx: 128 # 2.81 [+0.01] rx: 142 # 2.81 [+0.00] rx: 100 # 2.81 [+0.01] OK # 2.81 [+0.00] # 2.97 [+0.15] raw # 4.27 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 4.28 [+0.01] tx: 142 # 4.28 [+0.01] rx: 142 # 4.28 [+0.00] rx: 100 # 4.29 [+0.01] OK # 4.29 [+0.00] # 4.45 [+0.16] raw bind # 5.86 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 5.87 [+0.01] tx: 142 # 5.87 [+0.00] rx: 142 # 5.88 [+0.00] rx: 100 # 5.88 [+0.00] OK # 5.88 [+0.00] # 6.04 [+0.16] raw qdisc bypass # 7.37 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 7.38 [+0.01] tx: 142 # 7.39 [+0.01] rx: 142 # 7.39 [+0.00] rx: 100 # 7.40 [+0.01] OK # 7.40 [+0.00] # 7.53 [+0.13] raw vlan # 8.96 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 8.97 [+0.01] tx: 146 # 8.98 [+0.01] rx: 100 # 8.99 [+0.01] OK # 8.99 [+0.00] # 9.18 [+0.19] raw vnet hdr # 10.50 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 10.51 [+0.01] tx: 152 # 10.51 [+0.01] rx: 142 # 10.51 [+0.00] rx: 100 # 10.53 [+0.02] OK # 10.53 [+0.00] # 10.72 [+0.19] raw csum_off # 12.16 [+1.45] net.ipv4.conf.lo.accept_local = 1 # 12.19 [+0.03] tx: 152 # 12.19 [+0.00] rx: 142 # 12.19 [+0.00] rx: 100 # 12.20 [+0.01] OK # 12.20 [+0.00] # 12.34 [+0.14] raw csum_off with bad offset (expected to fail) # 13.72 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 13.74 [+0.02] ./psock_snd: write: Invalid argument # 13.95 [+0.21] raw min size # 15.34 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 15.35 [+0.01] tx: 42 # 15.36 [+0.01] rx: 0 # 15.37 [+0.01] OK # 15.38 [+0.00] # 15.52 [+0.14] raw mtu size # 16.94 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 16.95 [+0.01] tx: 1514 # 16.96 [+0.01] rx: 1472 # 16.97 [+0.01] OK # 16.97 [+0.00] # 17.12 [+0.15] raw mtu size + 1 (expected to fail) # 18.76 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 18.78 [+0.02] ./psock_snd: write: Message too long # 19.00 [+0.22] raw vlan mtu size + 1 (expected to fail) # 20.75 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 20.77 [+0.01] ./psock_snd: write: Message too long # 20.99 [+0.23] dgram mtu size # 22.83 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 22.84 [+0.01] tx: 1500 # 22.84 [+0.01] rx: 1472 # 22.86 [+0.01] OK # 22.86 [+0.00] # 23.04 [+0.19] dgram mtu size + 1 (expected to fail) # 24.79 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 24.81 [+0.02] ./psock_snd: write: Message too long # 25.00 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 26.48 [+1.47] net.ipv4.conf.lo.accept_local = 1 # 26.49 [+0.01] tx: 14 # 26.61 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 26.80 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 28.15 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 28.17 [+0.01] ./psock_snd: write: Invalid argument # 28.32 [+0.16] raw gso min size # 29.67 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 29.68 [+0.01] tx: 1525 # 29.69 [+0.01] rx: 1473 # 29.70 [+0.01] OK # 29.70 [+0.00] # 29.84 [+0.13] raw gso max size # 31.12 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 31.13 [+0.01] tx: 65559 # 31.14 [+0.01] rx: 65507 # 31.15 [+0.01] OK # 31.15 [+0.00] # 31.30 [+0.15] raw gso max size + 1 (expected to fail) # 32.65 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 32.67 [+0.02] tx: 65560 # 32.78 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 32.94 [+0.16] OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->