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.08 [+0.08] dgram # 1.34 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 1.35 [+0.01] tx: 128 # 1.36 [+0.01] rx: 142 # 1.36 [+0.00] rx: 100 # 1.37 [+0.01] OK # 1.37 [+0.00] # 1.52 [+0.15] dgram bind # 2.81 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 2.82 [+0.01] tx: 128 # 2.82 [+0.01] rx: 142 # 2.82 [+0.00] rx: 100 # 2.83 [+0.01] OK # 2.83 [+0.00] # 2.97 [+0.14] raw # 4.27 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 4.29 [+0.01] tx: 142 # 4.30 [+0.01] rx: 142 # 4.30 [+0.00] rx: 100 # 4.32 [+0.01] OK # 4.32 [+0.00] # 4.43 [+0.11] raw bind # 5.86 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 5.88 [+0.02] tx: 142 # 5.89 [+0.01] rx: 142 # 5.89 [+0.00] rx: 100 # 5.90 [+0.01] OK # 5.90 [+0.00] # 6.05 [+0.15] raw qdisc bypass # 7.38 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 7.39 [+0.01] tx: 142 # 7.39 [+0.01] rx: 142 # 7.39 [+0.00] rx: 100 # 7.40 [+0.01] OK # 7.40 [+0.00] # 7.59 [+0.18] raw vlan # 8.96 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 8.97 [+0.01] tx: 146 # 8.98 [+0.01] rx: 100 # 8.99 [+0.01] OK # 8.99 [+0.00] # 9.13 [+0.15] raw vnet hdr # 10.49 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 10.50 [+0.01] tx: 152 # 10.50 [+0.00] rx: 142 # 10.50 [+0.00] rx: 100 # 10.51 [+0.01] OK # 10.51 [+0.00] # 10.66 [+0.14] raw csum_off # 11.98 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 11.99 [+0.01] tx: 152 # 11.99 [+0.01] rx: 142 # 11.99 [+0.00] rx: 100 # 12.00 [+0.01] OK # 12.00 [+0.00] # 12.19 [+0.18] raw csum_off with bad offset (expected to fail) # 13.56 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 13.57 [+0.01] ./psock_snd: write: Invalid argument # 13.74 [+0.17] raw min size # 15.23 [+1.49] net.ipv4.conf.lo.accept_local = 1 # 15.24 [+0.01] tx: 42 # 15.25 [+0.01] rx: 0 # 15.26 [+0.01] OK # 15.26 [+0.00] # 15.46 [+0.20] raw mtu size # 16.90 [+1.44] net.ipv4.conf.lo.accept_local = 1 # 16.91 [+0.01] tx: 1514 # 16.91 [+0.01] rx: 1472 # 16.92 [+0.01] OK # 16.92 [+0.00] # 17.06 [+0.13] raw mtu size + 1 (expected to fail) # 18.46 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 18.47 [+0.01] ./psock_snd: write: Message too long # 18.68 [+0.21] raw vlan mtu size + 1 (expected to fail) # 20.09 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 20.11 [+0.02] ./psock_snd: write: Message too long # 20.32 [+0.21] dgram mtu size # 21.70 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 21.72 [+0.01] tx: 1500 # 21.72 [+0.01] rx: 1472 # 21.73 [+0.01] OK # 21.73 [+0.00] # 21.87 [+0.13] dgram mtu size + 1 (expected to fail) # 23.29 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 23.30 [+0.01] ./psock_snd: write: Message too long # 23.50 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 24.86 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 24.89 [+0.03] tx: 14 # 25.00 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 25.14 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 26.49 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 26.50 [+0.01] ./psock_snd: write: Invalid argument # 26.66 [+0.16] raw gso min size # 27.94 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 27.95 [+0.01] tx: 1525 # 27.95 [+0.01] rx: 1473 # 27.96 [+0.01] OK # 27.96 [+0.00] # 28.10 [+0.14] raw gso max size # 29.40 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 29.42 [+0.01] tx: 65559 # 29.42 [+0.01] rx: 65507 # 29.43 [+0.01] OK # 29.43 [+0.00] # 29.56 [+0.13] raw gso max size + 1 (expected to fail) # 30.93 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 30.95 [+0.02] tx: 65560 # 31.07 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 31.23 [+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 && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->