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.14 [+0.14] dgram # 1.93 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 1.93 [+0.01] tx: 128 # 1.95 [+0.02] rx: 142 # 1.96 [+0.00] rx: 100 # 1.97 [+0.02] OK # 1.97 [+0.00] # 2.14 [+0.17] dgram bind # 3.98 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 3.99 [+0.01] tx: 128 # 4.00 [+0.01] rx: 142 # 4.00 [+0.00] rx: 100 # 4.02 [+0.02] OK # 4.02 [+0.00] # 4.19 [+0.17] raw # 6.07 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 6.07 [+0.00] tx: 142 # 6.09 [+0.02] rx: 142 # 6.09 [+0.00] rx: 100 # 6.11 [+0.02] OK # 6.11 [+0.00] # 6.28 [+0.17] raw bind # 8.04 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 8.04 [+0.00] tx: 142 # 8.05 [+0.01] rx: 142 # 8.05 [+0.00] rx: 100 # 8.06 [+0.01] OK # 8.06 [+0.00] # 8.24 [+0.18] raw qdisc bypass # 9.98 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 9.98 [+0.00] tx: 142 # 10.00 [+0.02] rx: 142 # 10.00 [+0.00] rx: 100 # 10.01 [+0.01] OK # 10.01 [+0.00] # 10.21 [+0.19] raw vlan # 11.99 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 11.99 [+0.01] tx: 146 # 12.01 [+0.02] rx: 100 # 12.03 [+0.02] OK # 12.03 [+0.00] # 12.21 [+0.18] raw vnet hdr # 14.08 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 14.08 [+0.00] tx: 152 # 14.09 [+0.01] rx: 142 # 14.09 [+0.00] rx: 100 # 14.10 [+0.01] OK # 14.10 [+0.00] # 14.28 [+0.19] raw csum_off # 16.06 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 16.07 [+0.01] tx: 152 # 16.08 [+0.01] rx: 142 # 16.08 [+0.00] rx: 100 # 16.09 [+0.01] OK # 16.09 [+0.00] # 16.26 [+0.17] raw csum_off with bad offset (expected to fail) # 18.17 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 18.17 [+0.00] ./psock_snd: write: Invalid argument # 18.39 [+0.22] raw min size # 20.20 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 20.20 [+0.01] tx: 42 # 20.22 [+0.01] rx: 0 # 20.23 [+0.02] OK # 20.23 [+0.00] # 20.40 [+0.17] raw mtu size # 22.18 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 22.18 [+0.01] tx: 1514 # 22.20 [+0.01] rx: 1472 # 22.21 [+0.02] OK # 22.21 [+0.00] # 22.39 [+0.18] raw mtu size + 1 (expected to fail) # 24.10 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 24.11 [+0.01] ./psock_snd: write: Message too long # 24.30 [+0.20] raw vlan mtu size + 1 (expected to fail) # 26.04 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 26.05 [+0.01] ./psock_snd: write: Message too long # 26.26 [+0.21] dgram mtu size # 28.01 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 28.02 [+0.01] tx: 1500 # 28.03 [+0.02] rx: 1472 # 28.05 [+0.02] OK # 28.05 [+0.00] # 28.22 [+0.17] dgram mtu size + 1 (expected to fail) # 30.00 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 30.00 [+0.01] ./psock_snd: write: Message too long # 30.22 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 32.00 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 32.00 [+0.01] tx: 14 # 32.13 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 32.33 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.10 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 34.11 [+0.01] ./psock_snd: write: Invalid argument # 34.32 [+0.21] raw gso min size # 36.01 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 36.02 [+0.01] tx: 1525 # 36.03 [+0.01] rx: 1473 # 36.05 [+0.02] OK # 36.05 [+0.00] # 36.22 [+0.17] raw gso max size # 37.93 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 37.94 [+0.01] tx: 65559 # 37.95 [+0.01] rx: 65507 # 37.96 [+0.01] OK # 37.96 [+0.00] # 38.13 [+0.17] raw gso max size + 1 (expected to fail) # 39.82 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 39.83 [+0.01] tx: 65560 # 39.94 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 40.15 [+0.20] 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__->