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.16 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 0.16 [+0.00] tx: 128 # 0.18 [+0.02] rx: 142 # 0.18 [+0.00] rx: 100 # 0.19 [+0.02] OK # 0.19 [+0.00] # 0.21 [+0.01] dgram bind # 0.38 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 0.38 [+0.00] tx: 128 # 0.39 [+0.01] rx: 142 # 0.39 [+0.00] rx: 100 # 0.41 [+0.02] OK # 0.41 [+0.00] # 0.43 [+0.02] raw # 0.61 [+0.19] net.ipv4.conf.lo.accept_local = 1 # 0.61 [+0.00] tx: 142 # 0.63 [+0.02] rx: 142 # 0.63 [+0.00] rx: 100 # 0.64 [+0.01] OK # 0.64 [+0.00] # 0.66 [+0.02] raw bind # 0.84 [+0.18] net.ipv4.conf.lo.accept_local = 1 # 0.85 [+0.00] tx: 142 # 0.86 [+0.02] rx: 142 # 0.86 [+0.00] rx: 100 # 0.87 [+0.01] OK # 0.87 [+0.00] # 0.89 [+0.02] raw qdisc bypass # 1.06 [+0.17] net.ipv4.conf.lo.accept_local = 1 # 1.06 [+0.00] tx: 142 # 1.06 [+0.00] rx: 142 # 1.06 [+0.00] rx: 100 # 1.07 [+0.01] OK # 1.07 [+0.00] # 1.09 [+0.02] raw vlan # 1.24 [+0.15] net.ipv4.conf.lo.accept_local = 1 # 1.24 [+0.00] tx: 146 # 1.25 [+0.01] rx: 100 # 1.27 [+0.02] OK # 1.27 [+0.00] # 1.29 [+0.02] raw vnet hdr # 1.47 [+0.19] net.ipv4.conf.lo.accept_local = 1 # 1.47 [+0.00] tx: 152 # 1.49 [+0.01] rx: 142 # 1.49 [+0.00] rx: 100 # 1.50 [+0.01] OK # 1.50 [+0.00] # 1.52 [+0.02] raw csum_off # 1.69 [+0.18] net.ipv4.conf.lo.accept_local = 1 # 1.69 [+0.00] tx: 152 # 1.72 [+0.02] rx: 142 # 1.72 [+0.00] rx: 100 # 1.73 [+0.01] OK # 1.73 [+0.00] # 1.75 [+0.02] raw csum_off with bad offset (expected to fail) # 1.92 [+0.18] net.ipv4.conf.lo.accept_local = 1 # 1.93 [+0.00] ./psock_snd: write: Invalid argument # 1.97 [+0.04] raw min size # 2.16 [+0.19] net.ipv4.conf.lo.accept_local = 1 # 2.16 [+0.00] tx: 42 # 2.18 [+0.02] rx: 0 # 2.19 [+0.01] OK # 2.20 [+0.00] # 2.21 [+0.02] raw mtu size # 2.40 [+0.19] net.ipv4.conf.lo.accept_local = 1 # 2.40 [+0.00] tx: 1514 # 2.42 [+0.02] rx: 1472 # 2.43 [+0.01] OK # 2.43 [+0.00] # 2.45 [+0.02] raw mtu size + 1 (expected to fail) # 2.65 [+0.19] net.ipv4.conf.lo.accept_local = 1 # 2.65 [+0.00] ./psock_snd: write: Message too long # 2.70 [+0.05] raw vlan mtu size + 1 (expected to fail) # 2.91 [+0.21] net.ipv4.conf.lo.accept_local = 1 # 2.91 [+0.00] ./psock_snd: write: Message too long # 2.97 [+0.06] dgram mtu size # 3.16 [+0.19] net.ipv4.conf.lo.accept_local = 1 # 3.16 [+0.00] tx: 1500 # 3.17 [+0.01] rx: 1472 # 3.19 [+0.02] OK # 3.19 [+0.00] # 3.20 [+0.02] dgram mtu size + 1 (expected to fail) # 3.37 [+0.16] net.ipv4.conf.lo.accept_local = 1 # 3.37 [+0.00] ./psock_snd: write: Message too long # 3.39 [+0.03] raw truncate hlen (expected to fail: does not arrive) # 3.58 [+0.19] net.ipv4.conf.lo.accept_local = 1 # 3.58 [+0.00] tx: 14 # 3.70 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 3.74 [+0.04] raw truncate hlen - 1 (expected to fail: EINVAL) # 3.95 [+0.22] net.ipv4.conf.lo.accept_local = 1 # 3.96 [+0.00] ./psock_snd: write: Invalid argument # 4.01 [+0.06] raw gso min size # 4.21 [+0.20] net.ipv4.conf.lo.accept_local = 1 # 4.22 [+0.00] tx: 1525 # 4.22 [+0.01] rx: 1473 # 4.23 [+0.01] OK # 4.23 [+0.00] # 4.26 [+0.02] raw gso max size # 4.43 [+0.18] net.ipv4.conf.lo.accept_local = 1 # 4.44 [+0.00] tx: 65559 # 4.46 [+0.02] rx: 65507 # 4.47 [+0.02] OK # 4.47 [+0.00] # 4.49 [+0.02] raw gso max size + 1 (expected to fail) # 4.67 [+0.18] net.ipv4.conf.lo.accept_local = 1 # 4.67 [+0.00] tx: 65560 # 4.78 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 4.80 [+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__->