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.07 [+0.07] dgram # 1.05 [+0.98] net.ipv4.conf.lo.accept_local = 1 # 1.06 [+0.01] tx: 128 # 1.06 [+0.01] rx: 142 # 1.07 [+0.00] rx: 100 # 1.07 [+0.01] OK # 1.07 [+0.00] # 1.22 [+0.15] dgram bind # 2.32 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 2.32 [+0.01] tx: 128 # 2.33 [+0.01] rx: 142 # 2.33 [+0.00] rx: 100 # 2.35 [+0.01] OK # 2.35 [+0.00] # 2.46 [+0.12] raw # 3.44 [+0.98] net.ipv4.conf.lo.accept_local = 1 # 3.45 [+0.01] tx: 142 # 3.46 [+0.01] rx: 142 # 3.46 [+0.00] rx: 100 # 3.48 [+0.02] OK # 3.48 [+0.00] # 3.58 [+0.10] raw bind # 4.58 [+1.00] net.ipv4.conf.lo.accept_local = 1 # 4.59 [+0.01] tx: 142 # 4.59 [+0.01] rx: 142 # 4.59 [+0.00] rx: 100 # 4.61 [+0.02] OK # 4.61 [+0.00] # 4.71 [+0.10] raw qdisc bypass # 5.64 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 5.64 [+0.01] tx: 142 # 5.65 [+0.01] rx: 142 # 5.65 [+0.00] rx: 100 # 5.67 [+0.02] OK # 5.67 [+0.00] # 5.76 [+0.09] raw vlan # 6.68 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 6.69 [+0.01] tx: 146 # 6.69 [+0.01] rx: 100 # 6.71 [+0.02] OK # 6.71 [+0.00] # 6.82 [+0.11] raw vnet hdr # 7.79 [+0.97] net.ipv4.conf.lo.accept_local = 1 # 7.80 [+0.01] tx: 152 # 7.80 [+0.01] rx: 142 # 7.81 [+0.00] rx: 100 # 7.81 [+0.01] OK # 7.81 [+0.00] # 7.91 [+0.10] raw csum_off # 8.89 [+0.97] net.ipv4.conf.lo.accept_local = 1 # 8.89 [+0.01] tx: 152 # 8.91 [+0.01] rx: 142 # 8.91 [+0.00] rx: 100 # 8.93 [+0.02] OK # 8.93 [+0.00] # 9.04 [+0.11] raw csum_off with bad offset (expected to fail) # 9.92 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 9.93 [+0.01] ./psock_snd: write: Invalid argument # 10.08 [+0.14] raw min size # 10.98 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 10.98 [+0.01] tx: 42 # 11.00 [+0.01] rx: 0 # 11.01 [+0.01] OK # 11.01 [+0.00] # 11.12 [+0.12] raw mtu size # 12.06 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 12.07 [+0.01] tx: 1514 # 12.07 [+0.01] rx: 1472 # 12.09 [+0.02] OK # 12.09 [+0.00] # 12.20 [+0.11] raw mtu size + 1 (expected to fail) # 13.15 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 13.16 [+0.01] ./psock_snd: write: Message too long # 13.30 [+0.14] raw vlan mtu size + 1 (expected to fail) # 14.29 [+0.99] net.ipv4.conf.lo.accept_local = 1 # 14.30 [+0.01] ./psock_snd: write: Message too long # 14.45 [+0.15] dgram mtu size # 15.41 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 15.41 [+0.01] tx: 1500 # 15.42 [+0.01] rx: 1472 # 15.44 [+0.02] OK # 15.44 [+0.00] # 15.54 [+0.11] dgram mtu size + 1 (expected to fail) # 16.47 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 16.47 [+0.01] ./psock_snd: write: Message too long # 16.62 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 17.53 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 17.54 [+0.01] tx: 14 # 17.65 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 17.80 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 18.74 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 18.75 [+0.01] ./psock_snd: write: Invalid argument # 18.87 [+0.12] raw gso min size # 19.84 [+0.97] net.ipv4.conf.lo.accept_local = 1 # 19.84 [+0.01] tx: 1525 # 19.85 [+0.01] rx: 1473 # 19.87 [+0.02] OK # 19.87 [+0.00] # 19.95 [+0.08] raw gso max size # 20.78 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 20.79 [+0.01] tx: 65559 # 20.80 [+0.01] rx: 65507 # 20.82 [+0.01] OK # 20.82 [+0.00] # 20.91 [+0.09] raw gso max size + 1 (expected to fail) # 21.72 [+0.81] net.ipv4.conf.lo.accept_local = 1 # 21.74 [+0.02] tx: 65560 # 21.85 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.97 [+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__->