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.01 [+0.01] dgram # 1.22 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 1.22 [+0.01] tx: 128 # 1.24 [+0.02] rx: 142 # 1.24 [+0.00] rx: 100 # 1.26 [+0.02] OK # 1.26 [+0.00] # 1.40 [+0.14] dgram bind # 2.68 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 2.69 [+0.01] tx: 128 # 2.71 [+0.02] rx: 142 # 2.71 [+0.00] rx: 100 # 2.72 [+0.02] OK # 2.72 [+0.00] # 2.89 [+0.17] raw # 4.07 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 4.08 [+0.01] tx: 142 # 4.09 [+0.01] rx: 142 # 4.09 [+0.00] rx: 100 # 4.10 [+0.01] OK # 4.10 [+0.00] # 4.26 [+0.17] raw bind # 5.53 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 5.53 [+0.01] tx: 142 # 5.54 [+0.01] rx: 142 # 5.54 [+0.00] rx: 100 # 5.55 [+0.01] OK # 5.55 [+0.00] # 5.70 [+0.15] raw qdisc bypass # 6.94 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 6.95 [+0.01] tx: 142 # 6.95 [+0.01] rx: 142 # 6.95 [+0.00] rx: 100 # 6.97 [+0.02] OK # 6.97 [+0.00] # 7.10 [+0.13] raw vlan # 8.28 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 8.29 [+0.01] tx: 146 # 8.30 [+0.01] rx: 100 # 8.31 [+0.01] OK # 8.31 [+0.00] # 8.46 [+0.15] raw vnet hdr # 9.63 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 9.64 [+0.01] tx: 152 # 9.65 [+0.01] rx: 142 # 9.65 [+0.00] rx: 100 # 9.65 [+0.01] OK # 9.65 [+0.00] # 9.79 [+0.14] raw csum_off # 10.99 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 11.00 [+0.01] tx: 152 # 11.01 [+0.01] rx: 142 # 11.01 [+0.00] rx: 100 # 11.02 [+0.01] OK # 11.02 [+0.00] # 11.15 [+0.14] raw csum_off with bad offset (expected to fail) # 12.40 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 12.41 [+0.01] ./psock_snd: write: Invalid argument # 12.58 [+0.17] raw min size # 13.81 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 13.82 [+0.01] tx: 42 # 13.83 [+0.01] rx: 0 # 13.85 [+0.02] OK # 13.85 [+0.00] # 14.02 [+0.17] raw mtu size # 15.36 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 15.38 [+0.01] tx: 1514 # 15.39 [+0.01] rx: 1472 # 15.40 [+0.01] OK # 15.40 [+0.00] # 15.55 [+0.15] raw mtu size + 1 (expected to fail) # 16.84 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 16.85 [+0.01] ./psock_snd: write: Message too long # 17.08 [+0.23] raw vlan mtu size + 1 (expected to fail) # 18.30 [+1.21] 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.81 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 19.81 [+0.01] tx: 1500 # 19.82 [+0.01] rx: 1472 # 19.84 [+0.02] OK # 19.84 [+0.00] # 20.00 [+0.16] dgram mtu size + 1 (expected to fail) # 21.27 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 21.28 [+0.01] ./psock_snd: write: Message too long # 21.47 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 22.78 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 22.79 [+0.01] tx: 14 # 22.91 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 23.11 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.46 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 24.46 [+0.01] ./psock_snd: write: Invalid argument # 24.65 [+0.19] raw gso min size # 26.03 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 26.04 [+0.01] tx: 1525 # 26.05 [+0.01] rx: 1473 # 26.07 [+0.01] OK # 26.07 [+0.00] # 26.22 [+0.16] raw gso max size # 27.50 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 27.52 [+0.01] tx: 65559 # 27.54 [+0.02] rx: 65507 # 27.56 [+0.02] OK # 27.56 [+0.00] # 27.73 [+0.17] raw gso max size + 1 (expected to fail) # 29.08 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 29.10 [+0.02] tx: 65560 # 29.21 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.41 [+0.19] 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__->