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.04 [+0.04] dgram # 0.95 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 0.95 [+0.00] tx: 128 # 0.96 [+0.01] rx: 142 # 0.96 [+0.00] rx: 100 # 0.97 [+0.01] OK # 0.97 [+0.00] # 1.06 [+0.10] dgram bind # 1.92 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 1.92 [+0.01] tx: 128 # 1.93 [+0.01] rx: 142 # 1.93 [+0.00] rx: 100 # 1.95 [+0.02] OK # 1.95 [+0.00] # 2.08 [+0.12] raw # 2.90 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 2.91 [+0.01] tx: 142 # 2.92 [+0.01] rx: 142 # 2.92 [+0.00] rx: 100 # 2.93 [+0.01] OK # 2.93 [+0.00] # 3.04 [+0.11] raw bind # 3.91 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 3.92 [+0.00] tx: 142 # 3.92 [+0.01] rx: 142 # 3.92 [+0.00] rx: 100 # 3.94 [+0.02] OK # 3.94 [+0.00] # 4.06 [+0.12] raw qdisc bypass # 4.93 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 4.94 [+0.01] tx: 142 # 4.95 [+0.01] rx: 142 # 4.95 [+0.00] rx: 100 # 4.97 [+0.02] OK # 4.97 [+0.00] # 5.06 [+0.10] raw vlan # 5.94 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 5.95 [+0.02] tx: 146 # 5.97 [+0.02] rx: 100 # 5.98 [+0.01] OK # 5.98 [+0.00] # 6.08 [+0.10] raw vnet hdr # 6.94 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 6.95 [+0.01] tx: 152 # 6.95 [+0.01] rx: 142 # 6.95 [+0.00] rx: 100 # 6.97 [+0.02] OK # 6.97 [+0.00] # 7.06 [+0.09] raw csum_off # 7.97 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 7.97 [+0.01] tx: 152 # 7.98 [+0.01] rx: 142 # 7.98 [+0.00] rx: 100 # 8.00 [+0.02] OK # 8.00 [+0.00] # 8.10 [+0.10] raw csum_off with bad offset (expected to fail) # 8.99 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 9.00 [+0.01] ./psock_snd: write: Invalid argument # 9.11 [+0.11] raw min size # 9.98 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 9.99 [+0.00] tx: 42 # 10.00 [+0.01] rx: 0 # 10.00 [+0.01] OK # 10.00 [+0.00] # 10.09 [+0.09] raw mtu size # 11.00 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 11.00 [+0.01] tx: 1514 # 11.01 [+0.01] rx: 1472 # 11.03 [+0.02] OK # 11.03 [+0.00] # 11.13 [+0.10] raw mtu size + 1 (expected to fail) # 12.03 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 12.03 [+0.01] ./psock_snd: write: Message too long # 12.17 [+0.14] raw vlan mtu size + 1 (expected to fail) # 13.10 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 13.12 [+0.01] ./psock_snd: write: Message too long # 13.27 [+0.15] dgram mtu size # 14.18 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 14.18 [+0.01] tx: 1500 # 14.19 [+0.01] rx: 1472 # 14.20 [+0.01] OK # 14.20 [+0.00] # 14.30 [+0.09] dgram mtu size + 1 (expected to fail) # 15.12 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 15.13 [+0.00] ./psock_snd: write: Message too long # 15.26 [+0.14] raw truncate hlen (expected to fail: does not arrive) # 16.09 [+0.82] net.ipv4.conf.lo.accept_local = 1 # 16.09 [+0.00] tx: 14 # 16.20 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 16.31 [+0.11] raw truncate hlen - 1 (expected to fail: EINVAL) # 17.17 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 17.18 [+0.01] ./psock_snd: write: Invalid argument # 17.31 [+0.13] raw gso min size # 18.12 [+0.82] net.ipv4.conf.lo.accept_local = 1 # 18.14 [+0.01] tx: 1525 # 18.14 [+0.01] rx: 1473 # 18.16 [+0.02] OK # 18.16 [+0.00] # 18.26 [+0.10] raw gso max size # 19.09 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 19.10 [+0.01] tx: 65559 # 19.12 [+0.01] rx: 65507 # 19.13 [+0.01] OK # 19.13 [+0.00] # 19.23 [+0.10] raw gso max size + 1 (expected to fail) # 20.08 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 20.10 [+0.01] tx: 65560 # 20.21 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 20.37 [+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__->