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.36 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 1.37 [+0.01] tx: 128 # 1.37 [+0.01] rx: 142 # 1.37 [+0.00] rx: 100 # 1.39 [+0.01] OK # 1.39 [+0.00] # 1.54 [+0.15] dgram bind # 2.79 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 2.80 [+0.01] tx: 128 # 2.82 [+0.02] rx: 142 # 2.82 [+0.00] rx: 100 # 2.83 [+0.01] OK # 2.83 [+0.00] # 2.97 [+0.14] raw # 4.15 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 4.16 [+0.01] tx: 142 # 4.17 [+0.01] rx: 142 # 4.17 [+0.00] rx: 100 # 4.18 [+0.01] OK # 4.18 [+0.00] # 4.32 [+0.14] raw bind # 5.47 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 5.48 [+0.01] tx: 142 # 5.50 [+0.02] rx: 142 # 5.50 [+0.00] rx: 100 # 5.52 [+0.02] OK # 5.52 [+0.00] # 5.65 [+0.13] raw qdisc bypass # 6.81 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 6.82 [+0.01] tx: 142 # 6.83 [+0.01] rx: 142 # 6.83 [+0.00] rx: 100 # 6.85 [+0.02] OK # 6.85 [+0.00] # 6.97 [+0.12] raw vlan # 8.16 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 8.16 [+0.01] tx: 146 # 8.17 [+0.01] rx: 100 # 8.18 [+0.01] OK # 8.18 [+0.00] # 8.32 [+0.14] raw vnet hdr # 9.50 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 9.50 [+0.01] tx: 152 # 9.52 [+0.01] rx: 142 # 9.52 [+0.00] rx: 100 # 9.53 [+0.01] OK # 9.53 [+0.00] # 9.65 [+0.12] raw csum_off # 10.89 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 10.89 [+0.01] tx: 152 # 10.91 [+0.02] rx: 142 # 10.91 [+0.00] rx: 100 # 10.93 [+0.02] OK # 10.93 [+0.00] # 11.05 [+0.12] raw csum_off with bad offset (expected to fail) # 12.19 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 12.19 [+0.01] ./psock_snd: write: Invalid argument # 12.40 [+0.20] raw min size # 13.62 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 13.63 [+0.01] tx: 42 # 13.64 [+0.01] rx: 0 # 13.65 [+0.01] OK # 13.65 [+0.00] # 13.78 [+0.13] raw mtu size # 14.91 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 14.92 [+0.01] tx: 1514 # 14.93 [+0.02] rx: 1472 # 14.95 [+0.02] OK # 14.95 [+0.00] # 15.08 [+0.13] raw mtu size + 1 (expected to fail) # 16.19 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 16.20 [+0.01] ./psock_snd: write: Message too long # 16.35 [+0.16] raw vlan mtu size + 1 (expected to fail) # 17.48 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 17.48 [+0.01] ./psock_snd: write: Message too long # 17.64 [+0.16] dgram mtu size # 18.74 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 18.74 [+0.01] tx: 1500 # 18.75 [+0.01] rx: 1472 # 18.76 [+0.01] OK # 18.76 [+0.00] # 18.89 [+0.13] dgram mtu size + 1 (expected to fail) # 20.01 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 20.02 [+0.02] ./psock_snd: write: Message too long # 20.19 [+0.17] raw truncate hlen (expected to fail: does not arrive) # 21.28 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 21.29 [+0.01] tx: 14 # 21.42 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 21.57 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 22.67 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 22.67 [+0.01] ./psock_snd: write: Invalid argument # 22.84 [+0.17] raw gso min size # 23.94 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 23.95 [+0.01] tx: 1525 # 23.96 [+0.01] rx: 1473 # 23.97 [+0.01] OK # 23.97 [+0.00] # 24.10 [+0.13] raw gso max size # 25.20 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 25.21 [+0.01] tx: 65559 # 25.23 [+0.01] rx: 65507 # 25.24 [+0.02] OK # 25.24 [+0.00] # 25.36 [+0.12] raw gso max size + 1 (expected to fail) # 26.46 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 26.48 [+0.01] tx: 65560 # 26.60 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 26.77 [+0.17] 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__->