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.01 [+0.01] dgram # 1.03 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 1.03 [+0.01] tx: 128 # 1.04 [+0.01] rx: 142 # 1.04 [+0.00] rx: 100 # 1.06 [+0.02] OK # 1.06 [+0.00] # 1.20 [+0.14] dgram bind # 2.21 [+1.00] net.ipv4.conf.lo.accept_local = 1 # 2.21 [+0.01] tx: 128 # 2.23 [+0.02] rx: 142 # 2.23 [+0.00] rx: 100 # 2.25 [+0.02] OK # 2.25 [+0.00] # 2.37 [+0.13] raw # 3.42 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 3.42 [+0.01] tx: 142 # 3.44 [+0.01] rx: 142 # 3.44 [+0.00] rx: 100 # 3.45 [+0.01] OK # 3.45 [+0.00] # 3.56 [+0.12] raw bind # 4.59 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 4.60 [+0.01] tx: 142 # 4.61 [+0.01] rx: 142 # 4.61 [+0.00] rx: 100 # 4.62 [+0.01] OK # 4.62 [+0.00] # 4.75 [+0.13] raw qdisc bypass # 5.78 [+1.04] 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.82 [+0.02] OK # 5.82 [+0.00] # 5.94 [+0.12] raw vlan # 6.97 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 6.99 [+0.02] tx: 146 # 7.01 [+0.02] rx: 100 # 7.03 [+0.02] OK # 7.03 [+0.00] # 7.15 [+0.12] raw vnet hdr # 8.18 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 8.18 [+0.01] tx: 152 # 8.19 [+0.01] rx: 142 # 8.19 [+0.00] rx: 100 # 8.20 [+0.01] OK # 8.20 [+0.00] # 8.32 [+0.12] raw csum_off # 9.35 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 9.36 [+0.01] tx: 152 # 9.37 [+0.01] rx: 142 # 9.37 [+0.00] rx: 100 # 9.38 [+0.01] OK # 9.38 [+0.00] # 9.49 [+0.11] raw csum_off with bad offset (expected to fail) # 10.53 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 10.54 [+0.01] ./psock_snd: write: Invalid argument # 10.71 [+0.17] raw min size # 11.75 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 11.76 [+0.01] tx: 42 # 11.77 [+0.01] rx: 0 # 11.78 [+0.02] OK # 11.78 [+0.00] # 11.90 [+0.11] raw mtu size # 12.94 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 12.94 [+0.01] tx: 1514 # 12.95 [+0.01] rx: 1472 # 12.97 [+0.02] OK # 12.97 [+0.00] # 13.10 [+0.12] raw mtu size + 1 (expected to fail) # 14.12 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 14.13 [+0.01] ./psock_snd: write: Message too long # 14.28 [+0.15] raw vlan mtu size + 1 (expected to fail) # 15.34 [+1.05] net.ipv4.conf.lo.accept_local = 1 # 15.34 [+0.01] ./psock_snd: write: Message too long # 15.49 [+0.14] dgram mtu size # 16.54 [+1.06] net.ipv4.conf.lo.accept_local = 1 # 16.55 [+0.01] tx: 1500 # 16.56 [+0.01] rx: 1472 # 16.57 [+0.01] OK # 16.57 [+0.00] # 16.69 [+0.12] dgram mtu size + 1 (expected to fail) # 17.72 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 17.73 [+0.01] ./psock_snd: write: Message too long # 17.89 [+0.17] raw truncate hlen (expected to fail: does not arrive) # 18.95 [+1.06] net.ipv4.conf.lo.accept_local = 1 # 18.96 [+0.01] tx: 14 # 19.08 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 19.22 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 20.26 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 20.27 [+0.01] ./psock_snd: write: Invalid argument # 20.45 [+0.18] raw gso min size # 21.49 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 21.50 [+0.01] tx: 1525 # 21.50 [+0.01] rx: 1473 # 21.52 [+0.02] OK # 21.52 [+0.00] # 21.64 [+0.12] raw gso max size # 22.69 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 22.71 [+0.02] tx: 65559 # 22.71 [+0.01] rx: 65507 # 22.73 [+0.01] OK # 22.73 [+0.00] # 22.84 [+0.11] raw gso max size + 1 (expected to fail) # 23.90 [+1.06] net.ipv4.conf.lo.accept_local = 1 # 23.92 [+0.01] tx: 65560 # 24.03 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 24.18 [+0.15] 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__->