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.11 [+0.11] dgram # 1.84 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 1.86 [+0.01] tx: 128 # 1.87 [+0.01] rx: 142 # 1.87 [+0.00] rx: 100 # 1.88 [+0.01] OK # 1.88 [+0.00] # 2.06 [+0.18] dgram bind # 3.98 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 3.99 [+0.00] tx: 128 # 4.00 [+0.02] rx: 142 # 4.01 [+0.00] rx: 100 # 4.02 [+0.02] OK # 4.02 [+0.00] # 4.19 [+0.17] raw # 5.97 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 5.98 [+0.01] tx: 142 # 5.99 [+0.01] rx: 142 # 5.99 [+0.00] rx: 100 # 6.00 [+0.01] OK # 6.00 [+0.00] # 6.17 [+0.18] raw bind # 7.93 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 7.94 [+0.00] tx: 142 # 7.94 [+0.01] rx: 142 # 7.94 [+0.00] rx: 100 # 7.96 [+0.02] OK # 7.96 [+0.00] # 8.14 [+0.19] raw qdisc bypass # 9.95 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 9.96 [+0.01] tx: 142 # 9.97 [+0.02] rx: 142 # 9.97 [+0.00] rx: 100 # 9.99 [+0.02] OK # 9.99 [+0.00] # 10.15 [+0.16] raw vlan # 11.96 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 11.96 [+0.00] tx: 146 # 11.97 [+0.01] rx: 100 # 11.97 [+0.01] OK # 11.97 [+0.00] # 12.15 [+0.18] raw vnet hdr # 13.86 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 13.87 [+0.01] tx: 152 # 13.90 [+0.02] rx: 142 # 13.90 [+0.00] rx: 100 # 13.91 [+0.02] OK # 13.91 [+0.00] # 14.10 [+0.18] raw csum_off # 15.79 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 15.80 [+0.01] tx: 152 # 15.82 [+0.02] rx: 142 # 15.82 [+0.00] rx: 100 # 15.83 [+0.02] OK # 15.83 [+0.00] # 16.00 [+0.17] raw csum_off with bad offset (expected to fail) # 17.78 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 17.79 [+0.00] ./psock_snd: write: Invalid argument # 18.03 [+0.24] raw min size # 19.85 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 19.86 [+0.01] tx: 42 # 19.87 [+0.01] rx: 0 # 19.89 [+0.02] OK # 19.89 [+0.00] # 20.05 [+0.17] raw mtu size # 21.84 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 21.85 [+0.00] tx: 1514 # 21.85 [+0.01] rx: 1472 # 21.87 [+0.02] OK # 21.87 [+0.00] # 22.06 [+0.19] raw mtu size + 1 (expected to fail) # 23.80 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 23.81 [+0.01] ./psock_snd: write: Message too long # 24.02 [+0.22] raw vlan mtu size + 1 (expected to fail) # 25.85 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 25.86 [+0.01] ./psock_snd: write: Message too long # 26.07 [+0.22] dgram mtu size # 27.83 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 27.84 [+0.01] tx: 1500 # 27.85 [+0.01] rx: 1472 # 27.86 [+0.02] OK # 27.86 [+0.00] # 28.04 [+0.17] dgram mtu size + 1 (expected to fail) # 29.77 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 29.77 [+0.01] ./psock_snd: write: Message too long # 29.96 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 31.73 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 31.73 [+0.00] tx: 14 # 31.85 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 32.04 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.79 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 33.80 [+0.01] ./psock_snd: write: Invalid argument # 34.05 [+0.25] raw gso min size # 35.92 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 35.93 [+0.01] tx: 1525 # 35.95 [+0.02] rx: 1473 # 35.98 [+0.03] OK # 35.98 [+0.00] # 36.15 [+0.18] raw gso max size # 37.97 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 37.98 [+0.01] tx: 65559 # 37.99 [+0.01] rx: 65507 # 38.01 [+0.02] OK # 38.01 [+0.00] # 38.19 [+0.18] raw gso max size + 1 (expected to fail) # 40.03 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 40.04 [+0.01] tx: 65560 # 40.15 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 40.38 [+0.23] 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__->