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.06 [+0.06] dgram # 1.39 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 1.40 [+0.01] tx: 128 # 1.41 [+0.01] rx: 142 # 1.41 [+0.00] rx: 100 # 1.42 [+0.01] OK # 1.42 [+0.00] # 1.60 [+0.19] dgram bind # 3.02 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 3.04 [+0.02] tx: 128 # 3.04 [+0.01] rx: 142 # 3.04 [+0.00] rx: 100 # 3.05 [+0.01] OK # 3.05 [+0.00] # 3.20 [+0.14] raw # 4.56 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 4.56 [+0.01] tx: 142 # 4.57 [+0.01] rx: 142 # 4.57 [+0.00] rx: 100 # 4.58 [+0.01] OK # 4.58 [+0.00] # 4.78 [+0.20] raw bind # 6.15 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 6.16 [+0.01] tx: 142 # 6.17 [+0.01] rx: 142 # 6.17 [+0.00] rx: 100 # 6.18 [+0.01] OK # 6.18 [+0.00] # 6.36 [+0.18] raw qdisc bypass # 7.99 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 8.00 [+0.01] tx: 142 # 8.01 [+0.01] rx: 142 # 8.01 [+0.00] rx: 100 # 8.01 [+0.01] OK # 8.01 [+0.00] # 8.19 [+0.17] raw vlan # 9.58 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 9.61 [+0.03] tx: 146 # 9.62 [+0.01] rx: 100 # 9.64 [+0.02] OK # 9.64 [+0.00] # 9.78 [+0.15] raw vnet hdr # 10.93 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 10.94 [+0.01] tx: 152 # 10.94 [+0.01] rx: 142 # 10.95 [+0.00] rx: 100 # 10.96 [+0.02] OK # 10.96 [+0.00] # 11.08 [+0.12] raw csum_off # 12.21 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 12.21 [+0.01] tx: 152 # 12.22 [+0.00] rx: 142 # 12.22 [+0.00] rx: 100 # 12.23 [+0.01] OK # 12.23 [+0.00] # 12.36 [+0.13] raw csum_off with bad offset (expected to fail) # 13.46 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 13.46 [+0.01] ./psock_snd: write: Invalid argument # 13.61 [+0.14] raw min size # 14.69 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 14.69 [+0.01] tx: 42 # 14.70 [+0.01] rx: 0 # 14.71 [+0.01] OK # 14.71 [+0.00] # 14.83 [+0.13] raw mtu size # 15.94 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 15.95 [+0.01] tx: 1514 # 15.95 [+0.01] rx: 1472 # 15.97 [+0.01] OK # 15.97 [+0.00] # 16.08 [+0.12] raw mtu size + 1 (expected to fail) # 17.18 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 17.19 [+0.01] ./psock_snd: write: Message too long # 17.33 [+0.14] raw vlan mtu size + 1 (expected to fail) # 18.45 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 18.45 [+0.01] ./psock_snd: write: Message too long # 18.60 [+0.14] dgram mtu size # 19.68 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 19.69 [+0.01] tx: 1500 # 19.70 [+0.01] rx: 1472 # 19.71 [+0.01] OK # 19.71 [+0.00] # 19.83 [+0.12] dgram mtu size + 1 (expected to fail) # 21.03 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 21.03 [+0.01] ./psock_snd: write: Message too long # 21.26 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 22.60 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 22.61 [+0.01] tx: 14 # 22.72 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 22.90 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.11 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 24.12 [+0.01] ./psock_snd: write: Invalid argument # 24.26 [+0.14] raw gso min size # 25.47 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 25.48 [+0.01] tx: 1525 # 25.48 [+0.00] rx: 1473 # 25.50 [+0.01] OK # 25.50 [+0.00] # 25.62 [+0.12] raw gso max size # 26.70 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 26.71 [+0.01] tx: 65559 # 26.72 [+0.01] rx: 65507 # 26.73 [+0.01] OK # 26.73 [+0.00] # 26.86 [+0.14] raw gso max size + 1 (expected to fail) # 28.15 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 28.16 [+0.01] tx: 65560 # 28.27 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 28.44 [+0.17] 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__->