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.05 [+0.05] dgram # 1.25 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 1.25 [+0.01] tx: 128 # 1.26 [+0.01] rx: 142 # 1.26 [+0.00] rx: 100 # 1.28 [+0.01] OK # 1.28 [+0.00] # 1.40 [+0.13] dgram bind # 2.51 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 2.52 [+0.01] tx: 128 # 2.52 [+0.01] rx: 142 # 2.52 [+0.00] rx: 100 # 2.54 [+0.01] OK # 2.54 [+0.00] # 2.69 [+0.16] raw # 3.89 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 3.90 [+0.01] tx: 142 # 3.91 [+0.01] rx: 142 # 3.91 [+0.00] rx: 100 # 3.92 [+0.01] OK # 3.92 [+0.00] # 4.05 [+0.13] raw bind # 5.23 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 5.24 [+0.01] tx: 142 # 5.25 [+0.01] rx: 142 # 5.25 [+0.00] rx: 100 # 5.27 [+0.01] OK # 5.27 [+0.00] # 5.40 [+0.13] raw qdisc bypass # 6.57 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 6.58 [+0.01] tx: 142 # 6.58 [+0.01] rx: 142 # 6.59 [+0.00] rx: 100 # 6.59 [+0.01] OK # 6.60 [+0.00] # 6.72 [+0.12] raw vlan # 7.86 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 7.87 [+0.01] tx: 146 # 7.88 [+0.02] rx: 100 # 7.90 [+0.02] OK # 7.90 [+0.00] # 8.09 [+0.19] raw vnet hdr # 9.24 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 9.24 [+0.01] tx: 152 # 9.25 [+0.01] rx: 142 # 9.26 [+0.00] rx: 100 # 9.26 [+0.01] OK # 9.26 [+0.00] # 9.40 [+0.13] raw csum_off # 10.59 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 10.60 [+0.01] tx: 152 # 10.61 [+0.01] rx: 142 # 10.61 [+0.00] rx: 100 # 10.62 [+0.01] OK # 10.62 [+0.00] # 10.75 [+0.13] raw csum_off with bad offset (expected to fail) # 11.85 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 11.86 [+0.01] ./psock_snd: write: Invalid argument # 12.03 [+0.17] raw min size # 13.20 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 13.21 [+0.01] tx: 42 # 13.21 [+0.01] rx: 0 # 13.22 [+0.01] OK # 13.22 [+0.00] # 13.36 [+0.14] raw mtu size # 14.49 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 14.51 [+0.02] tx: 1514 # 14.52 [+0.01] rx: 1472 # 14.53 [+0.01] OK # 14.53 [+0.00] # 14.65 [+0.12] raw mtu size + 1 (expected to fail) # 16.05 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 16.06 [+0.02] ./psock_snd: write: Message too long # 16.22 [+0.15] raw vlan mtu size + 1 (expected to fail) # 17.41 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 17.42 [+0.01] ./psock_snd: write: Message too long # 17.56 [+0.14] dgram mtu size # 18.86 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 18.88 [+0.01] tx: 1500 # 18.88 [+0.01] rx: 1472 # 18.89 [+0.01] OK # 18.89 [+0.00] # 19.07 [+0.18] dgram mtu size + 1 (expected to fail) # 20.16 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 20.17 [+0.01] ./psock_snd: write: Message too long # 20.30 [+0.13] raw truncate hlen (expected to fail: does not arrive) # 21.71 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 21.72 [+0.01] tx: 14 # 21.84 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 22.00 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 23.15 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 23.16 [+0.01] ./psock_snd: write: Invalid argument # 23.29 [+0.13] raw gso min size # 24.47 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 24.49 [+0.01] tx: 1525 # 24.49 [+0.01] rx: 1473 # 24.50 [+0.01] OK # 24.50 [+0.00] # 24.67 [+0.17] raw gso max size # 26.16 [+1.49] net.ipv4.conf.lo.accept_local = 1 # 26.18 [+0.02] tx: 65559 # 26.19 [+0.01] rx: 65507 # 26.19 [+0.01] OK # 26.19 [+0.00] # 26.32 [+0.13] raw gso max size + 1 (expected to fail) # 27.47 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 27.48 [+0.02] tx: 65560 # 27.59 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 27.74 [+0.15] 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__->