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.07 [+0.07] dgram # 1.65 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 1.65 [+0.00] tx: 128 # 1.66 [+0.01] rx: 142 # 1.66 [+0.00] rx: 100 # 1.68 [+0.02] OK # 1.68 [+0.00] # 1.84 [+0.16] dgram bind # 3.41 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 3.42 [+0.00] tx: 128 # 3.44 [+0.02] rx: 142 # 3.44 [+0.00] rx: 100 # 3.45 [+0.01] OK # 3.45 [+0.00] # 3.62 [+0.17] raw # 5.21 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 5.21 [+0.00] tx: 142 # 5.23 [+0.02] rx: 142 # 5.23 [+0.00] rx: 100 # 5.25 [+0.02] OK # 5.25 [+0.00] # 5.42 [+0.17] raw bind # 6.99 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 7.00 [+0.00] tx: 142 # 7.00 [+0.01] rx: 142 # 7.01 [+0.00] rx: 100 # 7.01 [+0.01] OK # 7.01 [+0.00] # 7.17 [+0.15] raw qdisc bypass # 8.77 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 8.78 [+0.00] tx: 142 # 8.79 [+0.01] rx: 142 # 8.79 [+0.00] rx: 100 # 8.80 [+0.01] OK # 8.80 [+0.00] # 8.98 [+0.18] raw vlan # 10.60 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 10.60 [+0.00] tx: 146 # 10.61 [+0.01] rx: 100 # 10.62 [+0.01] OK # 10.62 [+0.00] # 10.78 [+0.16] raw vnet hdr # 12.40 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 12.41 [+0.01] tx: 152 # 12.42 [+0.01] rx: 142 # 12.42 [+0.00] rx: 100 # 12.44 [+0.02] OK # 12.44 [+0.00] # 12.59 [+0.16] raw csum_off # 14.22 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 14.22 [+0.00] tx: 152 # 14.24 [+0.02] rx: 142 # 14.24 [+0.00] rx: 100 # 14.26 [+0.02] OK # 14.26 [+0.00] # 14.43 [+0.17] raw csum_off with bad offset (expected to fail) # 16.06 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 16.06 [+0.00] ./psock_snd: write: Invalid argument # 16.26 [+0.20] raw min size # 17.92 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 17.92 [+0.01] tx: 42 # 17.93 [+0.01] rx: 0 # 17.94 [+0.01] OK # 17.94 [+0.00] # 18.10 [+0.16] raw mtu size # 19.72 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 19.73 [+0.01] tx: 1514 # 19.74 [+0.01] rx: 1472 # 19.75 [+0.01] OK # 19.75 [+0.00] # 19.90 [+0.16] raw mtu size + 1 (expected to fail) # 21.52 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 21.52 [+0.00] ./psock_snd: write: Message too long # 21.74 [+0.21] raw vlan mtu size + 1 (expected to fail) # 23.34 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 23.35 [+0.01] ./psock_snd: write: Message too long # 23.53 [+0.18] dgram mtu size # 25.15 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 25.16 [+0.02] tx: 1500 # 25.17 [+0.01] rx: 1472 # 25.18 [+0.01] OK # 25.18 [+0.00] # 25.34 [+0.17] dgram mtu size + 1 (expected to fail) # 26.96 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 26.97 [+0.01] ./psock_snd: write: Message too long # 27.17 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 28.79 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 28.80 [+0.00] tx: 14 # 28.92 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 29.10 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 30.73 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 30.74 [+0.01] ./psock_snd: write: Invalid argument # 30.92 [+0.18] raw gso min size # 32.55 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 32.56 [+0.01] tx: 1525 # 32.57 [+0.01] rx: 1473 # 32.59 [+0.02] OK # 32.59 [+0.00] # 32.75 [+0.16] raw gso max size # 34.37 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 34.38 [+0.01] tx: 65559 # 34.39 [+0.01] rx: 65507 # 34.40 [+0.01] OK # 34.40 [+0.00] # 34.56 [+0.16] raw gso max size + 1 (expected to fail) # 36.17 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 36.18 [+0.01] tx: 65560 # 36.30 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 36.47 [+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__->