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.29 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 1.30 [+0.01] tx: 128 # 1.31 [+0.01] rx: 142 # 1.31 [+0.00] rx: 100 # 1.32 [+0.01] OK # 1.32 [+0.00] # 1.45 [+0.13] dgram bind # 2.73 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 2.74 [+0.01] tx: 128 # 2.75 [+0.01] rx: 142 # 2.75 [+0.00] rx: 100 # 2.76 [+0.01] OK # 2.76 [+0.00] # 2.92 [+0.17] raw # 4.15 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 4.16 [+0.01] tx: 142 # 4.17 [+0.01] rx: 142 # 4.17 [+0.00] rx: 100 # 4.18 [+0.01] OK # 4.18 [+0.00] # 4.32 [+0.14] raw bind # 5.54 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 5.55 [+0.01] tx: 142 # 5.56 [+0.01] rx: 142 # 5.56 [+0.00] rx: 100 # 5.57 [+0.01] OK # 5.57 [+0.00] # 5.70 [+0.14] raw qdisc bypass # 7.01 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 7.02 [+0.01] tx: 142 # 7.03 [+0.01] rx: 142 # 7.03 [+0.00] rx: 100 # 7.04 [+0.01] OK # 7.04 [+0.00] # 7.19 [+0.15] raw vlan # 8.52 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 8.54 [+0.02] tx: 146 # 8.55 [+0.01] rx: 100 # 8.55 [+0.01] OK # 8.55 [+0.00] # 8.70 [+0.15] raw vnet hdr # 10.01 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 10.02 [+0.01] tx: 152 # 10.03 [+0.01] rx: 142 # 10.03 [+0.00] rx: 100 # 10.04 [+0.01] OK # 10.04 [+0.00] # 10.21 [+0.17] raw csum_off # 11.47 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 11.48 [+0.01] tx: 152 # 11.49 [+0.01] rx: 142 # 11.49 [+0.00] rx: 100 # 11.50 [+0.01] OK # 11.50 [+0.00] # 11.63 [+0.13] raw csum_off with bad offset (expected to fail) # 12.91 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 12.93 [+0.01] ./psock_snd: write: Invalid argument # 13.14 [+0.21] raw min size # 14.36 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 14.37 [+0.01] tx: 42 # 14.38 [+0.01] rx: 0 # 14.39 [+0.01] OK # 14.39 [+0.00] # 14.55 [+0.16] raw mtu size # 15.85 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 15.86 [+0.01] tx: 1514 # 15.88 [+0.01] rx: 1472 # 15.88 [+0.00] OK # 15.88 [+0.00] # 16.04 [+0.16] raw mtu size + 1 (expected to fail) # 17.35 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 17.36 [+0.01] ./psock_snd: write: Message too long # 17.56 [+0.20] raw vlan mtu size + 1 (expected to fail) # 18.82 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 18.84 [+0.02] ./psock_snd: write: Message too long # 19.02 [+0.18] dgram mtu size # 20.34 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 20.35 [+0.01] tx: 1500 # 20.36 [+0.01] rx: 1472 # 20.37 [+0.01] OK # 20.37 [+0.00] # 20.51 [+0.15] dgram mtu size + 1 (expected to fail) # 21.74 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 21.75 [+0.01] ./psock_snd: write: Message too long # 21.94 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 23.23 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 23.24 [+0.01] tx: 14 # 23.36 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 23.53 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.88 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 24.89 [+0.01] ./psock_snd: write: Invalid argument # 25.05 [+0.16] raw gso min size # 26.48 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 26.50 [+0.02] tx: 1525 # 26.51 [+0.01] rx: 1473 # 26.52 [+0.01] OK # 26.52 [+0.00] # 26.67 [+0.15] raw gso max size # 28.00 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 28.02 [+0.02] tx: 65559 # 28.03 [+0.01] rx: 65507 # 28.03 [+0.01] OK # 28.03 [+0.00] # 28.16 [+0.13] raw gso max size + 1 (expected to fail) # 29.48 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 29.50 [+0.02] tx: 65560 # 29.61 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.78 [+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__->