make -C tools/testing/selftests TARGETS="net" TEST_PROGS=psock_snd.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: psock_snd.sh # 0.21 [+0.21] dgram # 2.04 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 2.05 [+0.01] tx: 128 # 2.07 [+0.02] rx: 142 # 2.07 [+0.00] rx: 100 # 2.09 [+0.02] OK # 2.09 [+0.00] # 2.26 [+0.17] dgram bind # 4.08 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 4.08 [+0.00] tx: 128 # 4.09 [+0.01] rx: 142 # 4.10 [+0.00] rx: 100 # 4.11 [+0.02] OK # 4.11 [+0.00] # 4.29 [+0.18] raw # 6.09 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 6.10 [+0.01] tx: 142 # 6.11 [+0.01] rx: 142 # 6.11 [+0.00] rx: 100 # 6.13 [+0.01] OK # 6.13 [+0.00] # 6.31 [+0.18] raw bind # 8.09 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 8.09 [+0.01] tx: 142 # 8.11 [+0.02] rx: 142 # 8.11 [+0.00] rx: 100 # 8.13 [+0.02] OK # 8.13 [+0.00] # 8.30 [+0.17] raw qdisc bypass # 10.09 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 10.09 [+0.01] tx: 142 # 10.10 [+0.01] rx: 142 # 10.10 [+0.00] rx: 100 # 10.11 [+0.01] OK # 10.11 [+0.00] # 10.30 [+0.19] raw vlan # 12.04 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 12.05 [+0.01] tx: 146 # 12.08 [+0.02] rx: 100 # 12.09 [+0.02] OK # 12.09 [+0.00] # 12.27 [+0.18] raw vnet hdr # 14.06 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 14.07 [+0.01] tx: 152 # 14.08 [+0.01] rx: 142 # 14.08 [+0.00] rx: 100 # 14.09 [+0.01] OK # 14.09 [+0.00] # 14.25 [+0.16] raw csum_off # 16.03 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 16.04 [+0.00] tx: 152 # 16.05 [+0.01] rx: 142 # 16.05 [+0.00] rx: 100 # 16.06 [+0.01] OK # 16.06 [+0.00] # 16.23 [+0.17] raw csum_off with bad offset (expected to fail) # 17.99 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 18.00 [+0.00] ./psock_snd: write: Invalid argument # 18.22 [+0.22] raw min size # 20.01 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 20.01 [+0.00] tx: 42 # 20.02 [+0.01] rx: 0 # 20.04 [+0.02] OK # 20.04 [+0.00] # 20.23 [+0.19] raw mtu size # 22.15 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 22.15 [+0.01] tx: 1514 # 22.16 [+0.01] rx: 1472 # 22.18 [+0.02] OK # 22.18 [+0.00] # 22.37 [+0.18] raw mtu size + 1 (expected to fail) # 24.20 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 24.21 [+0.01] ./psock_snd: write: Message too long # 24.42 [+0.21] raw vlan mtu size + 1 (expected to fail) # 26.25 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 26.25 [+0.01] ./psock_snd: write: Message too long # 26.45 [+0.20] dgram mtu size # 28.23 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 28.24 [+0.01] tx: 1500 # 28.25 [+0.01] rx: 1472 # 28.26 [+0.01] OK # 28.26 [+0.00] # 28.44 [+0.18] dgram mtu size + 1 (expected to fail) # 30.19 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 30.19 [+0.00] ./psock_snd: write: Message too long # 30.43 [+0.24] raw truncate hlen (expected to fail: does not arrive) # 32.18 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 32.19 [+0.01] tx: 14 # 32.31 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 32.51 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.29 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 34.30 [+0.00] ./psock_snd: write: Invalid argument # 34.52 [+0.22] raw gso min size # 36.30 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 36.31 [+0.01] tx: 1525 # 36.32 [+0.02] rx: 1473 # 36.33 [+0.01] OK # 36.33 [+0.00] # 36.52 [+0.18] raw gso max size # 38.30 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 38.32 [+0.01] tx: 65559 # 38.34 [+0.02] rx: 65507 # 38.35 [+0.02] OK # 38.35 [+0.00] # 38.52 [+0.17] raw gso max size + 1 (expected to fail) # 40.31 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 40.32 [+0.01] tx: 65560 # 40.44 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 40.65 [+0.21] OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->