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.09 [+0.09] dgram # 1.78 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 1.79 [+0.01] tx: 128 # 1.81 [+0.02] rx: 142 # 1.81 [+0.00] rx: 100 # 1.82 [+0.01] OK # 1.82 [+0.00] # 2.00 [+0.17] dgram bind # 3.62 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 3.63 [+0.01] tx: 128 # 3.63 [+0.01] rx: 142 # 3.63 [+0.00] rx: 100 # 3.64 [+0.01] OK # 3.64 [+0.00] # 3.82 [+0.17] raw # 5.46 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 5.47 [+0.00] tx: 142 # 5.49 [+0.02] rx: 142 # 5.49 [+0.00] rx: 100 # 5.50 [+0.01] OK # 5.50 [+0.00] # 5.66 [+0.16] raw bind # 7.35 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 7.36 [+0.00] tx: 142 # 7.37 [+0.02] rx: 142 # 7.38 [+0.00] rx: 100 # 7.39 [+0.02] OK # 7.39 [+0.00] # 7.55 [+0.16] raw qdisc bypass # 9.21 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 9.21 [+0.00] tx: 142 # 9.22 [+0.01] rx: 142 # 9.22 [+0.00] rx: 100 # 9.24 [+0.02] OK # 9.24 [+0.00] # 9.40 [+0.16] raw vlan # 11.06 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 11.07 [+0.00] tx: 146 # 11.08 [+0.01] rx: 100 # 11.10 [+0.02] OK # 11.10 [+0.00] # 11.25 [+0.15] raw vnet hdr # 12.93 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 12.95 [+0.01] tx: 152 # 12.96 [+0.02] rx: 142 # 12.96 [+0.00] rx: 100 # 12.98 [+0.02] OK # 12.98 [+0.00] # 13.13 [+0.15] raw csum_off # 14.79 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 14.79 [+0.00] tx: 152 # 14.80 [+0.01] rx: 142 # 14.80 [+0.00] rx: 100 # 14.81 [+0.01] OK # 14.81 [+0.00] # 14.98 [+0.16] raw csum_off with bad offset (expected to fail) # 16.66 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 16.66 [+0.01] ./psock_snd: write: Invalid argument # 16.87 [+0.20] raw min size # 18.55 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 18.55 [+0.00] tx: 42 # 18.56 [+0.01] rx: 0 # 18.57 [+0.01] OK # 18.57 [+0.00] # 18.73 [+0.16] raw mtu size # 20.43 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 20.43 [+0.00] tx: 1514 # 20.44 [+0.01] rx: 1472 # 20.46 [+0.02] OK # 20.46 [+0.00] # 20.63 [+0.17] raw mtu size + 1 (expected to fail) # 22.34 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 22.35 [+0.00] ./psock_snd: write: Message too long # 22.57 [+0.22] raw vlan mtu size + 1 (expected to fail) # 24.28 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 24.29 [+0.01] ./psock_snd: write: Message too long # 24.50 [+0.21] dgram mtu size # 26.22 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 26.23 [+0.01] tx: 1500 # 26.24 [+0.01] rx: 1472 # 26.25 [+0.01] OK # 26.25 [+0.00] # 26.42 [+0.17] dgram mtu size + 1 (expected to fail) # 28.09 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 28.09 [+0.00] ./psock_snd: write: Message too long # 28.27 [+0.18] raw truncate hlen (expected to fail: does not arrive) # 29.96 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 29.96 [+0.01] tx: 14 # 30.07 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 30.25 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 31.96 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 31.96 [+0.00] ./psock_snd: write: Invalid argument # 32.15 [+0.19] raw gso min size # 33.82 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 33.83 [+0.00] tx: 1525 # 33.85 [+0.02] rx: 1473 # 33.86 [+0.02] OK # 33.86 [+0.00] # 34.04 [+0.17] raw gso max size # 35.77 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 35.78 [+0.01] tx: 65559 # 35.81 [+0.03] rx: 65507 # 35.82 [+0.02] OK # 35.82 [+0.00] # 35.99 [+0.17] raw gso max size + 1 (expected to fail) # 37.73 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 37.74 [+0.01] tx: 65560 # 37.87 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 38.05 [+0.18] 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__->