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.12 [+0.12] dgram # 1.88 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 1.90 [+0.01] tx: 128 # 1.92 [+0.02] rx: 142 # 1.92 [+0.00] rx: 100 # 1.93 [+0.02] OK # 1.94 [+0.00] # 2.11 [+0.18] dgram bind # 3.92 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 3.92 [+0.01] tx: 128 # 3.94 [+0.01] rx: 142 # 3.94 [+0.00] rx: 100 # 3.95 [+0.02] OK # 3.95 [+0.00] # 4.13 [+0.17] raw # 5.89 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 5.90 [+0.00] tx: 142 # 5.90 [+0.01] rx: 142 # 5.90 [+0.00] rx: 100 # 5.92 [+0.01] OK # 5.92 [+0.00] # 6.10 [+0.19] raw bind # 7.88 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 7.89 [+0.01] tx: 142 # 7.91 [+0.02] rx: 142 # 7.91 [+0.00] rx: 100 # 7.92 [+0.01] OK # 7.92 [+0.00] # 8.09 [+0.17] raw qdisc bypass # 9.89 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 9.89 [+0.01] tx: 142 # 9.90 [+0.01] rx: 142 # 9.90 [+0.00] rx: 100 # 9.91 [+0.01] OK # 9.91 [+0.00] # 10.08 [+0.17] raw vlan # 11.90 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 11.91 [+0.01] tx: 146 # 11.93 [+0.02] rx: 100 # 11.94 [+0.02] OK # 11.94 [+0.00] # 12.12 [+0.17] raw vnet hdr # 13.93 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 13.93 [+0.00] tx: 152 # 13.94 [+0.01] rx: 142 # 13.94 [+0.00] rx: 100 # 13.95 [+0.01] OK # 13.95 [+0.00] # 14.12 [+0.18] raw csum_off # 15.91 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 15.91 [+0.00] tx: 152 # 15.92 [+0.01] rx: 142 # 15.92 [+0.00] rx: 100 # 15.93 [+0.01] OK # 15.93 [+0.00] # 16.12 [+0.19] raw csum_off with bad offset (expected to fail) # 17.91 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 17.92 [+0.01] ./psock_snd: write: Invalid argument # 18.12 [+0.20] raw min size # 19.95 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 19.96 [+0.01] tx: 42 # 19.98 [+0.02] rx: 0 # 19.99 [+0.02] OK # 19.99 [+0.00] # 20.17 [+0.18] raw mtu size # 22.01 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 22.01 [+0.01] tx: 1514 # 22.03 [+0.02] rx: 1472 # 22.05 [+0.02] OK # 22.05 [+0.00] # 22.23 [+0.18] raw mtu size + 1 (expected to fail) # 24.00 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 24.01 [+0.01] ./psock_snd: write: Message too long # 24.22 [+0.21] raw vlan mtu size + 1 (expected to fail) # 25.99 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 25.99 [+0.01] ./psock_snd: write: Message too long # 26.19 [+0.19] dgram mtu size # 27.93 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 27.94 [+0.01] tx: 1500 # 27.95 [+0.01] rx: 1472 # 27.97 [+0.02] OK # 27.97 [+0.00] # 28.14 [+0.17] dgram mtu size + 1 (expected to fail) # 29.90 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 29.90 [+0.00] ./psock_snd: write: Message too long # 30.12 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 31.95 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 31.95 [+0.01] tx: 14 # 32.08 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 32.29 [+0.22] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.13 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 34.14 [+0.01] ./psock_snd: write: Invalid argument # 34.38 [+0.24] raw gso min size # 36.23 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 36.23 [+0.00] tx: 1525 # 36.24 [+0.01] rx: 1473 # 36.26 [+0.02] OK # 36.26 [+0.00] # 36.45 [+0.19] raw gso max size # 38.25 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 38.26 [+0.01] tx: 65559 # 38.27 [+0.02] rx: 65507 # 38.29 [+0.02] OK # 38.29 [+0.00] # 38.48 [+0.19] raw gso max size + 1 (expected to fail) # 40.26 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 40.27 [+0.01] tx: 65560 # 40.40 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 40.62 [+0.22] 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__->