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.01 [+0.01] dgram # 0.77 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 0.78 [+0.00] tx: 128 # 0.80 [+0.02] rx: 142 # 0.80 [+0.00] rx: 100 # 0.81 [+0.02] OK # 0.82 [+0.00] # 0.89 [+0.08] dgram bind # 1.68 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 1.69 [+0.00] tx: 128 # 1.70 [+0.01] rx: 142 # 1.70 [+0.00] rx: 100 # 1.70 [+0.01] OK # 1.70 [+0.00] # 1.80 [+0.09] raw # 2.56 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 2.57 [+0.00] tx: 142 # 2.58 [+0.02] rx: 142 # 2.58 [+0.00] rx: 100 # 2.60 [+0.02] OK # 2.60 [+0.00] # 2.69 [+0.09] raw bind # 3.48 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 3.48 [+0.01] tx: 142 # 3.49 [+0.01] rx: 142 # 3.49 [+0.00] rx: 100 # 3.50 [+0.01] OK # 3.50 [+0.00] # 3.59 [+0.09] raw qdisc bypass # 4.37 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 4.38 [+0.01] tx: 142 # 4.38 [+0.01] rx: 142 # 4.38 [+0.00] rx: 100 # 4.39 [+0.01] OK # 4.39 [+0.00] # 4.48 [+0.09] raw vlan # 5.27 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 5.27 [+0.01] tx: 146 # 5.28 [+0.01] rx: 100 # 5.30 [+0.02] OK # 5.30 [+0.00] # 5.39 [+0.09] raw vnet hdr # 6.18 [+0.80] net.ipv4.conf.lo.accept_local = 1 # 6.20 [+0.01] tx: 152 # 6.20 [+0.01] rx: 142 # 6.20 [+0.00] rx: 100 # 6.22 [+0.02] OK # 6.22 [+0.00] # 6.30 [+0.08] raw csum_off # 7.11 [+0.81] net.ipv4.conf.lo.accept_local = 1 # 7.11 [+0.00] tx: 152 # 7.12 [+0.01] rx: 142 # 7.12 [+0.00] rx: 100 # 7.13 [+0.01] OK # 7.13 [+0.00] # 7.22 [+0.09] raw csum_off with bad offset (expected to fail) # 7.98 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 8.00 [+0.02] ./psock_snd: write: Invalid argument # 8.10 [+0.10] raw min size # 8.88 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 8.89 [+0.01] tx: 42 # 8.91 [+0.02] rx: 0 # 8.93 [+0.02] OK # 8.93 [+0.00] # 9.00 [+0.08] raw mtu size # 9.77 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 9.78 [+0.01] tx: 1514 # 9.80 [+0.01] rx: 1472 # 9.81 [+0.02] OK # 9.81 [+0.00] # 9.90 [+0.08] raw mtu size + 1 (expected to fail) # 10.68 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 10.69 [+0.00] ./psock_snd: write: Message too long # 10.80 [+0.11] raw vlan mtu size + 1 (expected to fail) # 11.59 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 11.59 [+0.01] ./psock_snd: write: Message too long # 11.73 [+0.14] dgram mtu size # 12.51 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 12.51 [+0.01] tx: 1500 # 12.53 [+0.02] rx: 1472 # 12.54 [+0.02] OK # 12.55 [+0.00] # 12.63 [+0.08] dgram mtu size + 1 (expected to fail) # 13.41 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 13.42 [+0.00] ./psock_snd: write: Message too long # 13.53 [+0.12] raw truncate hlen (expected to fail: does not arrive) # 14.31 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 14.31 [+0.01] tx: 14 # 14.43 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 14.54 [+0.11] raw truncate hlen - 1 (expected to fail: EINVAL) # 15.32 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 15.32 [+0.01] ./psock_snd: write: Invalid argument # 15.46 [+0.14] raw gso min size # 16.24 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 16.24 [+0.01] tx: 1525 # 16.25 [+0.01] rx: 1473 # 16.26 [+0.01] OK # 16.26 [+0.00] # 16.34 [+0.08] raw gso max size # 17.11 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 17.11 [+0.01] tx: 65559 # 17.13 [+0.01] rx: 65507 # 17.14 [+0.02] OK # 17.14 [+0.00] # 17.24 [+0.10] raw gso max size + 1 (expected to fail) # 18.01 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 18.02 [+0.01] tx: 65560 # 18.14 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 18.25 [+0.11] 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__->