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.26 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 1.27 [+0.01] tx: 128 # 1.29 [+0.01] rx: 142 # 1.29 [+0.00] rx: 100 # 1.30 [+0.01] OK # 1.30 [+0.00] # 1.46 [+0.16] dgram bind # 2.67 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 2.68 [+0.01] tx: 128 # 2.68 [+0.01] rx: 142 # 2.69 [+0.00] rx: 100 # 2.69 [+0.01] OK # 2.69 [+0.00] # 2.83 [+0.14] raw # 3.94 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 3.95 [+0.01] tx: 142 # 3.96 [+0.01] rx: 142 # 3.96 [+0.00] rx: 100 # 3.97 [+0.01] OK # 3.97 [+0.00] # 4.14 [+0.17] raw bind # 5.24 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 5.25 [+0.01] tx: 142 # 5.25 [+0.00] rx: 142 # 5.25 [+0.00] rx: 100 # 5.26 [+0.01] OK # 5.26 [+0.00] # 5.40 [+0.14] raw qdisc bypass # 6.55 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 6.56 [+0.01] tx: 142 # 6.56 [+0.01] rx: 142 # 6.56 [+0.00] rx: 100 # 6.57 [+0.01] OK # 6.57 [+0.00] # 6.74 [+0.16] raw vlan # 7.97 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 7.98 [+0.01] tx: 146 # 7.99 [+0.01] rx: 100 # 7.99 [+0.01] OK # 7.99 [+0.00] # 8.13 [+0.13] raw vnet hdr # 9.36 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 9.37 [+0.01] tx: 152 # 9.37 [+0.00] rx: 142 # 9.37 [+0.00] rx: 100 # 9.38 [+0.00] OK # 9.38 [+0.00] # 9.48 [+0.10] raw csum_off # 10.58 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 10.59 [+0.01] tx: 152 # 10.59 [+0.00] 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.96 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 11.97 [+0.01] ./psock_snd: write: Invalid argument # 12.14 [+0.17] raw min size # 13.32 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 13.33 [+0.02] tx: 42 # 13.34 [+0.01] rx: 0 # 13.34 [+0.00] OK # 13.35 [+0.00] # 13.49 [+0.14] raw mtu size # 14.76 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 14.77 [+0.01] tx: 1514 # 14.78 [+0.01] rx: 1472 # 14.78 [+0.00] OK # 14.79 [+0.00] # 14.94 [+0.16] raw mtu size + 1 (expected to fail) # 16.26 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 16.27 [+0.01] ./psock_snd: write: Message too long # 16.44 [+0.17] raw vlan mtu size + 1 (expected to fail) # 17.70 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 17.71 [+0.01] ./psock_snd: write: Message too long # 17.90 [+0.19] dgram mtu size # 19.33 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 19.34 [+0.01] tx: 1500 # 19.34 [+0.01] rx: 1472 # 19.35 [+0.01] OK # 19.35 [+0.00] # 19.52 [+0.17] dgram mtu size + 1 (expected to fail) # 20.96 [+1.45] net.ipv4.conf.lo.accept_local = 1 # 20.98 [+0.01] ./psock_snd: write: Message too long # 21.20 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 22.71 [+1.51] net.ipv4.conf.lo.accept_local = 1 # 22.71 [+0.01] tx: 14 # 22.83 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 23.01 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.21 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 24.22 [+0.01] ./psock_snd: write: Invalid argument # 24.39 [+0.17] raw gso min size # 25.55 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 25.56 [+0.01] tx: 1525 # 25.56 [+0.00] rx: 1473 # 25.58 [+0.02] OK # 25.58 [+0.00] # 25.70 [+0.12] raw gso max size # 26.78 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 26.80 [+0.02] tx: 65559 # 26.81 [+0.01] rx: 65507 # 26.81 [+0.01] OK # 26.81 [+0.00] # 26.94 [+0.12] raw gso max size + 1 (expected to fail) # 28.01 [+1.07] net.ipv4.conf.lo.accept_local = 1 # 28.04 [+0.03] tx: 65560 # 28.16 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 28.29 [+0.13] 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__->