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.00 [+0.00] dgram # 0.89 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 0.90 [+0.01] tx: 128 # 0.91 [+0.01] rx: 142 # 0.91 [+0.00] rx: 100 # 0.92 [+0.02] OK # 0.92 [+0.00] # 1.02 [+0.10] dgram bind # 1.96 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 1.96 [+0.01] tx: 128 # 1.97 [+0.01] rx: 142 # 1.97 [+0.00] rx: 100 # 1.99 [+0.01] OK # 1.99 [+0.00] # 2.08 [+0.10] raw # 2.94 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 2.95 [+0.01] tx: 142 # 2.96 [+0.01] rx: 142 # 2.96 [+0.00] rx: 100 # 2.97 [+0.01] OK # 2.97 [+0.00] # 3.07 [+0.10] raw bind # 3.93 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 3.94 [+0.01] tx: 142 # 3.95 [+0.01] rx: 142 # 3.95 [+0.00] rx: 100 # 3.97 [+0.01] OK # 3.97 [+0.00] # 4.05 [+0.09] raw qdisc bypass # 4.92 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 4.94 [+0.02] tx: 142 # 4.96 [+0.02] rx: 142 # 4.96 [+0.00] rx: 100 # 4.98 [+0.02] OK # 4.98 [+0.00] # 5.10 [+0.12] raw vlan # 6.01 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 6.02 [+0.01] tx: 146 # 6.03 [+0.01] rx: 100 # 6.04 [+0.01] OK # 6.04 [+0.00] # 6.13 [+0.09] raw vnet hdr # 7.01 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 7.01 [+0.01] tx: 152 # 7.02 [+0.01] rx: 142 # 7.02 [+0.00] rx: 100 # 7.03 [+0.01] OK # 7.03 [+0.00] # 7.13 [+0.10] raw csum_off # 8.02 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 8.03 [+0.01] tx: 152 # 8.04 [+0.02] rx: 142 # 8.04 [+0.00] rx: 100 # 8.06 [+0.02] OK # 8.06 [+0.00] # 8.18 [+0.12] raw csum_off with bad offset (expected to fail) # 9.08 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 9.08 [+0.00] ./psock_snd: write: Invalid argument # 9.21 [+0.13] raw min size # 10.15 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 10.16 [+0.01] tx: 42 # 10.18 [+0.02] rx: 0 # 10.19 [+0.01] OK # 10.19 [+0.00] # 10.30 [+0.11] raw mtu size # 11.23 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 11.24 [+0.01] tx: 1514 # 11.25 [+0.01] rx: 1472 # 11.27 [+0.02] OK # 11.27 [+0.00] # 11.39 [+0.13] raw mtu size + 1 (expected to fail) # 12.34 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 12.35 [+0.01] ./psock_snd: write: Message too long # 12.50 [+0.15] raw vlan mtu size + 1 (expected to fail) # 13.41 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 13.41 [+0.01] ./psock_snd: write: Message too long # 13.53 [+0.12] dgram mtu size # 14.44 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 14.45 [+0.01] tx: 1500 # 14.47 [+0.02] rx: 1472 # 14.49 [+0.02] OK # 14.49 [+0.00] # 14.59 [+0.10] dgram mtu size + 1 (expected to fail) # 15.54 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 15.55 [+0.01] ./psock_snd: write: Message too long # 15.74 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 16.67 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 16.68 [+0.01] tx: 14 # 16.79 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 16.93 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 17.87 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 17.88 [+0.02] ./psock_snd: write: Invalid argument # 18.03 [+0.15] raw gso min size # 18.95 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 18.96 [+0.01] tx: 1525 # 18.97 [+0.01] rx: 1473 # 18.99 [+0.02] OK # 18.99 [+0.00] # 19.10 [+0.11] raw gso max size # 20.03 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 20.04 [+0.01] tx: 65559 # 20.05 [+0.01] rx: 65507 # 20.07 [+0.02] OK # 20.07 [+0.00] # 20.21 [+0.14] raw gso max size + 1 (expected to fail) # 21.14 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 21.15 [+0.01] tx: 65560 # 21.27 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.41 [+0.14] 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__->