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 # 0.97 [+0.97] net.ipv4.conf.lo.accept_local = 1 # 0.97 [+0.01] tx: 128 # 0.99 [+0.01] rx: 142 # 0.99 [+0.00] rx: 100 # 1.00 [+0.02] OK # 1.00 [+0.00] # 1.09 [+0.09] dgram bind # 2.04 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 2.05 [+0.01] tx: 128 # 2.06 [+0.01] rx: 142 # 2.06 [+0.00] rx: 100 # 2.08 [+0.02] OK # 2.08 [+0.00] # 2.20 [+0.12] raw # 3.10 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 3.11 [+0.01] tx: 142 # 3.12 [+0.01] rx: 142 # 3.12 [+0.00] rx: 100 # 3.12 [+0.01] OK # 3.12 [+0.00] # 3.22 [+0.09] raw bind # 4.18 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 4.19 [+0.01] tx: 142 # 4.19 [+0.01] rx: 142 # 4.19 [+0.00] rx: 100 # 4.20 [+0.01] OK # 4.20 [+0.00] # 4.33 [+0.12] raw qdisc bypass # 5.19 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 5.20 [+0.01] tx: 142 # 5.22 [+0.02] rx: 142 # 5.22 [+0.00] rx: 100 # 5.24 [+0.02] OK # 5.24 [+0.00] # 5.37 [+0.13] raw vlan # 6.35 [+0.98] net.ipv4.conf.lo.accept_local = 1 # 6.36 [+0.01] tx: 146 # 6.37 [+0.01] rx: 100 # 6.39 [+0.02] OK # 6.39 [+0.00] # 6.52 [+0.13] raw vnet hdr # 7.50 [+0.99] net.ipv4.conf.lo.accept_local = 1 # 7.52 [+0.01] tx: 152 # 7.53 [+0.01] rx: 142 # 7.53 [+0.00] rx: 100 # 7.55 [+0.02] OK # 7.55 [+0.00] # 7.66 [+0.10] raw csum_off # 8.56 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 8.58 [+0.01] tx: 152 # 8.59 [+0.01] rx: 142 # 8.59 [+0.00] rx: 100 # 8.61 [+0.01] OK # 8.61 [+0.00] # 8.71 [+0.10] raw csum_off with bad offset (expected to fail) # 9.67 [+0.97] net.ipv4.conf.lo.accept_local = 1 # 9.68 [+0.00] ./psock_snd: write: Invalid argument # 9.82 [+0.14] raw min size # 10.76 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 10.76 [+0.00] tx: 42 # 10.77 [+0.01] rx: 0 # 10.78 [+0.01] OK # 10.78 [+0.00] # 10.87 [+0.09] raw mtu size # 11.77 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 11.78 [+0.01] tx: 1514 # 11.79 [+0.01] rx: 1472 # 11.81 [+0.02] OK # 11.81 [+0.00] # 11.91 [+0.10] raw mtu size + 1 (expected to fail) # 12.80 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 12.80 [+0.00] ./psock_snd: write: Message too long # 12.95 [+0.15] raw vlan mtu size + 1 (expected to fail) # 13.86 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 13.86 [+0.01] ./psock_snd: write: Message too long # 14.01 [+0.15] dgram mtu size # 14.84 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 14.85 [+0.01] tx: 1500 # 14.85 [+0.00] rx: 1472 # 14.86 [+0.01] OK # 14.86 [+0.00] # 14.97 [+0.10] dgram mtu size + 1 (expected to fail) # 15.81 [+0.84] net.ipv4.conf.lo.accept_local = 1 # 15.82 [+0.01] ./psock_snd: write: Message too long # 15.97 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 16.88 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 16.88 [+0.01] tx: 14 # 17.00 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 17.12 [+0.11] raw truncate hlen - 1 (expected to fail: EINVAL) # 17.99 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 18.01 [+0.02] ./psock_snd: write: Invalid argument # 18.16 [+0.15] raw gso min size # 19.05 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 19.06 [+0.01] tx: 1525 # 19.07 [+0.01] rx: 1473 # 19.09 [+0.02] OK # 19.09 [+0.00] # 19.19 [+0.10] raw gso max size # 20.06 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 20.07 [+0.01] tx: 65559 # 20.08 [+0.01] rx: 65507 # 20.10 [+0.02] OK # 20.10 [+0.00] # 20.20 [+0.10] raw gso max size + 1 (expected to fail) # 21.10 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 21.11 [+0.01] tx: 65560 # 21.23 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 21.36 [+0.14] 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__->