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.14 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 1.15 [+0.01] tx: 128 # 1.16 [+0.01] rx: 142 # 1.16 [+0.00] rx: 100 # 1.16 [+0.01] OK # 1.16 [+0.00] # 1.29 [+0.12] dgram bind # 2.42 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 2.43 [+0.01] tx: 128 # 2.44 [+0.01] rx: 142 # 2.44 [+0.00] rx: 100 # 2.46 [+0.02] OK # 2.46 [+0.00] # 2.64 [+0.18] raw # 3.76 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 3.77 [+0.01] tx: 142 # 3.78 [+0.01] rx: 142 # 3.79 [+0.00] rx: 100 # 3.79 [+0.01] OK # 3.80 [+0.00] # 3.96 [+0.16] raw bind # 5.32 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 5.33 [+0.01] tx: 142 # 5.34 [+0.00] rx: 142 # 5.34 [+0.00] rx: 100 # 5.35 [+0.01] OK # 5.35 [+0.00] # 5.48 [+0.13] raw qdisc bypass # 6.61 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 6.61 [+0.01] tx: 142 # 6.62 [+0.01] rx: 142 # 6.62 [+0.00] rx: 100 # 6.63 [+0.01] OK # 6.63 [+0.00] # 6.75 [+0.12] raw vlan # 7.98 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 7.99 [+0.01] tx: 146 # 8.00 [+0.01] rx: 100 # 8.01 [+0.01] OK # 8.01 [+0.00] # 8.14 [+0.13] raw vnet hdr # 9.24 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 9.25 [+0.01] tx: 152 # 9.26 [+0.01] rx: 142 # 9.26 [+0.00] rx: 100 # 9.27 [+0.01] OK # 9.27 [+0.00] # 9.37 [+0.10] raw csum_off # 10.47 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 10.48 [+0.01] tx: 152 # 10.48 [+0.01] rx: 142 # 10.49 [+0.00] rx: 100 # 10.49 [+0.01] OK # 10.50 [+0.00] # 10.62 [+0.12] raw csum_off with bad offset (expected to fail) # 11.78 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 11.79 [+0.01] ./psock_snd: write: Invalid argument # 11.94 [+0.15] raw min size # 13.07 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 13.08 [+0.01] tx: 42 # 13.09 [+0.01] rx: 0 # 13.10 [+0.01] OK # 13.10 [+0.00] # 13.24 [+0.14] raw mtu size # 14.47 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 14.48 [+0.01] tx: 1514 # 14.49 [+0.01] rx: 1472 # 14.49 [+0.01] OK # 14.49 [+0.00] # 14.62 [+0.12] raw mtu size + 1 (expected to fail) # 15.90 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 15.91 [+0.01] ./psock_snd: write: Message too long # 16.07 [+0.16] raw vlan mtu size + 1 (expected to fail) # 17.35 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 17.36 [+0.01] ./psock_snd: write: Message too long # 17.53 [+0.17] dgram mtu size # 18.81 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 18.82 [+0.01] tx: 1500 # 18.82 [+0.01] rx: 1472 # 18.83 [+0.01] OK # 18.83 [+0.00] # 18.99 [+0.15] dgram mtu size + 1 (expected to fail) # 20.29 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 20.30 [+0.01] ./psock_snd: write: Message too long # 20.47 [+0.17] raw truncate hlen (expected to fail: does not arrive) # 21.81 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 21.82 [+0.01] tx: 14 # 21.93 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 22.11 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 23.65 [+1.54] net.ipv4.conf.lo.accept_local = 1 # 23.66 [+0.01] ./psock_snd: write: Invalid argument # 23.83 [+0.17] raw gso min size # 25.32 [+1.49] net.ipv4.conf.lo.accept_local = 1 # 25.33 [+0.01] tx: 1525 # 25.34 [+0.01] rx: 1473 # 25.35 [+0.01] OK # 25.35 [+0.00] # 25.49 [+0.14] raw gso max size # 26.82 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 26.84 [+0.02] tx: 65559 # 26.85 [+0.01] rx: 65507 # 26.86 [+0.01] OK # 26.86 [+0.00] # 27.00 [+0.14] raw gso max size + 1 (expected to fail) # 28.25 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 28.26 [+0.01] tx: 65560 # 28.39 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 28.55 [+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__->