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.00 [+0.00] dgram # 1.33 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 1.35 [+0.02] tx: 128 # 1.35 [+0.01] rx: 142 # 1.35 [+0.00] rx: 100 # 1.36 [+0.01] OK # 1.36 [+0.00] # 1.52 [+0.15] dgram bind # 2.79 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 2.80 [+0.01] tx: 128 # 2.80 [+0.01] rx: 142 # 2.80 [+0.00] rx: 100 # 2.81 [+0.01] OK # 2.81 [+0.00] # 2.94 [+0.13] raw # 4.02 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 4.03 [+0.01] tx: 142 # 4.04 [+0.01] rx: 142 # 4.04 [+0.00] rx: 100 # 4.05 [+0.01] OK # 4.05 [+0.00] # 4.19 [+0.14] raw bind # 5.37 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 5.37 [+0.01] tx: 142 # 5.39 [+0.01] rx: 142 # 5.39 [+0.00] rx: 100 # 5.40 [+0.01] OK # 5.40 [+0.00] # 5.55 [+0.15] raw qdisc bypass # 6.80 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 6.81 [+0.01] tx: 142 # 6.82 [+0.01] rx: 142 # 6.82 [+0.00] rx: 100 # 6.83 [+0.01] OK # 6.83 [+0.00] # 6.99 [+0.16] raw vlan # 8.32 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 8.33 [+0.01] tx: 146 # 8.34 [+0.01] rx: 100 # 8.35 [+0.00] OK # 8.35 [+0.00] # 8.52 [+0.17] raw vnet hdr # 9.82 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 9.83 [+0.01] tx: 152 # 9.84 [+0.01] rx: 142 # 9.84 [+0.00] rx: 100 # 9.85 [+0.01] OK # 9.85 [+0.00] # 10.02 [+0.18] raw csum_off # 11.54 [+1.51] net.ipv4.conf.lo.accept_local = 1 # 11.55 [+0.01] tx: 152 # 11.56 [+0.01] rx: 142 # 11.56 [+0.00] rx: 100 # 11.56 [+0.00] OK # 11.56 [+0.00] # 11.72 [+0.16] raw csum_off with bad offset (expected to fail) # 13.35 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 13.37 [+0.02] ./psock_snd: write: Invalid argument # 13.61 [+0.24] raw min size # 15.31 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 15.32 [+0.01] tx: 42 # 15.33 [+0.01] rx: 0 # 15.34 [+0.01] OK # 15.34 [+0.00] # 15.49 [+0.15] raw mtu size # 16.71 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 16.72 [+0.01] tx: 1514 # 16.73 [+0.01] rx: 1472 # 16.74 [+0.01] OK # 16.74 [+0.00] # 16.86 [+0.13] raw mtu size + 1 (expected to fail) # 18.09 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 18.10 [+0.01] ./psock_snd: write: Message too long # 18.25 [+0.14] raw vlan mtu size + 1 (expected to fail) # 19.33 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 19.34 [+0.01] ./psock_snd: write: Message too long # 19.49 [+0.15] dgram mtu size # 20.57 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 20.58 [+0.01] tx: 1500 # 20.59 [+0.01] rx: 1472 # 20.60 [+0.01] OK # 20.60 [+0.00] # 20.74 [+0.14] dgram mtu size + 1 (expected to fail) # 21.91 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 21.92 [+0.01] ./psock_snd: write: Message too long # 22.06 [+0.14] raw truncate hlen (expected to fail: does not arrive) # 23.15 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 23.16 [+0.01] tx: 14 # 23.26 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 23.42 [+0.15] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.51 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 24.51 [+0.01] ./psock_snd: write: Invalid argument # 24.65 [+0.14] raw gso min size # 25.75 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 25.76 [+0.01] tx: 1525 # 25.77 [+0.01] rx: 1473 # 25.78 [+0.01] OK # 25.78 [+0.00] # 25.91 [+0.14] raw gso max size # 27.05 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 27.07 [+0.01] tx: 65559 # 27.07 [+0.01] rx: 65507 # 27.08 [+0.01] OK # 27.08 [+0.00] # 27.20 [+0.11] raw gso max size + 1 (expected to fail) # 28.29 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 28.31 [+0.01] tx: 65560 # 28.42 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 28.57 [+0.15] 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__->