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.08 [+0.08] dgram # 1.67 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 1.68 [+0.01] tx: 128 # 1.70 [+0.02] rx: 142 # 1.70 [+0.00] rx: 100 # 1.71 [+0.01] OK # 1.71 [+0.00] # 1.88 [+0.16] dgram bind # 3.48 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 3.49 [+0.01] tx: 128 # 3.51 [+0.02] rx: 142 # 3.51 [+0.00] rx: 100 # 3.53 [+0.02] OK # 3.53 [+0.00] # 3.68 [+0.15] raw # 5.27 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 5.28 [+0.01] tx: 142 # 5.30 [+0.02] rx: 142 # 5.30 [+0.00] rx: 100 # 5.32 [+0.02] OK # 5.32 [+0.00] # 5.47 [+0.16] raw bind # 7.08 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 7.08 [+0.00] tx: 142 # 7.10 [+0.02] rx: 142 # 7.10 [+0.00] rx: 100 # 7.12 [+0.02] OK # 7.12 [+0.00] # 7.28 [+0.16] raw qdisc bypass # 8.89 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 8.89 [+0.00] tx: 142 # 8.90 [+0.01] rx: 142 # 8.90 [+0.00] rx: 100 # 8.92 [+0.02] OK # 8.92 [+0.00] # 9.07 [+0.15] raw vlan # 10.66 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 10.66 [+0.00] tx: 146 # 10.68 [+0.01] rx: 100 # 10.69 [+0.02] OK # 10.69 [+0.00] # 10.84 [+0.15] raw vnet hdr # 12.46 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 12.47 [+0.01] tx: 152 # 12.48 [+0.02] rx: 142 # 12.49 [+0.00] rx: 100 # 12.50 [+0.01] OK # 12.50 [+0.00] # 12.64 [+0.14] raw csum_off # 14.25 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 14.25 [+0.00] tx: 152 # 14.26 [+0.01] rx: 142 # 14.26 [+0.00] rx: 100 # 14.28 [+0.02] OK # 14.28 [+0.00] # 14.43 [+0.15] raw csum_off with bad offset (expected to fail) # 16.08 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 16.09 [+0.00] ./psock_snd: write: Invalid argument # 16.31 [+0.22] raw min size # 17.98 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 17.99 [+0.00] tx: 42 # 18.00 [+0.01] rx: 0 # 18.02 [+0.02] OK # 18.02 [+0.00] # 18.19 [+0.17] raw mtu size # 19.84 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 19.84 [+0.00] tx: 1514 # 19.85 [+0.01] rx: 1472 # 19.87 [+0.02] OK # 19.87 [+0.00] # 20.03 [+0.16] raw mtu size + 1 (expected to fail) # 21.60 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 21.61 [+0.00] ./psock_snd: write: Message too long # 21.80 [+0.20] raw vlan mtu size + 1 (expected to fail) # 23.40 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 23.40 [+0.01] ./psock_snd: write: Message too long # 23.61 [+0.21] dgram mtu size # 25.20 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 25.20 [+0.01] tx: 1500 # 25.22 [+0.02] rx: 1472 # 25.24 [+0.02] OK # 25.24 [+0.00] # 25.40 [+0.16] dgram mtu size + 1 (expected to fail) # 27.00 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 27.01 [+0.01] ./psock_snd: write: Message too long # 27.21 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 28.81 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 28.82 [+0.00] tx: 14 # 28.94 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 29.11 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 30.72 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 30.72 [+0.00] ./psock_snd: write: Invalid argument # 30.92 [+0.19] raw gso min size # 32.48 [+1.56] net.ipv4.conf.lo.accept_local = 1 # 32.48 [+0.00] tx: 1525 # 32.50 [+0.01] rx: 1473 # 32.51 [+0.01] OK # 32.51 [+0.00] # 32.68 [+0.17] raw gso max size # 34.25 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 34.26 [+0.01] tx: 65559 # 34.27 [+0.01] rx: 65507 # 34.28 [+0.01] OK # 34.28 [+0.00] # 34.44 [+0.16] raw gso max size + 1 (expected to fail) # 36.03 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 36.04 [+0.02] tx: 65560 # 36.17 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 36.38 [+0.20] 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__->