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 # 0.94 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 0.95 [+0.01] tx: 128 # 0.96 [+0.01] rx: 142 # 0.96 [+0.00] rx: 100 # 0.97 [+0.01] OK # 0.97 [+0.00] # 1.08 [+0.11] dgram bind # 2.10 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 2.11 [+0.01] tx: 128 # 2.12 [+0.01] rx: 142 # 2.12 [+0.00] rx: 100 # 2.13 [+0.00] OK # 2.13 [+0.00] # 2.25 [+0.13] raw # 3.28 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 3.29 [+0.01] tx: 142 # 3.29 [+0.01] rx: 142 # 3.29 [+0.00] rx: 100 # 3.30 [+0.00] OK # 3.30 [+0.00] # 3.42 [+0.12] raw bind # 4.44 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 4.45 [+0.01] tx: 142 # 4.46 [+0.01] rx: 142 # 4.46 [+0.00] rx: 100 # 4.47 [+0.01] OK # 4.47 [+0.00] # 4.59 [+0.12] raw qdisc bypass # 5.62 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 5.63 [+0.01] tx: 142 # 5.64 [+0.01] rx: 142 # 5.64 [+0.00] rx: 100 # 5.65 [+0.01] OK # 5.65 [+0.00] # 5.76 [+0.12] raw vlan # 6.77 [+1.01] net.ipv4.conf.lo.accept_local = 1 # 6.79 [+0.01] tx: 146 # 6.80 [+0.01] rx: 100 # 6.80 [+0.01] OK # 6.80 [+0.00] # 6.91 [+0.11] raw vnet hdr # 7.93 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 7.95 [+0.02] tx: 152 # 7.96 [+0.01] rx: 142 # 7.96 [+0.00] rx: 100 # 7.96 [+0.00] OK # 7.96 [+0.00] # 8.08 [+0.11] raw csum_off # 9.10 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 9.11 [+0.01] tx: 152 # 9.12 [+0.01] rx: 142 # 9.12 [+0.00] rx: 100 # 9.13 [+0.01] OK # 9.13 [+0.00] # 9.25 [+0.12] raw csum_off with bad offset (expected to fail) # 10.28 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 10.29 [+0.01] ./psock_snd: write: Invalid argument # 10.45 [+0.15] raw min size # 11.46 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 11.47 [+0.01] tx: 42 # 11.48 [+0.01] rx: 0 # 11.48 [+0.00] OK # 11.48 [+0.00] # 11.60 [+0.12] raw mtu size # 12.63 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 12.64 [+0.01] tx: 1514 # 12.64 [+0.01] rx: 1472 # 12.66 [+0.01] OK # 12.66 [+0.00] # 12.78 [+0.12] raw mtu size + 1 (expected to fail) # 13.83 [+1.05] net.ipv4.conf.lo.accept_local = 1 # 13.84 [+0.01] ./psock_snd: write: Message too long # 13.96 [+0.13] raw vlan mtu size + 1 (expected to fail) # 15.01 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 15.01 [+0.01] ./psock_snd: write: Message too long # 15.15 [+0.14] dgram mtu size # 16.16 [+1.01] net.ipv4.conf.lo.accept_local = 1 # 16.17 [+0.01] tx: 1500 # 16.18 [+0.01] rx: 1472 # 16.19 [+0.01] OK # 16.19 [+0.00] # 16.31 [+0.12] dgram mtu size + 1 (expected to fail) # 17.34 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 17.34 [+0.01] ./psock_snd: write: Message too long # 17.49 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 18.53 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 18.54 [+0.01] tx: 14 # 18.65 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 18.80 [+0.15] raw truncate hlen - 1 (expected to fail: EINVAL) # 19.83 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 19.84 [+0.01] ./psock_snd: write: Invalid argument # 19.99 [+0.15] raw gso min size # 21.02 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 21.03 [+0.01] tx: 1525 # 21.03 [+0.00] rx: 1473 # 21.04 [+0.01] OK # 21.04 [+0.00] # 21.15 [+0.11] raw gso max size # 22.18 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 22.19 [+0.01] tx: 65559 # 22.20 [+0.01] rx: 65507 # 22.21 [+0.01] OK # 22.21 [+0.00] # 22.32 [+0.11] raw gso max size + 1 (expected to fail) # 23.35 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 23.36 [+0.01] tx: 65560 # 23.47 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 23.63 [+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__->