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.15 [+0.15] dgram # 1.94 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 1.95 [+0.01] tx: 128 # 1.96 [+0.01] rx: 142 # 1.96 [+0.00] rx: 100 # 1.97 [+0.01] OK # 1.97 [+0.00] # 2.14 [+0.17] dgram bind # 3.96 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 3.97 [+0.00] tx: 128 # 3.97 [+0.01] rx: 142 # 3.97 [+0.00] rx: 100 # 3.98 [+0.01] OK # 3.98 [+0.00] # 4.15 [+0.17] raw # 5.97 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 5.98 [+0.01] tx: 142 # 5.98 [+0.01] rx: 142 # 5.98 [+0.00] rx: 100 # 5.99 [+0.01] OK # 5.99 [+0.00] # 6.18 [+0.18] raw bind # 8.00 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 8.01 [+0.01] tx: 142 # 8.02 [+0.01] rx: 142 # 8.02 [+0.00] rx: 100 # 8.03 [+0.01] OK # 8.03 [+0.00] # 8.20 [+0.17] raw qdisc bypass # 9.91 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 9.91 [+0.01] tx: 142 # 9.93 [+0.01] rx: 142 # 9.93 [+0.00] rx: 100 # 9.95 [+0.02] OK # 9.95 [+0.00] # 10.12 [+0.17] raw vlan # 11.81 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 11.81 [+0.00] tx: 146 # 11.82 [+0.01] rx: 100 # 11.84 [+0.02] OK # 11.84 [+0.00] # 12.01 [+0.17] raw vnet hdr # 13.73 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 13.74 [+0.00] tx: 152 # 13.75 [+0.01] rx: 142 # 13.75 [+0.00] rx: 100 # 13.76 [+0.01] OK # 13.76 [+0.00] # 13.92 [+0.16] raw csum_off # 15.64 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 15.64 [+0.00] tx: 152 # 15.65 [+0.01] rx: 142 # 15.65 [+0.00] rx: 100 # 15.66 [+0.01] OK # 15.66 [+0.00] # 15.82 [+0.16] raw csum_off with bad offset (expected to fail) # 17.55 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 17.56 [+0.01] ./psock_snd: write: Invalid argument # 17.76 [+0.20] raw min size # 19.46 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 19.47 [+0.01] tx: 42 # 19.48 [+0.01] rx: 0 # 19.49 [+0.01] OK # 19.49 [+0.00] # 19.66 [+0.17] raw mtu size # 21.37 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 21.38 [+0.00] tx: 1514 # 21.38 [+0.01] rx: 1472 # 21.40 [+0.01] OK # 21.40 [+0.00] # 21.56 [+0.17] raw mtu size + 1 (expected to fail) # 23.28 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 23.29 [+0.00] ./psock_snd: write: Message too long # 23.50 [+0.21] raw vlan mtu size + 1 (expected to fail) # 25.25 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 25.26 [+0.01] ./psock_snd: write: Message too long # 25.48 [+0.22] dgram mtu size # 27.21 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 27.21 [+0.01] tx: 1500 # 27.22 [+0.01] rx: 1472 # 27.23 [+0.01] OK # 27.23 [+0.00] # 27.39 [+0.16] dgram mtu size + 1 (expected to fail) # 29.13 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 29.13 [+0.00] ./psock_snd: write: Message too long # 29.32 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 31.05 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 31.06 [+0.01] tx: 14 # 31.18 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 31.35 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.09 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 33.09 [+0.00] ./psock_snd: write: Invalid argument # 33.31 [+0.22] raw gso min size # 35.01 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 35.02 [+0.00] tx: 1525 # 35.04 [+0.02] rx: 1473 # 35.05 [+0.02] OK # 35.05 [+0.00] # 35.22 [+0.17] raw gso max size # 36.93 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 36.95 [+0.01] tx: 65559 # 36.97 [+0.02] rx: 65507 # 36.99 [+0.02] OK # 36.99 [+0.00] # 37.15 [+0.16] raw gso max size + 1 (expected to fail) # 38.84 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 38.85 [+0.01] tx: 65560 # 38.97 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 39.16 [+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__->