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 # 1.94 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 1.95 [+0.02] tx: 128 # 1.96 [+0.01] rx: 142 # 1.96 [+0.00] rx: 100 # 1.97 [+0.01] OK # 1.97 [+0.00] # 2.13 [+0.16] dgram bind # 3.89 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 3.89 [+0.00] tx: 128 # 3.91 [+0.02] rx: 142 # 3.91 [+0.00] rx: 100 # 3.93 [+0.02] OK # 3.93 [+0.00] # 4.10 [+0.17] raw # 5.91 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 5.91 [+0.00] tx: 142 # 5.92 [+0.01] rx: 142 # 5.92 [+0.00] rx: 100 # 5.94 [+0.02] OK # 5.94 [+0.00] # 6.12 [+0.18] raw bind # 8.02 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 8.03 [+0.01] tx: 142 # 8.05 [+0.02] rx: 142 # 8.05 [+0.00] rx: 100 # 8.06 [+0.02] OK # 8.06 [+0.00] # 8.25 [+0.19] raw qdisc bypass # 10.11 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 10.11 [+0.00] tx: 142 # 10.12 [+0.01] rx: 142 # 10.12 [+0.00] rx: 100 # 10.13 [+0.01] OK # 10.13 [+0.00] # 10.30 [+0.17] raw vlan # 12.08 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 12.08 [+0.00] tx: 146 # 12.10 [+0.02] rx: 100 # 12.11 [+0.01] OK # 12.11 [+0.00] # 12.30 [+0.18] raw vnet hdr # 14.09 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 14.10 [+0.00] tx: 152 # 14.12 [+0.02] rx: 142 # 14.12 [+0.00] rx: 100 # 14.13 [+0.01] OK # 14.13 [+0.00] # 14.31 [+0.18] raw csum_off # 16.12 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 16.13 [+0.01] tx: 152 # 16.14 [+0.01] rx: 142 # 16.14 [+0.00] rx: 100 # 16.16 [+0.02] OK # 16.16 [+0.00] # 16.33 [+0.18] raw csum_off with bad offset (expected to fail) # 18.12 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 18.13 [+0.01] ./psock_snd: write: Invalid argument # 18.35 [+0.22] raw min size # 20.13 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 20.14 [+0.00] tx: 42 # 20.15 [+0.01] rx: 0 # 20.17 [+0.02] OK # 20.17 [+0.00] # 20.35 [+0.18] raw mtu size # 22.12 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 22.12 [+0.01] tx: 1514 # 22.14 [+0.02] rx: 1472 # 22.16 [+0.02] OK # 22.16 [+0.00] # 22.35 [+0.18] raw mtu size + 1 (expected to fail) # 24.19 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 24.19 [+0.01] ./psock_snd: write: Message too long # 24.41 [+0.21] raw vlan mtu size + 1 (expected to fail) # 26.25 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 26.26 [+0.01] ./psock_snd: write: Message too long # 26.49 [+0.23] dgram mtu size # 28.32 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 28.32 [+0.01] tx: 1500 # 28.33 [+0.01] rx: 1472 # 28.35 [+0.02] OK # 28.35 [+0.00] # 28.53 [+0.19] dgram mtu size + 1 (expected to fail) # 30.40 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 30.40 [+0.01] ./psock_snd: write: Message too long # 30.62 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 32.49 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 32.50 [+0.00] tx: 14 # 32.61 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 32.82 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.70 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 34.71 [+0.01] ./psock_snd: write: Invalid argument # 34.92 [+0.21] raw gso min size # 36.76 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 36.77 [+0.01] tx: 1525 # 36.78 [+0.01] rx: 1473 # 36.80 [+0.02] OK # 36.80 [+0.00] # 36.98 [+0.18] raw gso max size # 38.83 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 38.84 [+0.01] tx: 65559 # 38.84 [+0.01] rx: 65507 # 38.86 [+0.02] OK # 38.86 [+0.00] # 39.05 [+0.19] raw gso max size + 1 (expected to fail) # 40.96 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 40.97 [+0.01] tx: 65560 # 41.10 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 41.30 [+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__->