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.00 [+0.00] dgram # 1.27 [+1.27] 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.71 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 2.72 [+0.01] tx: 128 # 2.73 [+0.02] rx: 142 # 2.73 [+0.00] rx: 100 # 2.74 [+0.01] OK # 2.74 [+0.00] # 2.91 [+0.16] raw # 4.20 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 4.20 [+0.01] tx: 142 # 4.21 [+0.01] rx: 142 # 4.21 [+0.00] rx: 100 # 4.22 [+0.01] OK # 4.22 [+0.00] # 4.35 [+0.13] raw bind # 5.58 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 5.59 [+0.01] tx: 142 # 5.60 [+0.02] rx: 142 # 5.60 [+0.00] rx: 100 # 5.62 [+0.01] OK # 5.62 [+0.00] # 5.77 [+0.15] raw qdisc bypass # 7.01 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 7.01 [+0.01] tx: 142 # 7.03 [+0.01] rx: 142 # 7.03 [+0.00] rx: 100 # 7.04 [+0.01] OK # 7.04 [+0.00] # 7.21 [+0.17] raw vlan # 8.52 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 8.53 [+0.01] tx: 146 # 8.56 [+0.03] rx: 100 # 8.58 [+0.02] OK # 8.58 [+0.00] # 8.73 [+0.15] raw vnet hdr # 10.02 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 10.03 [+0.01] tx: 152 # 10.04 [+0.01] rx: 142 # 10.04 [+0.00] rx: 100 # 10.06 [+0.02] OK # 10.06 [+0.00] # 10.18 [+0.12] raw csum_off # 11.45 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 11.45 [+0.01] tx: 152 # 11.47 [+0.02] rx: 142 # 11.47 [+0.00] rx: 100 # 11.49 [+0.02] OK # 11.49 [+0.00] # 11.65 [+0.16] raw csum_off with bad offset (expected to fail) # 12.96 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 12.96 [+0.01] ./psock_snd: write: Invalid argument # 13.12 [+0.16] raw min size # 14.44 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 14.45 [+0.01] tx: 42 # 14.45 [+0.01] rx: 0 # 14.46 [+0.01] OK # 14.46 [+0.00] # 14.61 [+0.15] raw mtu size # 15.88 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 15.89 [+0.01] tx: 1514 # 15.90 [+0.01] rx: 1472 # 15.92 [+0.02] OK # 15.92 [+0.00] # 16.05 [+0.13] raw mtu size + 1 (expected to fail) # 17.22 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 17.23 [+0.01] ./psock_snd: write: Message too long # 17.40 [+0.17] raw vlan mtu size + 1 (expected to fail) # 18.62 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 18.63 [+0.01] ./psock_snd: write: Message too long # 18.80 [+0.17] dgram mtu size # 20.11 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 20.13 [+0.01] tx: 1500 # 20.14 [+0.01] rx: 1472 # 20.16 [+0.02] OK # 20.16 [+0.00] # 20.30 [+0.14] dgram mtu size + 1 (expected to fail) # 21.64 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 21.65 [+0.01] ./psock_snd: write: Message too long # 21.89 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 23.23 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 23.24 [+0.01] tx: 14 # 23.36 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 23.52 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.90 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 24.91 [+0.01] ./psock_snd: write: Invalid argument # 25.09 [+0.18] raw gso min size # 26.31 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 26.32 [+0.01] tx: 1525 # 26.34 [+0.02] rx: 1473 # 26.36 [+0.02] OK # 26.36 [+0.00] # 26.49 [+0.13] raw gso max size # 27.88 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 27.90 [+0.02] tx: 65559 # 27.91 [+0.02] rx: 65507 # 27.94 [+0.03] OK # 27.94 [+0.00] # 28.10 [+0.16] raw gso max size + 1 (expected to fail) # 29.42 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 29.44 [+0.02] tx: 65560 # 29.56 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 29.74 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->