make -C tools/testing/selftests TARGETS="net" TEST_PROGS=psock_snd.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: psock_snd.sh # 0.00 [+0.00] dgram # 0.07 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.07 [+0.00] tx: 128 # 0.08 [+0.02] rx: 142 # 0.08 [+0.00] rx: 100 # 0.09 [+0.01] OK # 0.09 [+0.00] # 0.10 [+0.01] dgram bind # 0.18 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.18 [+0.00] tx: 128 # 0.19 [+0.01] rx: 142 # 0.19 [+0.00] rx: 100 # 0.19 [+0.01] OK # 0.19 [+0.00] # 0.20 [+0.01] raw # 0.28 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.28 [+0.00] tx: 142 # 0.29 [+0.02] rx: 142 # 0.29 [+0.00] rx: 100 # 0.31 [+0.02] OK # 0.31 [+0.00] # 0.32 [+0.01] raw bind # 0.39 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.39 [+0.00] tx: 142 # 0.40 [+0.01] rx: 142 # 0.40 [+0.00] rx: 100 # 0.41 [+0.01] OK # 0.41 [+0.00] # 0.42 [+0.01] raw qdisc bypass # 0.49 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.49 [+0.00] tx: 142 # 0.50 [+0.01] rx: 142 # 0.50 [+0.00] rx: 100 # 0.51 [+0.01] OK # 0.51 [+0.00] # 0.52 [+0.01] raw vlan # 0.59 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.59 [+0.00] tx: 146 # 0.61 [+0.02] rx: 100 # 0.62 [+0.01] OK # 0.62 [+0.00] # 0.63 [+0.01] raw vnet hdr # 0.71 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.71 [+0.00] tx: 152 # 0.73 [+0.02] rx: 142 # 0.73 [+0.00] rx: 100 # 0.74 [+0.02] OK # 0.74 [+0.00] # 0.75 [+0.01] raw csum_off # 0.83 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.83 [+0.00] tx: 152 # 0.85 [+0.02] rx: 142 # 0.85 [+0.00] rx: 100 # 0.86 [+0.01] OK # 0.86 [+0.00] # 0.87 [+0.01] raw csum_off with bad offset (expected to fail) # 0.94 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 0.94 [+0.00] ./psock_snd: write: Invalid argument # 0.97 [+0.03] raw min size # 1.05 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 1.05 [+0.00] tx: 42 # 1.05 [+0.01] rx: 0 # 1.06 [+0.01] OK # 1.06 [+0.00] # 1.07 [+0.01] raw mtu size # 1.15 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 1.15 [+0.00] tx: 1514 # 1.16 [+0.01] rx: 1472 # 1.17 [+0.01] OK # 1.17 [+0.00] # 1.18 [+0.01] raw mtu size + 1 (expected to fail) # 1.25 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 1.26 [+0.00] ./psock_snd: write: Message too long # 1.30 [+0.04] raw vlan mtu size + 1 (expected to fail) # 1.37 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 1.37 [+0.00] ./psock_snd: write: Message too long # 1.42 [+0.04] dgram mtu size # 1.49 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 1.49 [+0.00] tx: 1500 # 1.50 [+0.01] rx: 1472 # 1.51 [+0.01] OK # 1.51 [+0.00] # 1.52 [+0.01] dgram mtu size + 1 (expected to fail) # 1.59 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.59 [+0.00] ./psock_snd: write: Message too long # 1.64 [+0.04] raw truncate hlen (expected to fail: does not arrive) # 1.71 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 1.71 [+0.00] tx: 14 # 1.83 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 1.85 [+0.02] raw truncate hlen - 1 (expected to fail: EINVAL) # 1.92 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 1.92 [+0.00] ./psock_snd: write: Invalid argument # 1.97 [+0.04] raw gso min size # 2.04 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 2.04 [+0.00] tx: 1525 # 2.05 [+0.00] rx: 1473 # 2.05 [+0.01] OK # 2.05 [+0.00] # 2.06 [+0.01] raw gso max size # 2.14 [+0.08] net.ipv4.conf.lo.accept_local = 1 # 2.14 [+0.00] tx: 65559 # 2.16 [+0.02] rx: 65507 # 2.17 [+0.01] OK # 2.17 [+0.00] # 2.18 [+0.01] raw gso max size + 1 (expected to fail) # 2.25 [+0.07] net.ipv4.conf.lo.accept_local = 1 # 2.25 [+0.00] tx: 65560 # 2.37 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 2.39 [+0.02] OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->