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.16 [+0.16] dgram # 1.96 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 1.96 [+0.01] tx: 128 # 1.97 [+0.01] rx: 142 # 1.97 [+0.00] rx: 100 # 2.00 [+0.02] OK # 2.00 [+0.00] # 2.18 [+0.19] dgram bind # 3.95 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 3.96 [+0.01] tx: 128 # 3.97 [+0.01] rx: 142 # 3.97 [+0.00] rx: 100 # 4.00 [+0.02] OK # 4.00 [+0.00] # 4.19 [+0.19] raw # 5.95 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 5.95 [+0.00] tx: 142 # 5.97 [+0.02] rx: 142 # 5.97 [+0.00] rx: 100 # 5.99 [+0.02] OK # 5.99 [+0.00] # 6.18 [+0.19] raw bind # 7.95 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 7.96 [+0.00] tx: 142 # 7.96 [+0.01] rx: 142 # 7.96 [+0.00] rx: 100 # 7.98 [+0.01] OK # 7.98 [+0.00] # 8.16 [+0.18] raw qdisc bypass # 9.90 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 9.90 [+0.00] tx: 142 # 9.92 [+0.01] rx: 142 # 9.92 [+0.00] rx: 100 # 9.93 [+0.01] OK # 9.93 [+0.00] # 10.10 [+0.17] raw vlan # 11.89 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 11.90 [+0.01] tx: 146 # 11.90 [+0.01] rx: 100 # 11.92 [+0.01] OK # 11.92 [+0.00] # 12.09 [+0.17] raw vnet hdr # 13.82 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 13.83 [+0.00] tx: 152 # 13.85 [+0.02] rx: 142 # 13.85 [+0.00] rx: 100 # 13.86 [+0.02] OK # 13.86 [+0.00] # 14.05 [+0.19] raw csum_off # 15.85 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 15.86 [+0.01] tx: 152 # 15.87 [+0.01] rx: 142 # 15.87 [+0.00] rx: 100 # 15.88 [+0.01] OK # 15.88 [+0.00] # 16.05 [+0.17] raw csum_off with bad offset (expected to fail) # 17.96 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 17.97 [+0.00] ./psock_snd: write: Invalid argument # 18.18 [+0.21] raw min size # 20.02 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 20.03 [+0.01] tx: 42 # 20.04 [+0.01] rx: 0 # 20.05 [+0.02] OK # 20.05 [+0.00] # 20.24 [+0.19] raw mtu size # 22.05 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 22.06 [+0.01] tx: 1514 # 22.07 [+0.01] rx: 1472 # 22.08 [+0.01] OK # 22.08 [+0.00] # 22.25 [+0.17] raw mtu size + 1 (expected to fail) # 24.09 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 24.09 [+0.01] ./psock_snd: write: Message too long # 24.31 [+0.22] raw vlan mtu size + 1 (expected to fail) # 26.16 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 26.16 [+0.00] ./psock_snd: write: Message too long # 26.38 [+0.21] dgram mtu size # 28.22 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 28.23 [+0.00] tx: 1500 # 28.24 [+0.01] rx: 1472 # 28.25 [+0.02] OK # 28.25 [+0.00] # 28.43 [+0.18] dgram mtu size + 1 (expected to fail) # 30.31 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 30.31 [+0.01] ./psock_snd: write: Message too long # 30.52 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 32.35 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 32.36 [+0.01] tx: 14 # 32.47 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 32.68 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.48 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 34.49 [+0.00] ./psock_snd: write: Invalid argument # 34.72 [+0.24] raw gso min size # 36.55 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 36.57 [+0.02] tx: 1525 # 36.59 [+0.02] rx: 1473 # 36.61 [+0.02] OK # 36.61 [+0.00] # 36.78 [+0.17] raw gso max size # 38.60 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 38.61 [+0.01] tx: 65559 # 38.62 [+0.01] rx: 65507 # 38.64 [+0.02] OK # 38.64 [+0.00] # 38.83 [+0.19] raw gso max size + 1 (expected to fail) # 40.66 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 40.67 [+0.01] tx: 65560 # 40.79 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 41.00 [+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__->