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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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.03 [+0.03] dgram # 1.27 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 1.28 [+0.01] tx: 128 # 1.28 [+0.01] rx: 142 # 1.28 [+0.00] rx: 100 # 1.29 [+0.01] OK # 1.29 [+0.00] # 1.43 [+0.14] dgram bind # 2.74 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 2.74 [+0.01] tx: 128 # 2.75 [+0.01] rx: 142 # 2.75 [+0.00] rx: 100 # 2.77 [+0.01] OK # 2.77 [+0.00] # 2.91 [+0.14] raw # 4.30 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 4.31 [+0.01] tx: 142 # 4.33 [+0.02] rx: 142 # 4.33 [+0.00] rx: 100 # 4.35 [+0.01] OK # 4.35 [+0.00] # 4.48 [+0.13] raw bind # 5.78 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 5.79 [+0.01] tx: 142 # 5.80 [+0.01] rx: 142 # 5.80 [+0.00] rx: 100 # 5.81 [+0.01] OK # 5.81 [+0.00] # 5.96 [+0.15] raw qdisc bypass # 7.23 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 7.24 [+0.01] tx: 142 # 7.25 [+0.01] rx: 142 # 7.25 [+0.00] rx: 100 # 7.26 [+0.01] OK # 7.26 [+0.00] # 7.42 [+0.16] raw vlan # 8.82 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 8.83 [+0.01] tx: 146 # 8.85 [+0.02] rx: 100 # 8.86 [+0.01] OK # 8.86 [+0.00] # 9.03 [+0.18] raw vnet hdr # 10.27 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 10.28 [+0.01] tx: 152 # 10.29 [+0.01] rx: 142 # 10.29 [+0.00] rx: 100 # 10.30 [+0.01] OK # 10.30 [+0.00] # 10.51 [+0.21] raw csum_off # 11.69 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 11.70 [+0.01] tx: 152 # 11.71 [+0.01] rx: 142 # 11.71 [+0.00] rx: 100 # 11.72 [+0.01] OK # 11.72 [+0.00] # 11.84 [+0.12] raw csum_off with bad offset (expected to fail) # 13.09 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 13.10 [+0.01] ./psock_snd: write: Invalid argument # 13.28 [+0.18] raw min size # 14.54 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 14.55 [+0.01] tx: 42 # 14.56 [+0.01] rx: 0 # 14.57 [+0.01] OK # 14.57 [+0.00] # 14.70 [+0.13] raw mtu size # 15.97 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 15.98 [+0.01] tx: 1514 # 15.99 [+0.01] rx: 1472 # 16.00 [+0.01] OK # 16.00 [+0.00] # 16.16 [+0.16] raw mtu size + 1 (expected to fail) # 17.38 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 17.40 [+0.02] ./psock_snd: write: Message too long # 17.55 [+0.16] raw vlan mtu size + 1 (expected to fail) # 18.87 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 18.89 [+0.01] ./psock_snd: write: Message too long # 19.10 [+0.21] dgram mtu size # 20.42 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 20.43 [+0.01] tx: 1500 # 20.45 [+0.02] rx: 1472 # 20.46 [+0.01] OK # 20.46 [+0.00] # 20.60 [+0.14] dgram mtu size + 1 (expected to fail) # 21.93 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 21.94 [+0.01] ./psock_snd: write: Message too long # 22.10 [+0.17] raw truncate hlen (expected to fail: does not arrive) # 23.31 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 23.33 [+0.02] tx: 14 # 23.44 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 23.60 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.85 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 24.86 [+0.01] ./psock_snd: write: Invalid argument # 25.06 [+0.21] raw gso min size # 26.32 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 26.33 [+0.01] tx: 1525 # 26.34 [+0.01] rx: 1473 # 26.35 [+0.01] OK # 26.35 [+0.00] # 26.49 [+0.14] raw gso max size # 27.76 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 27.79 [+0.02] tx: 65559 # 27.80 [+0.01] rx: 65507 # 27.81 [+0.02] OK # 27.81 [+0.00] # 27.98 [+0.16] raw gso max size + 1 (expected to fail) # 29.20 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 29.22 [+0.02] tx: 65560 # 29.34 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.54 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->