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.08 [+0.08] dgram # 1.96 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 1.96 [+0.00] tx: 128 # 1.97 [+0.01] rx: 142 # 1.97 [+0.00] rx: 100 # 1.98 [+0.01] OK # 1.98 [+0.00] # 2.15 [+0.17] dgram bind # 4.01 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 4.02 [+0.01] tx: 128 # 4.03 [+0.01] rx: 142 # 4.03 [+0.00] rx: 100 # 4.05 [+0.01] OK # 4.05 [+0.00] # 4.24 [+0.19] raw # 6.08 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 6.08 [+0.00] tx: 142 # 6.09 [+0.01] rx: 142 # 6.09 [+0.00] rx: 100 # 6.11 [+0.02] OK # 6.11 [+0.00] # 6.28 [+0.17] raw bind # 8.11 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 8.11 [+0.01] tx: 142 # 8.13 [+0.02] rx: 142 # 8.13 [+0.00] rx: 100 # 8.15 [+0.01] OK # 8.15 [+0.00] # 8.33 [+0.18] raw qdisc bypass # 10.16 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 10.17 [+0.01] tx: 142 # 10.19 [+0.02] rx: 142 # 10.19 [+0.00] rx: 100 # 10.20 [+0.02] OK # 10.20 [+0.00] # 10.38 [+0.17] raw vlan # 12.17 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 12.18 [+0.01] tx: 146 # 12.19 [+0.01] rx: 100 # 12.20 [+0.01] OK # 12.20 [+0.00] # 12.38 [+0.18] raw vnet hdr # 14.21 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 14.21 [+0.01] tx: 152 # 14.22 [+0.01] rx: 142 # 14.22 [+0.00] rx: 100 # 14.24 [+0.02] OK # 14.24 [+0.00] # 14.42 [+0.18] raw csum_off # 16.28 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 16.29 [+0.01] tx: 152 # 16.31 [+0.02] rx: 142 # 16.31 [+0.00] rx: 100 # 16.32 [+0.02] OK # 16.32 [+0.00] # 16.51 [+0.18] raw csum_off with bad offset (expected to fail) # 18.34 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 18.35 [+0.01] ./psock_snd: write: Invalid argument # 18.57 [+0.22] raw min size # 20.42 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 20.43 [+0.01] tx: 42 # 20.45 [+0.02] rx: 0 # 20.47 [+0.02] OK # 20.47 [+0.00] # 20.64 [+0.17] raw mtu size # 22.47 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 22.48 [+0.01] tx: 1514 # 22.49 [+0.01] rx: 1472 # 22.50 [+0.02] OK # 22.50 [+0.00] # 22.68 [+0.18] raw mtu size + 1 (expected to fail) # 24.73 [+2.05] net.ipv4.conf.lo.accept_local = 1 # 24.73 [+0.01] ./psock_snd: write: Message too long # 25.00 [+0.26] raw vlan mtu size + 1 (expected to fail) # 26.84 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 26.84 [+0.01] ./psock_snd: write: Message too long # 27.07 [+0.23] dgram mtu size # 28.89 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 28.90 [+0.00] tx: 1500 # 28.91 [+0.02] rx: 1472 # 28.93 [+0.01] OK # 28.93 [+0.00] # 29.09 [+0.17] dgram mtu size + 1 (expected to fail) # 30.92 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 30.93 [+0.01] ./psock_snd: write: Message too long # 31.17 [+0.24] raw truncate hlen (expected to fail: does not arrive) # 32.98 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 32.98 [+0.00] tx: 14 # 33.10 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 33.30 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 35.13 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 35.13 [+0.01] ./psock_snd: write: Invalid argument # 35.34 [+0.21] raw gso min size # 37.14 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 37.14 [+0.00] tx: 1525 # 37.15 [+0.01] rx: 1473 # 37.17 [+0.02] OK # 37.17 [+0.00] # 37.36 [+0.19] raw gso max size # 39.14 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 39.15 [+0.01] tx: 65559 # 39.16 [+0.01] rx: 65507 # 39.17 [+0.01] OK # 39.17 [+0.00] # 39.35 [+0.18] raw gso max size + 1 (expected to fail) # 41.16 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 41.17 [+0.01] tx: 65560 # 41.28 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 41.48 [+0.20] 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__->