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 # 1.08 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 1.09 [+0.01] tx: 128 # 1.10 [+0.01] rx: 142 # 1.10 [+0.00] rx: 100 # 1.11 [+0.01] OK # 1.11 [+0.00] # 1.22 [+0.12] dgram bind # 2.23 [+1.00] net.ipv4.conf.lo.accept_local = 1 # 2.23 [+0.01] tx: 128 # 2.24 [+0.01] rx: 142 # 2.24 [+0.00] rx: 100 # 2.26 [+0.02] OK # 2.26 [+0.00] # 2.37 [+0.11] raw # 3.37 [+1.00] net.ipv4.conf.lo.accept_local = 1 # 3.37 [+0.01] tx: 142 # 3.39 [+0.01] rx: 142 # 3.39 [+0.00] rx: 100 # 3.40 [+0.01] OK # 3.40 [+0.00] # 3.52 [+0.12] raw bind # 4.51 [+0.99] net.ipv4.conf.lo.accept_local = 1 # 4.52 [+0.01] tx: 142 # 4.53 [+0.01] rx: 142 # 4.53 [+0.00] rx: 100 # 4.55 [+0.02] OK # 4.55 [+0.00] # 4.65 [+0.10] raw qdisc bypass # 5.63 [+0.99] net.ipv4.conf.lo.accept_local = 1 # 5.64 [+0.01] tx: 142 # 5.65 [+0.01] rx: 142 # 5.65 [+0.00] rx: 100 # 5.67 [+0.01] OK # 5.67 [+0.00] # 5.78 [+0.11] raw vlan # 6.76 [+0.98] net.ipv4.conf.lo.accept_local = 1 # 6.77 [+0.01] tx: 146 # 6.77 [+0.01] rx: 100 # 6.78 [+0.01] OK # 6.78 [+0.00] # 6.89 [+0.10] raw vnet hdr # 8.06 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 8.07 [+0.01] tx: 152 # 8.08 [+0.01] rx: 142 # 8.08 [+0.00] rx: 100 # 8.10 [+0.02] OK # 8.10 [+0.00] # 8.24 [+0.14] raw csum_off # 9.41 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 9.41 [+0.01] tx: 152 # 9.42 [+0.01] rx: 142 # 9.42 [+0.00] rx: 100 # 9.43 [+0.01] OK # 9.43 [+0.00] # 9.54 [+0.11] raw csum_off with bad offset (expected to fail) # 10.68 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 10.68 [+0.01] ./psock_snd: write: Invalid argument # 10.83 [+0.14] raw min size # 11.88 [+1.05] net.ipv4.conf.lo.accept_local = 1 # 11.89 [+0.01] tx: 42 # 11.89 [+0.01] rx: 0 # 11.91 [+0.02] OK # 11.91 [+0.00] # 12.05 [+0.14] raw mtu size # 13.15 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 13.16 [+0.01] tx: 1514 # 13.17 [+0.01] rx: 1472 # 13.18 [+0.02] OK # 13.18 [+0.00] # 13.30 [+0.12] raw mtu size + 1 (expected to fail) # 14.32 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 14.33 [+0.01] ./psock_snd: write: Message too long # 14.48 [+0.15] raw vlan mtu size + 1 (expected to fail) # 15.61 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 15.62 [+0.01] ./psock_snd: write: Message too long # 15.75 [+0.14] dgram mtu size # 16.83 [+1.07] net.ipv4.conf.lo.accept_local = 1 # 16.83 [+0.01] tx: 1500 # 16.85 [+0.02] rx: 1472 # 16.87 [+0.02] OK # 16.87 [+0.00] # 17.00 [+0.13] dgram mtu size + 1 (expected to fail) # 18.14 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 18.15 [+0.01] ./psock_snd: write: Message too long # 18.31 [+0.16] raw truncate hlen (expected to fail: does not arrive) # 19.39 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 19.40 [+0.01] tx: 14 # 19.51 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 19.65 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 20.80 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 20.81 [+0.02] ./psock_snd: write: Invalid argument # 20.96 [+0.15] raw gso min size # 22.04 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 22.05 [+0.01] tx: 1525 # 22.07 [+0.02] rx: 1473 # 22.09 [+0.02] OK # 22.09 [+0.00] # 22.20 [+0.12] raw gso max size # 23.30 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 23.31 [+0.01] tx: 65559 # 23.32 [+0.01] rx: 65507 # 23.33 [+0.01] OK # 23.33 [+0.00] # 23.45 [+0.12] raw gso max size + 1 (expected to fail) # 24.64 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 24.65 [+0.01] tx: 65560 # 24.76 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 24.90 [+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__->