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.02 [+0.02] dgram # 1.09 [+1.07] net.ipv4.conf.lo.accept_local = 1 # 1.10 [+0.01] tx: 128 # 1.11 [+0.02] rx: 142 # 1.11 [+0.00] rx: 100 # 1.14 [+0.02] OK # 1.14 [+0.00] # 1.27 [+0.14] dgram bind # 2.33 [+1.05] net.ipv4.conf.lo.accept_local = 1 # 2.34 [+0.01] tx: 128 # 2.35 [+0.01] rx: 142 # 2.35 [+0.00] rx: 100 # 2.36 [+0.02] OK # 2.36 [+0.00] # 2.50 [+0.13] raw # 3.53 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 3.54 [+0.01] tx: 142 # 3.55 [+0.01] rx: 142 # 3.55 [+0.00] rx: 100 # 3.57 [+0.02] OK # 3.57 [+0.00] # 3.70 [+0.13] raw bind # 4.77 [+1.07] net.ipv4.conf.lo.accept_local = 1 # 4.78 [+0.01] tx: 142 # 4.80 [+0.02] rx: 142 # 4.80 [+0.00] rx: 100 # 4.81 [+0.02] OK # 4.81 [+0.00] # 4.93 [+0.11] raw qdisc bypass # 6.04 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 6.05 [+0.01] tx: 142 # 6.05 [+0.00] rx: 142 # 6.05 [+0.00] rx: 100 # 6.06 [+0.01] OK # 6.06 [+0.00] # 6.17 [+0.11] raw vlan # 7.28 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 7.29 [+0.01] tx: 146 # 7.30 [+0.02] rx: 100 # 7.32 [+0.02] OK # 7.32 [+0.00] # 7.45 [+0.13] raw vnet hdr # 8.53 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 8.55 [+0.02] tx: 152 # 8.56 [+0.01] rx: 142 # 8.56 [+0.00] rx: 100 # 8.57 [+0.01] OK # 8.57 [+0.00] # 8.69 [+0.12] raw csum_off # 9.78 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 9.79 [+0.01] tx: 152 # 9.80 [+0.02] rx: 142 # 9.80 [+0.00] rx: 100 # 9.81 [+0.01] OK # 9.81 [+0.00] # 9.94 [+0.13] raw csum_off with bad offset (expected to fail) # 11.05 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 11.05 [+0.01] ./psock_snd: write: Invalid argument # 11.21 [+0.15] raw min size # 12.30 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 12.30 [+0.01] tx: 42 # 12.31 [+0.01] rx: 0 # 12.33 [+0.02] OK # 12.33 [+0.00] # 12.45 [+0.13] raw mtu size # 13.53 [+1.07] net.ipv4.conf.lo.accept_local = 1 # 13.54 [+0.01] tx: 1514 # 13.55 [+0.02] rx: 1472 # 13.57 [+0.02] OK # 13.57 [+0.00] # 13.71 [+0.13] raw mtu size + 1 (expected to fail) # 14.81 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 14.82 [+0.01] ./psock_snd: write: Message too long # 14.98 [+0.16] raw vlan mtu size + 1 (expected to fail) # 16.09 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 16.10 [+0.01] ./psock_snd: write: Message too long # 16.26 [+0.16] dgram mtu size # 17.37 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 17.38 [+0.01] tx: 1500 # 17.40 [+0.03] rx: 1472 # 17.42 [+0.02] OK # 17.42 [+0.00] # 17.55 [+0.13] dgram mtu size + 1 (expected to fail) # 18.66 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 18.68 [+0.02] ./psock_snd: write: Message too long # 18.85 [+0.18] raw truncate hlen (expected to fail: does not arrive) # 19.95 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 19.96 [+0.01] tx: 14 # 20.07 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 20.21 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 21.31 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 21.31 [+0.01] ./psock_snd: write: Invalid argument # 21.49 [+0.17] raw gso min size # 22.57 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 22.59 [+0.02] tx: 1525 # 22.59 [+0.01] rx: 1473 # 22.61 [+0.01] OK # 22.61 [+0.00] # 22.74 [+0.13] raw gso max size # 23.87 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 23.88 [+0.01] tx: 65559 # 23.90 [+0.02] rx: 65507 # 23.92 [+0.02] OK # 23.92 [+0.00] # 24.05 [+0.13] raw gso max size + 1 (expected to fail) # 25.13 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 25.15 [+0.02] tx: 65560 # 25.26 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 25.41 [+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__->