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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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.37 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 1.38 [+0.01] tx: 128 # 1.39 [+0.01] rx: 142 # 1.39 [+0.00] rx: 100 # 1.40 [+0.01] OK # 1.40 [+0.00] # 1.55 [+0.15] dgram bind # 2.88 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 2.89 [+0.01] tx: 128 # 2.90 [+0.01] rx: 142 # 2.90 [+0.00] rx: 100 # 2.90 [+0.01] OK # 2.90 [+0.00] # 3.06 [+0.15] raw # 4.30 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 4.31 [+0.01] tx: 142 # 4.33 [+0.02] rx: 142 # 4.33 [+0.00] rx: 100 # 4.35 [+0.02] OK # 4.35 [+0.00] # 4.48 [+0.13] raw bind # 5.66 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 5.67 [+0.01] tx: 142 # 5.68 [+0.01] rx: 142 # 5.68 [+0.00] rx: 100 # 5.69 [+0.01] OK # 5.69 [+0.00] # 5.84 [+0.15] raw qdisc bypass # 6.98 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 6.98 [+0.01] tx: 142 # 6.99 [+0.01] rx: 142 # 6.99 [+0.00] rx: 100 # 7.01 [+0.02] OK # 7.01 [+0.00] # 7.13 [+0.12] raw vlan # 8.27 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 8.28 [+0.01] tx: 146 # 8.28 [+0.01] rx: 100 # 8.29 [+0.01] OK # 8.30 [+0.00] # 8.42 [+0.12] raw vnet hdr # 9.57 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 9.58 [+0.01] tx: 152 # 9.58 [+0.01] rx: 142 # 9.58 [+0.00] rx: 100 # 9.59 [+0.01] OK # 9.59 [+0.00] # 9.72 [+0.12] raw csum_off # 10.87 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 10.88 [+0.01] tx: 152 # 10.89 [+0.00] rx: 142 # 10.89 [+0.00] rx: 100 # 10.90 [+0.01] OK # 10.90 [+0.00] # 11.03 [+0.14] raw csum_off with bad offset (expected to fail) # 12.18 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 12.19 [+0.01] ./psock_snd: write: Invalid argument # 12.34 [+0.15] raw min size # 13.48 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 13.50 [+0.02] tx: 42 # 13.50 [+0.01] rx: 0 # 13.51 [+0.01] OK # 13.51 [+0.00] # 13.63 [+0.11] raw mtu size # 14.78 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 14.78 [+0.01] tx: 1514 # 14.79 [+0.01] rx: 1472 # 14.80 [+0.01] OK # 14.80 [+0.00] # 14.92 [+0.12] raw mtu size + 1 (expected to fail) # 16.05 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 16.06 [+0.01] ./psock_snd: write: Message too long # 16.22 [+0.17] raw vlan mtu size + 1 (expected to fail) # 17.35 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 17.36 [+0.01] ./psock_snd: write: Message too long # 17.51 [+0.15] dgram mtu size # 18.62 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 18.63 [+0.01] tx: 1500 # 18.63 [+0.01] rx: 1472 # 18.64 [+0.01] OK # 18.64 [+0.00] # 18.77 [+0.13] dgram mtu size + 1 (expected to fail) # 19.90 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 19.91 [+0.01] ./psock_snd: write: Message too long # 20.06 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 21.20 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 21.21 [+0.01] tx: 14 # 21.32 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.46 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 22.60 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 22.61 [+0.01] ./psock_snd: write: Invalid argument # 22.76 [+0.15] raw gso min size # 23.89 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 23.90 [+0.01] tx: 1525 # 23.90 [+0.01] rx: 1473 # 23.91 [+0.01] OK # 23.91 [+0.00] # 24.04 [+0.12] raw gso max size # 25.15 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 25.17 [+0.01] tx: 65559 # 25.18 [+0.01] rx: 65507 # 25.19 [+0.01] OK # 25.19 [+0.00] # 25.32 [+0.13] raw gso max size + 1 (expected to fail) # 26.42 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 26.43 [+0.01] tx: 65560 # 26.54 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 26.69 [+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__->