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 # 0.89 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 0.89 [+0.01] tx: 128 # 0.91 [+0.02] rx: 142 # 0.91 [+0.00] rx: 100 # 0.93 [+0.02] OK # 0.93 [+0.00] # 1.08 [+0.15] dgram bind # 2.00 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 2.01 [+0.01] tx: 128 # 2.03 [+0.02] rx: 142 # 2.03 [+0.00] rx: 100 # 2.05 [+0.02] OK # 2.05 [+0.00] # 2.14 [+0.10] raw # 3.10 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 3.11 [+0.01] tx: 142 # 3.12 [+0.02] rx: 142 # 3.12 [+0.00] rx: 100 # 3.14 [+0.02] OK # 3.14 [+0.00] # 3.23 [+0.10] raw bind # 4.17 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 4.17 [+0.01] tx: 142 # 4.18 [+0.01] rx: 142 # 4.18 [+0.00] rx: 100 # 4.21 [+0.02] OK # 4.21 [+0.00] # 4.30 [+0.10] raw qdisc bypass # 5.24 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 5.25 [+0.01] tx: 142 # 5.26 [+0.01] rx: 142 # 5.26 [+0.00] rx: 100 # 5.27 [+0.01] OK # 5.27 [+0.00] # 5.39 [+0.12] raw vlan # 6.29 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 6.30 [+0.00] tx: 146 # 6.31 [+0.01] rx: 100 # 6.32 [+0.02] OK # 6.32 [+0.00] # 6.44 [+0.11] raw vnet hdr # 7.28 [+0.84] net.ipv4.conf.lo.accept_local = 1 # 7.29 [+0.01] tx: 152 # 7.29 [+0.01] rx: 142 # 7.29 [+0.00] rx: 100 # 7.30 [+0.01] OK # 7.30 [+0.00] # 7.40 [+0.10] raw csum_off # 8.30 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 8.31 [+0.01] tx: 152 # 8.33 [+0.02] rx: 142 # 8.33 [+0.00] rx: 100 # 8.34 [+0.02] OK # 8.34 [+0.00] # 8.46 [+0.11] raw csum_off with bad offset (expected to fail) # 9.41 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 9.42 [+0.01] ./psock_snd: write: Invalid argument # 9.56 [+0.14] raw min size # 10.57 [+1.01] net.ipv4.conf.lo.accept_local = 1 # 10.58 [+0.02] tx: 42 # 10.60 [+0.01] rx: 0 # 10.61 [+0.01] OK # 10.61 [+0.00] # 10.75 [+0.14] raw mtu size # 11.75 [+1.00] net.ipv4.conf.lo.accept_local = 1 # 11.76 [+0.01] tx: 1514 # 11.76 [+0.01] rx: 1472 # 11.77 [+0.01] OK # 11.77 [+0.00] # 11.87 [+0.10] raw mtu size + 1 (expected to fail) # 12.83 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 12.84 [+0.01] ./psock_snd: write: Message too long # 12.96 [+0.12] raw vlan mtu size + 1 (expected to fail) # 14.01 [+1.06] net.ipv4.conf.lo.accept_local = 1 # 14.02 [+0.01] ./psock_snd: write: Message too long # 14.20 [+0.18] dgram mtu size # 15.16 [+0.97] net.ipv4.conf.lo.accept_local = 1 # 15.17 [+0.01] tx: 1500 # 15.18 [+0.01] rx: 1472 # 15.20 [+0.02] OK # 15.20 [+0.00] # 15.30 [+0.11] dgram mtu size + 1 (expected to fail) # 16.23 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 16.24 [+0.01] ./psock_snd: write: Message too long # 16.37 [+0.13] raw truncate hlen (expected to fail: does not arrive) # 17.30 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 17.31 [+0.01] tx: 14 # 17.42 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 17.57 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 18.50 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 18.50 [+0.01] ./psock_snd: write: Invalid argument # 18.68 [+0.18] raw gso min size # 19.71 [+1.03] net.ipv4.conf.lo.accept_local = 1 # 19.72 [+0.01] tx: 1525 # 19.73 [+0.01] rx: 1473 # 19.74 [+0.01] OK # 19.74 [+0.00] # 19.89 [+0.15] raw gso max size # 20.95 [+1.05] net.ipv4.conf.lo.accept_local = 1 # 20.96 [+0.01] tx: 65559 # 20.98 [+0.02] rx: 65507 # 21.00 [+0.02] OK # 21.00 [+0.00] # 21.12 [+0.11] raw gso max size + 1 (expected to fail) # 22.17 [+1.05] net.ipv4.conf.lo.accept_local = 1 # 22.18 [+0.01] tx: 65560 # 22.30 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 22.48 [+0.19] 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__->