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.00 [+0.00] dgram # 1.24 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 1.25 [+0.01] tx: 128 # 1.25 [+0.01] rx: 142 # 1.25 [+0.00] rx: 100 # 1.26 [+0.01] OK # 1.26 [+0.00] # 1.40 [+0.13] dgram bind # 2.64 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 2.65 [+0.01] tx: 128 # 2.66 [+0.01] rx: 142 # 2.66 [+0.00] rx: 100 # 2.67 [+0.01] OK # 2.67 [+0.00] # 2.81 [+0.13] raw # 4.02 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 4.03 [+0.01] tx: 142 # 4.04 [+0.01] rx: 142 # 4.04 [+0.00] rx: 100 # 4.05 [+0.01] OK # 4.05 [+0.00] # 4.20 [+0.15] raw bind # 5.46 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 5.46 [+0.01] tx: 142 # 5.47 [+0.01] rx: 142 # 5.47 [+0.00] rx: 100 # 5.48 [+0.01] OK # 5.48 [+0.00] # 5.61 [+0.13] raw qdisc bypass # 6.86 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 6.88 [+0.01] tx: 142 # 6.89 [+0.01] rx: 142 # 6.89 [+0.00] rx: 100 # 6.89 [+0.01] OK # 6.89 [+0.00] # 7.04 [+0.15] raw vlan # 8.27 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 8.27 [+0.01] tx: 146 # 8.29 [+0.01] rx: 100 # 8.30 [+0.01] OK # 8.30 [+0.00] # 8.44 [+0.14] raw vnet hdr # 9.71 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 9.71 [+0.01] tx: 152 # 9.72 [+0.01] rx: 142 # 9.72 [+0.00] rx: 100 # 9.73 [+0.01] OK # 9.73 [+0.00] # 9.87 [+0.14] raw csum_off # 11.09 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 11.10 [+0.01] tx: 152 # 11.12 [+0.02] rx: 142 # 11.12 [+0.00] rx: 100 # 11.14 [+0.02] OK # 11.14 [+0.00] # 11.29 [+0.15] raw csum_off with bad offset (expected to fail) # 12.54 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 12.55 [+0.01] ./psock_snd: write: Invalid argument # 12.75 [+0.19] raw min size # 14.05 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 14.07 [+0.01] tx: 42 # 14.08 [+0.01] rx: 0 # 14.09 [+0.02] OK # 14.09 [+0.00] # 14.22 [+0.13] raw mtu size # 15.53 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 15.54 [+0.01] tx: 1514 # 15.55 [+0.01] rx: 1472 # 15.56 [+0.01] OK # 15.56 [+0.00] # 15.70 [+0.14] raw mtu size + 1 (expected to fail) # 16.94 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 16.95 [+0.01] ./psock_snd: write: Message too long # 17.15 [+0.20] raw vlan mtu size + 1 (expected to fail) # 18.43 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 18.43 [+0.01] ./psock_snd: write: Message too long # 18.65 [+0.22] dgram mtu size # 19.91 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 19.91 [+0.01] tx: 1500 # 19.93 [+0.02] rx: 1472 # 19.95 [+0.02] OK # 19.95 [+0.00] # 20.09 [+0.14] dgram mtu size + 1 (expected to fail) # 21.32 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 21.33 [+0.01] ./psock_snd: write: Message too long # 21.53 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 22.81 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 22.82 [+0.01] tx: 14 # 22.94 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 23.10 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.34 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 24.35 [+0.01] ./psock_snd: write: Invalid argument # 24.54 [+0.19] raw gso min size # 25.94 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 25.95 [+0.01] tx: 1525 # 25.96 [+0.01] rx: 1473 # 25.98 [+0.02] OK # 25.98 [+0.00] # 26.12 [+0.15] raw gso max size # 27.37 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 27.39 [+0.01] tx: 65559 # 27.40 [+0.01] rx: 65507 # 27.40 [+0.01] OK # 27.41 [+0.00] # 27.55 [+0.15] raw gso max size + 1 (expected to fail) # 28.81 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 28.83 [+0.02] tx: 65560 # 28.95 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 29.11 [+0.16] 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__->