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.01 [+0.01] dgram # 0.78 [+0.76] net.ipv4.conf.lo.accept_local = 1 # 0.78 [+0.00] tx: 128 # 0.79 [+0.01] rx: 142 # 0.79 [+0.00] rx: 100 # 0.80 [+0.01] OK # 0.80 [+0.00] # 0.90 [+0.10] dgram bind # 1.68 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 1.69 [+0.01] tx: 128 # 1.70 [+0.01] rx: 142 # 1.70 [+0.00] rx: 100 # 1.71 [+0.01] OK # 1.71 [+0.00] # 1.79 [+0.08] raw DETECTED CRASH, lowering timeout # 2.37 [+0.58] net.ipv4.conf.lo.accept_local = 1 # 2.37 [+0.00] tx: 142 # 2.38 [+0.01] rx: 142 # 2.38 [+0.00] rx: 100 # 2.39 [+0.01] OK # 2.39 [+0.00] # 2.45 [+0.06] raw bind # 3.00 [+0.55] net.ipv4.conf.lo.accept_local = 1 # 3.00 [+0.00] tx: 142 # 3.01 [+0.01] rx: 142 # 3.01 [+0.00] rx: 100 # 3.02 [+0.01] OK # 3.02 [+0.00] # 3.08 [+0.06] raw qdisc bypass # 3.63 [+0.56] net.ipv4.conf.lo.accept_local = 1 # 3.64 [+0.01] tx: 142 # 3.66 [+0.02] rx: 142 # 3.66 [+0.00] rx: 100 # 3.68 [+0.02] OK # 3.68 [+0.00] # 3.73 [+0.06] raw vlan # 4.28 [+0.54] net.ipv4.conf.lo.accept_local = 1 # 4.28 [+0.00] tx: 146 # 4.29 [+0.01] rx: 100 # 4.29 [+0.01] OK # 4.29 [+0.00] # 4.35 [+0.06] raw vnet hdr # 4.90 [+0.54] net.ipv4.conf.lo.accept_local = 1 # 4.90 [+0.00] tx: 152 # 4.91 [+0.01] rx: 142 # 4.91 [+0.00] rx: 100 # 4.92 [+0.01] OK # 4.92 [+0.00] # 4.98 [+0.06] raw csum_off # 5.53 [+0.55] net.ipv4.conf.lo.accept_local = 1 # 5.54 [+0.00] tx: 152 # 5.54 [+0.01] rx: 142 # 5.54 [+0.00] rx: 100 # 5.55 [+0.01] OK # 5.55 [+0.00] # 5.62 [+0.07] raw csum_off with bad offset (expected to fail) # 6.16 [+0.54] net.ipv4.conf.lo.accept_local = 1 # 6.17 [+0.00] ./psock_snd: write: Invalid argument # 6.29 [+0.12] raw min size # 6.83 [+0.55] net.ipv4.conf.lo.accept_local = 1 # 6.84 [+0.00] tx: 42 # 6.84 [+0.01] rx: 0 # 6.85 [+0.01] OK # 6.85 [+0.00] # 6.92 [+0.06] raw mtu size # 7.49 [+0.57] net.ipv4.conf.lo.accept_local = 1 # 7.49 [+0.00] tx: 1514 # 7.51 [+0.01] rx: 1472 # 7.52 [+0.01] OK # 7.52 [+0.00] # 7.59 [+0.07] raw mtu size + 1 (expected to fail) # 8.14 [+0.55] net.ipv4.conf.lo.accept_local = 1 # 8.15 [+0.00] ./psock_snd: write: Message too long # 8.24 [+0.09] raw vlan mtu size + 1 (expected to fail) # 8.80 [+0.57] net.ipv4.conf.lo.accept_local = 1 # 8.81 [+0.00] ./psock_snd: write: Message too long # 8.92 [+0.12] dgram mtu size # 9.48 [+0.56] net.ipv4.conf.lo.accept_local = 1 # 9.49 [+0.00] tx: 1500 # 9.49 [+0.01] rx: 1472 # 9.50 [+0.01] OK # 9.51 [+0.00] # 9.56 [+0.06] dgram mtu size + 1 (expected to fail) # 10.13 [+0.57] net.ipv4.conf.lo.accept_local = 1 # 10.14 [+0.00] ./psock_snd: write: Message too long # 10.22 [+0.08] raw truncate hlen (expected to fail: does not arrive) # 10.84 [+0.62] net.ipv4.conf.lo.accept_local = 1 # 10.84 [+0.01] tx: 14 # 10.96 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 11.06 [+0.10] raw truncate hlen - 1 (expected to fail: EINVAL) # 11.63 [+0.57] net.ipv4.conf.lo.accept_local = 1 # 11.63 [+0.00] ./psock_snd: write: Invalid argument # 11.73 [+0.10] raw gso min size # 12.32 [+0.59] net.ipv4.conf.lo.accept_local = 1 # 12.33 [+0.01] tx: 1525 # 12.34 [+0.01] rx: 1473 # 12.36 [+0.02] OK # 12.36 [+0.00] # 12.42 [+0.06] raw gso max size # 13.03 [+0.61] net.ipv4.conf.lo.accept_local = 1 # 13.03 [+0.01] tx: 65559 # 13.05 [+0.01] rx: 65507 # 13.06 [+0.02] OK # 13.06 [+0.00] # 13.13 [+0.07] raw gso max size + 1 (expected to fail) # 13.75 [+0.62] net.ipv4.conf.lo.accept_local = 1 # 13.76 [+0.01] tx: 65560 # 13.87 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 13.97 [+0.09] 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__->