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.16 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 1.18 [+0.02] tx: 128 # 1.18 [+0.01] rx: 142 # 1.18 [+0.00] rx: 100 # 1.19 [+0.01] OK # 1.19 [+0.00] # 1.31 [+0.12] dgram bind # 2.54 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 2.56 [+0.02] tx: 128 # 2.57 [+0.01] rx: 142 # 2.57 [+0.00] rx: 100 # 2.57 [+0.00] OK # 2.57 [+0.00] # 2.73 [+0.15] raw # 3.91 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 3.92 [+0.01] tx: 142 # 3.93 [+0.01] rx: 142 # 3.93 [+0.00] rx: 100 # 3.94 [+0.01] OK # 3.94 [+0.00] # 4.08 [+0.14] raw bind # 5.27 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 5.28 [+0.01] tx: 142 # 5.28 [+0.01] rx: 142 # 5.28 [+0.00] rx: 100 # 5.29 [+0.01] OK # 5.29 [+0.00] # 5.45 [+0.16] raw qdisc bypass # 6.64 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 6.65 [+0.01] tx: 142 # 6.65 [+0.01] rx: 142 # 6.65 [+0.00] rx: 100 # 6.67 [+0.01] OK # 6.67 [+0.00] # 6.86 [+0.19] raw vlan # 8.01 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 8.02 [+0.01] tx: 146 # 8.03 [+0.00] rx: 100 # 8.03 [+0.01] OK # 8.03 [+0.00] # 8.15 [+0.12] raw vnet hdr # 9.29 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 9.30 [+0.01] tx: 152 # 9.30 [+0.01] rx: 142 # 9.30 [+0.00] rx: 100 # 9.31 [+0.01] OK # 9.31 [+0.00] # 9.42 [+0.11] raw csum_off # 10.57 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 10.58 [+0.01] tx: 152 # 10.59 [+0.01] rx: 142 # 10.59 [+0.00] rx: 100 # 10.60 [+0.01] OK # 10.60 [+0.00] # 10.72 [+0.12] raw csum_off with bad offset (expected to fail) # 11.85 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 11.86 [+0.01] ./psock_snd: write: Invalid argument # 12.00 [+0.15] raw min size # 13.22 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 13.23 [+0.01] tx: 42 # 13.23 [+0.01] rx: 0 # 13.24 [+0.01] OK # 13.24 [+0.00] # 13.37 [+0.14] raw mtu size # 14.57 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 14.58 [+0.01] tx: 1514 # 14.58 [+0.01] rx: 1472 # 14.59 [+0.01] OK # 14.59 [+0.00] # 14.74 [+0.15] raw mtu size + 1 (expected to fail) # 15.90 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 15.91 [+0.01] ./psock_snd: write: Message too long # 16.06 [+0.15] raw vlan mtu size + 1 (expected to fail) # 17.40 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 17.41 [+0.01] ./psock_snd: write: Message too long # 17.56 [+0.15] dgram mtu size # 18.76 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 18.78 [+0.02] tx: 1500 # 18.78 [+0.00] rx: 1472 # 18.79 [+0.01] OK # 18.79 [+0.00] # 18.92 [+0.13] dgram mtu size + 1 (expected to fail) # 20.10 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 20.11 [+0.01] ./psock_snd: write: Message too long # 20.36 [+0.25] raw truncate hlen (expected to fail: does not arrive) # 21.61 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 21.62 [+0.01] tx: 14 # 21.73 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.89 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 23.05 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 23.06 [+0.01] ./psock_snd: write: Invalid argument # 23.23 [+0.16] raw gso min size # 24.40 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 24.42 [+0.02] tx: 1525 # 24.42 [+0.00] rx: 1473 # 24.43 [+0.01] OK # 24.43 [+0.00] # 24.56 [+0.12] raw gso max size # 25.73 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 25.75 [+0.02] tx: 65559 # 25.76 [+0.01] rx: 65507 # 25.77 [+0.01] OK # 25.77 [+0.00] # 25.89 [+0.12] raw gso max size + 1 (expected to fail) # 27.15 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 27.16 [+0.01] tx: 65560 # 27.27 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 27.45 [+0.18] 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__->