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.10 [+0.10] dgram # 2.04 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 2.05 [+0.01] tx: 128 # 2.06 [+0.02] rx: 142 # 2.06 [+0.00] rx: 100 # 2.08 [+0.02] OK # 2.08 [+0.00] # 2.26 [+0.18] dgram bind # 4.14 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 4.14 [+0.01] tx: 128 # 4.16 [+0.02] rx: 142 # 4.16 [+0.00] rx: 100 # 4.18 [+0.02] OK # 4.18 [+0.00] # 4.36 [+0.18] raw # 6.18 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 6.19 [+0.00] tx: 142 # 6.19 [+0.01] rx: 142 # 6.20 [+0.00] rx: 100 # 6.20 [+0.01] OK # 6.21 [+0.00] # 6.38 [+0.17] raw bind # 8.29 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 8.29 [+0.01] tx: 142 # 8.30 [+0.01] rx: 142 # 8.30 [+0.00] rx: 100 # 8.31 [+0.01] OK # 8.31 [+0.00] # 8.48 [+0.17] raw qdisc bypass # 10.36 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 10.37 [+0.01] tx: 142 # 10.38 [+0.01] rx: 142 # 10.38 [+0.00] rx: 100 # 10.39 [+0.01] OK # 10.39 [+0.00] # 10.57 [+0.18] raw vlan # 12.51 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 12.52 [+0.00] tx: 146 # 12.53 [+0.01] rx: 100 # 12.53 [+0.01] OK # 12.53 [+0.00] # 12.72 [+0.19] raw vnet hdr # 14.65 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 14.65 [+0.01] tx: 152 # 14.66 [+0.01] rx: 142 # 14.66 [+0.00] rx: 100 # 14.68 [+0.02] OK # 14.68 [+0.00] # 14.87 [+0.18] raw csum_off # 16.79 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 16.80 [+0.01] tx: 152 # 16.81 [+0.01] rx: 142 # 16.81 [+0.00] rx: 100 # 16.81 [+0.01] OK # 16.81 [+0.00] # 16.99 [+0.18] raw csum_off with bad offset (expected to fail) # 18.93 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 18.93 [+0.00] ./psock_snd: write: Invalid argument # 19.15 [+0.22] raw min size # 21.08 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 21.08 [+0.00] tx: 42 # 21.09 [+0.01] rx: 0 # 21.11 [+0.01] OK # 21.11 [+0.00] # 21.29 [+0.18] raw mtu size # 23.19 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 23.20 [+0.01] tx: 1514 # 23.22 [+0.02] rx: 1472 # 23.23 [+0.02] OK # 23.24 [+0.00] # 23.42 [+0.18] raw mtu size + 1 (expected to fail) # 25.29 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 25.29 [+0.00] ./psock_snd: write: Message too long # 25.52 [+0.23] raw vlan mtu size + 1 (expected to fail) # 27.37 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 27.37 [+0.00] ./psock_snd: write: Message too long # 27.59 [+0.21] dgram mtu size # 29.50 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 29.51 [+0.01] tx: 1500 # 29.51 [+0.01] rx: 1472 # 29.53 [+0.01] OK # 29.53 [+0.00] # 29.71 [+0.18] dgram mtu size + 1 (expected to fail) # 31.59 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 31.59 [+0.00] ./psock_snd: write: Message too long # 31.82 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 33.75 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 33.75 [+0.01] tx: 14 # 33.87 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 34.08 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 36.04 [+1.96] net.ipv4.conf.lo.accept_local = 1 # 36.04 [+0.00] ./psock_snd: write: Invalid argument # 36.28 [+0.24] raw gso min size # 38.20 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 38.21 [+0.01] tx: 1525 # 38.21 [+0.01] rx: 1473 # 38.24 [+0.03] OK # 38.24 [+0.00] # 38.42 [+0.18] raw gso max size # 40.30 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 40.31 [+0.01] tx: 65559 # 40.33 [+0.02] rx: 65507 # 40.34 [+0.02] OK # 40.34 [+0.00] # 40.53 [+0.19] raw gso max size + 1 (expected to fail) # 42.34 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 42.35 [+0.01] tx: 65560 # 42.48 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 42.67 [+0.19] 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__->