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.02 [+0.02] dgram # 0.96 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 0.97 [+0.00] tx: 128 # 0.97 [+0.01] rx: 142 # 0.97 [+0.00] rx: 100 # 0.98 [+0.01] OK # 0.99 [+0.00] # 1.08 [+0.10] dgram bind # 1.98 [+0.90] 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.08] raw # 2.97 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 2.97 [+0.00] tx: 142 # 2.98 [+0.01] rx: 142 # 2.98 [+0.00] rx: 100 # 2.99 [+0.01] OK # 2.99 [+0.00] # 3.08 [+0.09] raw bind # 4.06 [+0.98] net.ipv4.conf.lo.accept_local = 1 # 4.06 [+0.01] tx: 142 # 4.09 [+0.02] rx: 142 # 4.09 [+0.00] rx: 100 # 4.11 [+0.02] OK # 4.11 [+0.00] # 4.21 [+0.10] raw qdisc bypass # 5.12 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 5.13 [+0.01] tx: 142 # 5.15 [+0.02] rx: 142 # 5.15 [+0.00] rx: 100 # 5.16 [+0.02] OK # 5.16 [+0.00] # 5.25 [+0.09] raw vlan # 6.16 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 6.17 [+0.01] tx: 146 # 6.19 [+0.02] rx: 100 # 6.20 [+0.02] OK # 6.21 [+0.00] # 6.31 [+0.10] raw vnet hdr # 7.22 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 7.23 [+0.01] tx: 152 # 7.23 [+0.01] rx: 142 # 7.23 [+0.00] rx: 100 # 7.24 [+0.01] OK # 7.24 [+0.00] # 7.35 [+0.11] raw csum_off # 8.28 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 8.28 [+0.01] tx: 152 # 8.29 [+0.01] rx: 142 # 8.29 [+0.00] rx: 100 # 8.31 [+0.01] OK # 8.31 [+0.00] # 8.41 [+0.11] raw csum_off with bad offset (expected to fail) # 9.32 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 9.33 [+0.01] ./psock_snd: write: Invalid argument # 9.45 [+0.12] raw min size # 10.38 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 10.39 [+0.01] tx: 42 # 10.39 [+0.01] rx: 0 # 10.41 [+0.02] OK # 10.41 [+0.00] # 10.49 [+0.08] raw mtu size # 11.42 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 11.43 [+0.01] tx: 1514 # 11.43 [+0.01] rx: 1472 # 11.44 [+0.01] OK # 11.44 [+0.00] # 11.52 [+0.08] raw mtu size + 1 (expected to fail) # 12.44 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 12.44 [+0.01] ./psock_snd: write: Message too long # 12.55 [+0.11] raw vlan mtu size + 1 (expected to fail) # 13.43 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 13.43 [+0.01] ./psock_snd: write: Message too long # 13.57 [+0.14] dgram mtu size # 14.46 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 14.47 [+0.01] tx: 1500 # 14.47 [+0.01] rx: 1472 # 14.48 [+0.01] OK # 14.48 [+0.00] # 14.58 [+0.10] dgram mtu size + 1 (expected to fail) # 15.53 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 15.53 [+0.01] ./psock_snd: write: Message too long # 15.67 [+0.14] raw truncate hlen (expected to fail: does not arrive) # 16.58 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 16.59 [+0.01] tx: 14 # 16.72 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 16.87 [+0.15] raw truncate hlen - 1 (expected to fail: EINVAL) # 17.80 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 17.81 [+0.01] ./psock_snd: write: Invalid argument # 17.97 [+0.16] raw gso min size # 18.88 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 18.88 [+0.01] tx: 1525 # 18.89 [+0.01] rx: 1473 # 18.90 [+0.01] OK # 18.90 [+0.00] # 19.01 [+0.11] raw gso max size # 19.98 [+0.97] net.ipv4.conf.lo.accept_local = 1 # 19.99 [+0.01] tx: 65559 # 20.01 [+0.02] rx: 65507 # 20.02 [+0.02] OK # 20.02 [+0.00] # 20.11 [+0.09] raw gso max size + 1 (expected to fail) # 20.99 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 21.00 [+0.01] tx: 65560 # 21.11 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.25 [+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__->