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.73 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 1.74 [+0.01] tx: 128 # 1.76 [+0.02] rx: 142 # 1.76 [+0.00] rx: 100 # 1.77 [+0.02] OK # 1.77 [+0.00] # 1.93 [+0.16] dgram bind # 3.51 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 3.52 [+0.00] tx: 128 # 3.52 [+0.01] rx: 142 # 3.53 [+0.00] rx: 100 # 3.54 [+0.02] OK # 3.54 [+0.00] # 3.71 [+0.17] raw # 5.33 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 5.34 [+0.00] tx: 142 # 5.35 [+0.01] rx: 142 # 5.35 [+0.00] rx: 100 # 5.36 [+0.01] OK # 5.36 [+0.00] # 5.51 [+0.16] raw bind # 7.16 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 7.17 [+0.00] tx: 142 # 7.19 [+0.02] rx: 142 # 7.19 [+0.00] rx: 100 # 7.20 [+0.02] OK # 7.20 [+0.00] # 7.36 [+0.16] raw qdisc bypass # 9.08 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 9.08 [+0.00] tx: 142 # 9.09 [+0.01] rx: 142 # 9.09 [+0.00] rx: 100 # 9.10 [+0.01] OK # 9.10 [+0.00] # 9.27 [+0.17] raw vlan # 10.88 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 10.88 [+0.01] tx: 146 # 10.90 [+0.02] rx: 100 # 10.92 [+0.02] OK # 10.92 [+0.00] # 11.07 [+0.15] raw vnet hdr # 12.68 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 12.69 [+0.01] tx: 152 # 12.70 [+0.02] rx: 142 # 12.70 [+0.00] rx: 100 # 12.72 [+0.02] OK # 12.72 [+0.00] # 12.87 [+0.15] raw csum_off # 14.47 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 14.47 [+0.00] tx: 152 # 14.48 [+0.01] rx: 142 # 14.48 [+0.00] rx: 100 # 14.49 [+0.01] OK # 14.49 [+0.00] # 14.65 [+0.16] raw csum_off with bad offset (expected to fail) # 16.25 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 16.25 [+0.00] ./psock_snd: write: Invalid argument # 16.44 [+0.19] raw min size # 18.05 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 18.06 [+0.01] tx: 42 # 18.07 [+0.01] rx: 0 # 18.08 [+0.01] OK # 18.08 [+0.00] # 18.23 [+0.15] raw mtu size # 19.82 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 19.82 [+0.00] tx: 1514 # 19.83 [+0.01] rx: 1472 # 19.84 [+0.01] OK # 19.84 [+0.00] # 20.00 [+0.15] raw mtu size + 1 (expected to fail) # 21.57 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 21.58 [+0.01] ./psock_snd: write: Message too long # 21.78 [+0.20] raw vlan mtu size + 1 (expected to fail) # 23.38 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 23.38 [+0.01] ./psock_snd: write: Message too long # 23.58 [+0.20] dgram mtu size # 25.17 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 25.17 [+0.00] tx: 1500 # 25.18 [+0.01] rx: 1472 # 25.20 [+0.02] OK # 25.20 [+0.00] # 25.37 [+0.17] dgram mtu size + 1 (expected to fail) # 26.97 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 26.97 [+0.01] ./psock_snd: write: Message too long # 27.16 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 28.80 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 28.80 [+0.00] tx: 14 # 28.92 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.10 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 30.68 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 30.69 [+0.01] ./psock_snd: write: Invalid argument # 30.90 [+0.21] raw gso min size # 32.49 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 32.49 [+0.01] tx: 1525 # 32.51 [+0.02] rx: 1473 # 32.54 [+0.02] OK # 32.54 [+0.00] # 32.70 [+0.16] raw gso max size # 34.27 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 34.28 [+0.01] tx: 65559 # 34.30 [+0.01] rx: 65507 # 34.32 [+0.02] OK # 34.32 [+0.00] # 34.47 [+0.15] raw gso max size + 1 (expected to fail) # 36.06 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 36.07 [+0.01] tx: 65560 # 36.20 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 36.38 [+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__->