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.69 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 1.70 [+0.00] tx: 128 # 1.70 [+0.01] rx: 142 # 1.70 [+0.00] rx: 100 # 1.71 [+0.01] OK # 1.71 [+0.00] # 1.88 [+0.17] dgram bind # 3.47 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 3.47 [+0.00] tx: 128 # 3.48 [+0.01] rx: 142 # 3.48 [+0.00] rx: 100 # 3.49 [+0.01] OK # 3.49 [+0.00] # 3.64 [+0.15] raw # 5.25 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 5.25 [+0.00] tx: 142 # 5.26 [+0.01] rx: 142 # 5.26 [+0.00] rx: 100 # 5.27 [+0.01] OK # 5.27 [+0.00] # 5.44 [+0.17] raw bind # 7.03 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 7.04 [+0.01] tx: 142 # 7.05 [+0.01] rx: 142 # 7.05 [+0.00] rx: 100 # 7.05 [+0.01] OK # 7.05 [+0.00] # 7.22 [+0.16] raw qdisc bypass # 8.84 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 8.85 [+0.01] tx: 142 # 8.86 [+0.01] rx: 142 # 8.86 [+0.00] rx: 100 # 8.87 [+0.01] OK # 8.87 [+0.00] # 9.02 [+0.15] raw vlan # 10.64 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 10.65 [+0.01] tx: 146 # 10.65 [+0.01] rx: 100 # 10.67 [+0.01] OK # 10.67 [+0.00] # 10.82 [+0.15] raw vnet hdr # 12.48 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 12.49 [+0.01] tx: 152 # 12.50 [+0.01] rx: 142 # 12.50 [+0.00] rx: 100 # 12.52 [+0.02] OK # 12.52 [+0.00] # 12.67 [+0.15] raw csum_off # 14.28 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 14.28 [+0.00] tx: 152 # 14.30 [+0.02] rx: 142 # 14.30 [+0.00] rx: 100 # 14.33 [+0.02] OK # 14.33 [+0.00] # 14.48 [+0.15] raw csum_off with bad offset (expected to fail) # 16.12 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 16.13 [+0.00] ./psock_snd: write: Invalid argument # 16.34 [+0.21] raw min size # 17.94 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 17.95 [+0.00] tx: 42 # 17.96 [+0.02] rx: 0 # 17.98 [+0.02] OK # 17.98 [+0.00] # 18.15 [+0.17] raw mtu size # 19.78 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 19.79 [+0.00] tx: 1514 # 19.80 [+0.01] rx: 1472 # 19.82 [+0.02] OK # 19.82 [+0.00] # 19.97 [+0.15] raw mtu size + 1 (expected to fail) # 21.59 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 21.60 [+0.00] ./psock_snd: write: Message too long # 21.79 [+0.20] raw vlan mtu size + 1 (expected to fail) # 23.45 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 23.45 [+0.00] ./psock_snd: write: Message too long # 23.63 [+0.18] dgram mtu size # 25.26 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 25.27 [+0.01] tx: 1500 # 25.27 [+0.01] rx: 1472 # 25.28 [+0.01] OK # 25.28 [+0.00] # 25.45 [+0.16] dgram mtu size + 1 (expected to fail) # 27.12 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 27.13 [+0.01] ./psock_snd: write: Message too long # 27.32 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 28.93 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 28.93 [+0.00] tx: 14 # 29.04 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.24 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 30.85 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 30.85 [+0.00] ./psock_snd: write: Invalid argument # 31.05 [+0.20] raw gso min size # 32.69 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 32.69 [+0.01] tx: 1525 # 32.72 [+0.02] rx: 1473 # 32.73 [+0.02] OK # 32.73 [+0.00] # 32.89 [+0.15] raw gso max size # 34.51 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 34.52 [+0.01] tx: 65559 # 34.54 [+0.02] rx: 65507 # 34.56 [+0.02] OK # 34.56 [+0.00] # 34.73 [+0.16] raw gso max size + 1 (expected to fail) # 36.34 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 36.35 [+0.01] tx: 65560 # 36.46 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 36.63 [+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__->