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.95 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 1.95 [+0.00] 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.93 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 3.93 [+0.01] tx: 128 # 3.94 [+0.01] rx: 142 # 3.94 [+0.00] rx: 100 # 3.96 [+0.02] OK # 3.96 [+0.00] # 4.14 [+0.18] raw # 5.92 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 5.92 [+0.00] tx: 142 # 5.94 [+0.02] rx: 142 # 5.94 [+0.00] rx: 100 # 5.96 [+0.02] OK # 5.96 [+0.00] # 6.14 [+0.19] raw bind # 7.88 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 7.88 [+0.00] tx: 142 # 7.89 [+0.02] rx: 142 # 7.89 [+0.00] rx: 100 # 7.91 [+0.01] OK # 7.91 [+0.00] # 8.08 [+0.17] raw qdisc bypass # 9.83 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 9.83 [+0.00] tx: 142 # 9.84 [+0.01] rx: 142 # 9.84 [+0.00] rx: 100 # 9.86 [+0.01] OK # 9.86 [+0.00] # 10.03 [+0.17] raw vlan # 11.75 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 11.76 [+0.01] tx: 146 # 11.78 [+0.02] rx: 100 # 11.80 [+0.02] OK # 11.80 [+0.00] # 11.98 [+0.18] raw vnet hdr # 13.71 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 13.72 [+0.00] tx: 152 # 13.74 [+0.02] rx: 142 # 13.74 [+0.00] rx: 100 # 13.76 [+0.02] OK # 13.76 [+0.00] # 13.92 [+0.16] raw csum_off # 15.65 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 15.66 [+0.01] tx: 152 # 15.67 [+0.01] rx: 142 # 15.67 [+0.00] rx: 100 # 15.68 [+0.02] OK # 15.68 [+0.00] # 15.86 [+0.18] raw csum_off with bad offset (expected to fail) # 17.59 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 17.60 [+0.01] ./psock_snd: write: Invalid argument # 17.79 [+0.20] raw min size # 19.54 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 19.55 [+0.01] tx: 42 # 19.55 [+0.01] rx: 0 # 19.57 [+0.01] OK # 19.57 [+0.00] # 19.76 [+0.19] raw mtu size # 21.52 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 21.52 [+0.00] tx: 1514 # 21.53 [+0.01] rx: 1472 # 21.53 [+0.01] OK # 21.53 [+0.00] # 21.70 [+0.16] raw mtu size + 1 (expected to fail) # 23.47 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 23.47 [+0.00] ./psock_snd: write: Message too long # 23.68 [+0.20] raw vlan mtu size + 1 (expected to fail) # 25.43 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 25.43 [+0.01] ./psock_snd: write: Message too long # 25.65 [+0.22] dgram mtu size # 27.39 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 27.39 [+0.00] tx: 1500 # 27.40 [+0.01] rx: 1472 # 27.42 [+0.02] OK # 27.42 [+0.00] # 27.60 [+0.18] dgram mtu size + 1 (expected to fail) # 29.32 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 29.33 [+0.01] ./psock_snd: write: Message too long # 29.53 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 31.23 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 31.23 [+0.00] tx: 14 # 31.35 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 31.52 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.23 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 33.24 [+0.00] ./psock_snd: write: Invalid argument # 33.44 [+0.21] raw gso min size # 35.24 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 35.25 [+0.01] tx: 1525 # 35.27 [+0.02] rx: 1473 # 35.29 [+0.02] OK # 35.29 [+0.00] # 35.47 [+0.18] raw gso max size # 37.28 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 37.29 [+0.01] tx: 65559 # 37.30 [+0.02] rx: 65507 # 37.32 [+0.01] OK # 37.32 [+0.00] # 37.50 [+0.18] raw gso max size + 1 (expected to fail) # 39.24 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 39.25 [+0.01] tx: 65560 # 39.38 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 39.59 [+0.21] 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__->