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.91 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 0.92 [+0.01] tx: 128 # 0.94 [+0.02] rx: 142 # 0.94 [+0.00] rx: 100 # 0.95 [+0.01] OK # 0.95 [+0.00] # 1.05 [+0.11] dgram bind # 1.97 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 1.98 [+0.01] tx: 128 # 1.99 [+0.01] rx: 142 # 1.99 [+0.00] rx: 100 # 2.00 [+0.01] OK # 2.00 [+0.00] # 2.09 [+0.10] raw # 3.01 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 3.02 [+0.01] tx: 142 # 3.04 [+0.02] rx: 142 # 3.04 [+0.00] rx: 100 # 3.05 [+0.02] OK # 3.05 [+0.00] # 3.16 [+0.11] raw bind # 4.09 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 4.10 [+0.01] tx: 142 # 4.10 [+0.01] rx: 142 # 4.10 [+0.00] rx: 100 # 4.12 [+0.02] OK # 4.12 [+0.00] # 4.22 [+0.10] raw qdisc bypass # 5.16 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 5.16 [+0.01] tx: 142 # 5.18 [+0.02] rx: 142 # 5.18 [+0.00] rx: 100 # 5.19 [+0.01] OK # 5.19 [+0.00] # 5.29 [+0.10] raw vlan # 6.23 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 6.23 [+0.01] tx: 146 # 6.25 [+0.01] rx: 100 # 6.26 [+0.02] OK # 6.26 [+0.00] # 6.37 [+0.11] raw vnet hdr # 7.30 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 7.30 [+0.01] tx: 152 # 7.31 [+0.01] rx: 142 # 7.31 [+0.00] rx: 100 # 7.32 [+0.01] OK # 7.32 [+0.00] # 7.43 [+0.11] raw csum_off # 8.36 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 8.36 [+0.01] tx: 152 # 8.37 [+0.01] rx: 142 # 8.37 [+0.00] rx: 100 # 8.38 [+0.01] OK # 8.38 [+0.00] # 8.49 [+0.11] raw csum_off with bad offset (expected to fail) # 9.41 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 9.42 [+0.01] ./psock_snd: write: Invalid argument # 9.59 [+0.17] raw min size # 10.54 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 10.55 [+0.01] tx: 42 # 10.56 [+0.01] rx: 0 # 10.57 [+0.02] OK # 10.58 [+0.00] # 10.68 [+0.11] raw mtu size # 11.62 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 11.62 [+0.01] tx: 1514 # 11.64 [+0.01] rx: 1472 # 11.65 [+0.01] OK # 11.65 [+0.00] # 11.76 [+0.11] raw mtu size + 1 (expected to fail) # 12.70 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 12.70 [+0.01] ./psock_snd: write: Message too long # 12.84 [+0.13] raw vlan mtu size + 1 (expected to fail) # 13.78 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 13.79 [+0.01] ./psock_snd: write: Message too long # 13.95 [+0.16] dgram mtu size # 14.89 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 14.90 [+0.01] tx: 1500 # 14.91 [+0.01] rx: 1472 # 14.92 [+0.02] OK # 14.92 [+0.00] # 15.03 [+0.10] dgram mtu size + 1 (expected to fail) # 15.96 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 15.97 [+0.01] ./psock_snd: write: Message too long # 16.12 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 17.06 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 17.06 [+0.01] tx: 14 # 17.18 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 17.32 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 18.27 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 18.28 [+0.01] ./psock_snd: write: Invalid argument # 18.44 [+0.15] raw gso min size # 19.38 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 19.38 [+0.01] tx: 1525 # 19.39 [+0.01] rx: 1473 # 19.40 [+0.01] OK # 19.41 [+0.00] # 19.53 [+0.13] raw gso max size # 20.45 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 20.46 [+0.01] tx: 65559 # 20.47 [+0.01] rx: 65507 # 20.48 [+0.01] OK # 20.48 [+0.00] # 20.59 [+0.11] raw gso max size + 1 (expected to fail) # 21.54 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 21.55 [+0.01] tx: 65560 # 21.67 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 21.81 [+0.14] 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__->