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.91 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 1.92 [+0.01] tx: 128 # 1.93 [+0.01] rx: 142 # 1.93 [+0.00] rx: 100 # 1.94 [+0.01] OK # 1.94 [+0.00] # 2.10 [+0.16] dgram bind # 3.90 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 3.91 [+0.00] tx: 128 # 3.91 [+0.01] rx: 142 # 3.91 [+0.00] rx: 100 # 3.92 [+0.01] OK # 3.92 [+0.00] # 4.09 [+0.17] raw # 5.88 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 5.88 [+0.01] tx: 142 # 5.89 [+0.01] rx: 142 # 5.89 [+0.00] rx: 100 # 5.90 [+0.01] OK # 5.90 [+0.00] # 6.08 [+0.18] raw bind # 7.89 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 7.89 [+0.01] tx: 142 # 7.90 [+0.01] rx: 142 # 7.90 [+0.00] rx: 100 # 7.92 [+0.02] OK # 7.92 [+0.00] # 8.10 [+0.18] raw qdisc bypass # 9.88 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 9.89 [+0.00] tx: 142 # 9.90 [+0.01] rx: 142 # 9.90 [+0.00] rx: 100 # 9.91 [+0.01] OK # 9.91 [+0.00] # 10.10 [+0.19] raw vlan # 11.93 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 11.94 [+0.01] tx: 146 # 11.95 [+0.01] rx: 100 # 11.97 [+0.01] OK # 11.97 [+0.00] # 12.15 [+0.18] raw vnet hdr # 14.19 [+2.04] net.ipv4.conf.lo.accept_local = 1 # 14.19 [+0.01] tx: 152 # 14.21 [+0.02] rx: 142 # 14.21 [+0.00] rx: 100 # 14.23 [+0.01] OK # 14.23 [+0.00] # 14.41 [+0.18] raw csum_off # 16.21 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 16.22 [+0.01] tx: 152 # 16.22 [+0.01] rx: 142 # 16.22 [+0.00] rx: 100 # 16.24 [+0.01] OK # 16.24 [+0.00] # 16.41 [+0.18] raw csum_off with bad offset (expected to fail) # 18.21 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 18.22 [+0.01] ./psock_snd: write: Invalid argument # 18.44 [+0.22] raw min size # 20.21 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 20.22 [+0.01] tx: 42 # 20.23 [+0.01] rx: 0 # 20.24 [+0.02] OK # 20.24 [+0.00] # 20.42 [+0.18] raw mtu size # 22.22 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 22.22 [+0.00] tx: 1514 # 22.24 [+0.01] rx: 1472 # 22.25 [+0.01] OK # 22.25 [+0.00] # 22.43 [+0.19] raw mtu size + 1 (expected to fail) # 24.26 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 24.27 [+0.01] ./psock_snd: write: Message too long # 24.48 [+0.22] raw vlan mtu size + 1 (expected to fail) # 26.32 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 26.32 [+0.01] ./psock_snd: write: Message too long # 26.55 [+0.23] dgram mtu size # 28.41 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 28.42 [+0.01] tx: 1500 # 28.44 [+0.02] rx: 1472 # 28.45 [+0.02] OK # 28.46 [+0.00] # 28.63 [+0.17] dgram mtu size + 1 (expected to fail) # 30.50 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 30.51 [+0.00] ./psock_snd: write: Message too long # 30.73 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 32.57 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 32.58 [+0.01] tx: 14 # 32.70 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 32.92 [+0.22] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.81 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 34.82 [+0.00] ./psock_snd: write: Invalid argument # 35.01 [+0.20] raw gso min size # 36.81 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 36.82 [+0.01] tx: 1525 # 36.83 [+0.01] rx: 1473 # 36.85 [+0.02] OK # 36.85 [+0.00] # 37.03 [+0.18] raw gso max size # 38.85 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 38.86 [+0.01] tx: 65559 # 38.88 [+0.02] rx: 65507 # 38.90 [+0.02] OK # 38.90 [+0.00] # 39.08 [+0.18] raw gso max size + 1 (expected to fail) # 40.92 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 40.93 [+0.01] tx: 65560 # 41.05 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 41.25 [+0.21] 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__->