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.01 [+0.01] dgram # 0.88 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 0.88 [+0.01] tx: 128 # 0.89 [+0.01] rx: 142 # 0.89 [+0.00] rx: 100 # 0.90 [+0.01] OK # 0.90 [+0.00] # 0.99 [+0.09] dgram bind # 1.91 [+0.92] 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.04 [+0.09] raw # 2.94 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 2.95 [+0.01] tx: 142 # 2.96 [+0.01] rx: 142 # 2.96 [+0.00] rx: 100 # 2.97 [+0.01] OK # 2.97 [+0.00] # 3.08 [+0.12] raw bind # 3.98 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 3.99 [+0.01] tx: 142 # 4.00 [+0.01] rx: 142 # 4.00 [+0.00] rx: 100 # 4.00 [+0.01] OK # 4.00 [+0.00] # 4.11 [+0.11] raw qdisc bypass # 4.96 [+0.84] net.ipv4.conf.lo.accept_local = 1 # 4.96 [+0.00] tx: 142 # 4.97 [+0.01] rx: 142 # 4.97 [+0.00] rx: 100 # 4.98 [+0.01] OK # 4.98 [+0.00] # 5.08 [+0.10] raw vlan # 6.00 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 6.01 [+0.01] tx: 146 # 6.02 [+0.01] rx: 100 # 6.03 [+0.02] OK # 6.03 [+0.00] # 6.14 [+0.11] raw vnet hdr # 7.01 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 7.02 [+0.01] tx: 152 # 7.04 [+0.02] rx: 142 # 7.04 [+0.00] rx: 100 # 7.06 [+0.02] OK # 7.06 [+0.00] # 7.15 [+0.10] raw csum_off # 8.09 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 8.09 [+0.01] tx: 152 # 8.10 [+0.01] rx: 142 # 8.10 [+0.00] rx: 100 # 8.11 [+0.01] OK # 8.11 [+0.00] # 8.20 [+0.09] raw csum_off with bad offset (expected to fail) # 9.08 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 9.09 [+0.01] ./psock_snd: write: Invalid argument # 9.23 [+0.14] raw min size # 10.13 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 10.14 [+0.01] tx: 42 # 10.15 [+0.01] rx: 0 # 10.17 [+0.02] OK # 10.17 [+0.00] # 10.26 [+0.10] raw mtu size # 11.14 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 11.15 [+0.01] tx: 1514 # 11.17 [+0.02] rx: 1472 # 11.18 [+0.02] OK # 11.18 [+0.00] # 11.33 [+0.15] raw mtu size + 1 (expected to fail) # 12.21 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 12.22 [+0.01] ./psock_snd: write: Message too long # 12.36 [+0.14] raw vlan mtu size + 1 (expected to fail) # 13.29 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 13.29 [+0.01] ./psock_snd: write: Message too long # 13.46 [+0.17] dgram mtu size # 14.35 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 14.35 [+0.01] tx: 1500 # 14.36 [+0.01] rx: 1472 # 14.38 [+0.02] OK # 14.38 [+0.00] # 14.48 [+0.10] dgram mtu size + 1 (expected to fail) # 15.38 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 15.38 [+0.01] ./psock_snd: write: Message too long # 15.53 [+0.14] raw truncate hlen (expected to fail: does not arrive) # 16.42 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 16.43 [+0.00] tx: 14 # 16.55 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 16.67 [+0.12] raw truncate hlen - 1 (expected to fail: EINVAL) # 17.55 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 17.56 [+0.01] ./psock_snd: write: Invalid argument # 17.69 [+0.13] raw gso min size # 18.57 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 18.57 [+0.01] tx: 1525 # 18.58 [+0.01] rx: 1473 # 18.59 [+0.01] OK # 18.59 [+0.00] # 18.69 [+0.10] raw gso max size # 19.61 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 19.62 [+0.01] tx: 65559 # 19.64 [+0.02] rx: 65507 # 19.66 [+0.01] OK # 19.66 [+0.00] # 19.76 [+0.11] raw gso max size + 1 (expected to fail) # 20.68 [+0.91] net.ipv4.conf.lo.accept_local = 1 # 20.69 [+0.01] tx: 65560 # 20.80 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 20.95 [+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__->