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.18 [+0.18] dgram # 1.92 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 1.92 [+0.01] tx: 128 # 1.94 [+0.02] rx: 142 # 1.94 [+0.00] rx: 100 # 1.95 [+0.02] OK # 1.95 [+0.00] # 2.13 [+0.18] dgram bind # 3.94 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 3.94 [+0.00] tx: 128 # 3.95 [+0.01] rx: 142 # 3.96 [+0.00] rx: 100 # 3.96 [+0.01] OK # 3.96 [+0.00] # 4.15 [+0.19] raw # 5.95 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 5.95 [+0.00] tx: 142 # 5.96 [+0.01] rx: 142 # 5.96 [+0.00] rx: 100 # 5.97 [+0.01] OK # 5.97 [+0.00] # 6.15 [+0.18] raw bind # 7.91 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 7.91 [+0.00] tx: 142 # 7.92 [+0.01] rx: 142 # 7.92 [+0.00] rx: 100 # 7.93 [+0.01] OK # 7.93 [+0.00] # 8.12 [+0.19] raw qdisc bypass # 9.91 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 9.92 [+0.01] tx: 142 # 9.94 [+0.02] rx: 142 # 9.94 [+0.00] rx: 100 # 9.95 [+0.01] OK # 9.95 [+0.00] # 10.13 [+0.18] raw vlan # 11.92 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 11.93 [+0.01] tx: 146 # 11.94 [+0.01] rx: 100 # 11.95 [+0.01] OK # 11.95 [+0.00] # 12.13 [+0.18] raw vnet hdr # 13.93 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 13.93 [+0.01] tx: 152 # 13.95 [+0.02] rx: 142 # 13.95 [+0.00] rx: 100 # 13.96 [+0.01] OK # 13.96 [+0.00] # 14.14 [+0.18] raw csum_off # 15.91 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 15.91 [+0.00] tx: 152 # 15.93 [+0.02] rx: 142 # 15.93 [+0.00] rx: 100 # 15.94 [+0.01] OK # 15.94 [+0.00] # 16.13 [+0.19] raw csum_off with bad offset (expected to fail) # 17.93 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 17.94 [+0.00] ./psock_snd: write: Invalid argument # 18.16 [+0.22] raw min size # 19.95 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 19.96 [+0.00] tx: 42 # 19.97 [+0.01] rx: 0 # 19.97 [+0.01] OK # 19.97 [+0.00] # 20.16 [+0.19] raw mtu size # 21.98 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 21.98 [+0.00] tx: 1514 # 21.99 [+0.01] rx: 1472 # 22.00 [+0.01] OK # 22.00 [+0.00] # 22.17 [+0.18] raw mtu size + 1 (expected to fail) # 23.95 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 23.96 [+0.01] ./psock_snd: write: Message too long # 24.17 [+0.21] raw vlan mtu size + 1 (expected to fail) # 25.93 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 25.93 [+0.01] ./psock_snd: write: Message too long # 26.15 [+0.22] dgram mtu size # 27.97 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 27.97 [+0.00] tx: 1500 # 27.98 [+0.01] rx: 1472 # 28.00 [+0.02] OK # 28.00 [+0.00] # 28.17 [+0.17] dgram mtu size + 1 (expected to fail) # 29.96 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 29.97 [+0.00] ./psock_snd: write: Message too long # 30.19 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 31.93 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 31.94 [+0.01] tx: 14 # 32.05 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 32.24 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.98 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 33.98 [+0.00] ./psock_snd: write: Invalid argument # 34.19 [+0.21] raw gso min size # 36.00 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 36.01 [+0.01] tx: 1525 # 36.02 [+0.01] rx: 1473 # 36.03 [+0.01] OK # 36.03 [+0.00] # 36.22 [+0.19] raw gso max size # 38.07 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 38.07 [+0.01] tx: 65559 # 38.09 [+0.01] rx: 65507 # 38.10 [+0.01] OK # 38.10 [+0.00] # 38.28 [+0.18] raw gso max size + 1 (expected to fail) # 40.09 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 40.10 [+0.01] tx: 65560 # 40.21 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 40.41 [+0.20] 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__->