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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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 # 1.13 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 1.14 [+0.01] tx: 128 # 1.15 [+0.01] rx: 142 # 1.15 [+0.00] rx: 100 # 1.16 [+0.01] OK # 1.16 [+0.00] # 1.34 [+0.19] dgram bind # 2.47 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 2.48 [+0.01] tx: 128 # 2.49 [+0.01] rx: 142 # 2.49 [+0.00] rx: 100 # 2.49 [+0.01] OK # 2.49 [+0.00] # 2.61 [+0.11] raw # 3.73 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 3.74 [+0.01] tx: 142 # 3.76 [+0.02] rx: 142 # 3.76 [+0.00] rx: 100 # 3.77 [+0.02] OK # 3.78 [+0.00] # 3.89 [+0.12] raw bind # 5.08 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 5.09 [+0.01] tx: 142 # 5.09 [+0.01] rx: 142 # 5.09 [+0.00] rx: 100 # 5.11 [+0.01] OK # 5.11 [+0.00] # 5.25 [+0.15] raw qdisc bypass # 6.77 [+1.52] net.ipv4.conf.lo.accept_local = 1 # 6.81 [+0.04] tx: 142 # 6.82 [+0.01] rx: 142 # 6.82 [+0.00] rx: 100 # 6.82 [+0.01] OK # 6.82 [+0.00] # 6.98 [+0.16] raw vlan # 8.34 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 8.36 [+0.02] tx: 146 # 8.37 [+0.01] rx: 100 # 8.38 [+0.02] OK # 8.38 [+0.00] # 8.54 [+0.16] raw vnet hdr # 9.89 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 9.90 [+0.01] tx: 152 # 9.91 [+0.01] rx: 142 # 9.91 [+0.00] rx: 100 # 9.92 [+0.01] OK # 9.92 [+0.00] # 10.06 [+0.14] raw csum_off # 11.22 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 11.23 [+0.01] tx: 152 # 11.23 [+0.01] rx: 142 # 11.23 [+0.00] rx: 100 # 11.24 [+0.01] OK # 11.24 [+0.00] # 11.37 [+0.13] raw csum_off with bad offset (expected to fail) # 12.53 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 12.55 [+0.02] ./psock_snd: write: Invalid argument # 12.70 [+0.15] raw min size # 13.95 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 13.96 [+0.01] tx: 42 # 13.97 [+0.01] rx: 0 # 13.98 [+0.01] OK # 13.98 [+0.00] # 14.11 [+0.13] raw mtu size # 15.52 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 15.53 [+0.01] tx: 1514 # 15.54 [+0.01] rx: 1472 # 15.55 [+0.01] OK # 15.55 [+0.00] # 15.72 [+0.18] raw mtu size + 1 (expected to fail) # 16.98 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 16.99 [+0.01] ./psock_snd: write: Message too long # 17.19 [+0.19] raw vlan mtu size + 1 (expected to fail) # 18.30 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 18.30 [+0.01] ./psock_snd: write: Message too long # 18.48 [+0.18] dgram mtu size # 19.67 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 19.68 [+0.01] tx: 1500 # 19.70 [+0.02] rx: 1472 # 19.72 [+0.02] OK # 19.72 [+0.00] # 19.87 [+0.15] dgram mtu size + 1 (expected to fail) # 21.24 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 21.25 [+0.01] ./psock_snd: write: Message too long # 21.45 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 22.90 [+1.45] net.ipv4.conf.lo.accept_local = 1 # 22.91 [+0.01] tx: 14 # 23.03 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 23.22 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.66 [+1.44] net.ipv4.conf.lo.accept_local = 1 # 24.67 [+0.01] ./psock_snd: write: Invalid argument # 24.88 [+0.21] raw gso min size # 26.44 [+1.56] net.ipv4.conf.lo.accept_local = 1 # 26.46 [+0.02] tx: 1525 # 26.47 [+0.02] rx: 1473 # 26.49 [+0.01] OK # 26.49 [+0.00] # 26.62 [+0.13] raw gso max size # 27.81 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 27.82 [+0.01] tx: 65559 # 27.82 [+0.01] rx: 65507 # 27.83 [+0.01] OK # 27.83 [+0.00] # 27.95 [+0.12] raw gso max size + 1 (expected to fail) # 29.10 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 29.11 [+0.01] tx: 65560 # 29.24 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 29.42 [+0.18] 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__->