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.14 [+0.14] dgram # 1.93 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 1.93 [+0.00] tx: 128 # 1.94 [+0.01] rx: 142 # 1.94 [+0.00] rx: 100 # 1.94 [+0.01] OK # 1.95 [+0.00] # 2.12 [+0.17] dgram bind # 3.92 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 3.92 [+0.00] tx: 128 # 3.93 [+0.01] rx: 142 # 3.93 [+0.00] rx: 100 # 3.95 [+0.02] OK # 3.95 [+0.00] # 4.12 [+0.17] raw # 5.88 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 5.88 [+0.00] tx: 142 # 5.88 [+0.01] rx: 142 # 5.89 [+0.00] rx: 100 # 5.89 [+0.01] OK # 5.89 [+0.00] # 6.08 [+0.19] raw bind # 7.84 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 7.85 [+0.00] tx: 142 # 7.85 [+0.01] rx: 142 # 7.85 [+0.00] rx: 100 # 7.87 [+0.01] OK # 7.87 [+0.00] # 8.04 [+0.17] raw qdisc bypass # 9.79 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 9.80 [+0.00] tx: 142 # 9.81 [+0.01] rx: 142 # 9.81 [+0.00] rx: 100 # 9.83 [+0.02] OK # 9.83 [+0.00] # 10.01 [+0.18] raw vlan # 11.71 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 11.72 [+0.01] tx: 146 # 11.74 [+0.01] rx: 100 # 11.75 [+0.02] OK # 11.75 [+0.00] # 11.93 [+0.18] raw vnet hdr # 13.67 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 13.67 [+0.00] tx: 152 # 13.68 [+0.01] rx: 142 # 13.68 [+0.00] rx: 100 # 13.70 [+0.02] OK # 13.70 [+0.00] # 13.86 [+0.17] raw csum_off # 15.61 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 15.61 [+0.01] tx: 152 # 15.63 [+0.02] rx: 142 # 15.63 [+0.00] rx: 100 # 15.64 [+0.02] OK # 15.65 [+0.00] # 15.80 [+0.15] raw csum_off with bad offset (expected to fail) # 17.57 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 17.57 [+0.00] ./psock_snd: write: Invalid argument # 17.77 [+0.20] raw min size # 19.48 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 19.48 [+0.00] tx: 42 # 19.49 [+0.01] rx: 0 # 19.50 [+0.01] OK # 19.50 [+0.00] # 19.66 [+0.16] raw mtu size # 21.40 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 21.41 [+0.01] tx: 1514 # 21.42 [+0.01] rx: 1472 # 21.43 [+0.01] OK # 21.43 [+0.00] # 21.59 [+0.17] raw mtu size + 1 (expected to fail) # 23.30 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 23.30 [+0.00] ./psock_snd: write: Message too long # 23.49 [+0.19] raw vlan mtu size + 1 (expected to fail) # 25.20 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 25.21 [+0.01] ./psock_snd: write: Message too long # 25.44 [+0.23] dgram mtu size # 27.15 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 27.15 [+0.00] tx: 1500 # 27.16 [+0.01] rx: 1472 # 27.17 [+0.01] OK # 27.17 [+0.00] # 27.35 [+0.18] dgram mtu size + 1 (expected to fail) # 29.08 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 29.08 [+0.00] ./psock_snd: write: Message too long # 29.30 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 31.06 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 31.07 [+0.01] tx: 14 # 31.20 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 31.40 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.16 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 33.17 [+0.00] ./psock_snd: write: Invalid argument # 33.38 [+0.21] raw gso min size # 35.14 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 35.15 [+0.00] tx: 1525 # 35.15 [+0.01] rx: 1473 # 35.16 [+0.01] OK # 35.16 [+0.00] # 35.33 [+0.17] raw gso max size # 37.05 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 37.06 [+0.01] tx: 65559 # 37.08 [+0.02] rx: 65507 # 37.10 [+0.02] OK # 37.10 [+0.00] # 37.27 [+0.17] raw gso max size + 1 (expected to fail) # 39.01 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 39.03 [+0.01] tx: 65560 # 39.16 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 39.35 [+0.19] 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__->