make -C tools/testing/selftests TARGETS="net" TEST_PROGS=psock_snd.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: psock_snd.sh # 0.00 [+0.00] dgram # 1.20 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 1.21 [+0.01] tx: 128 # 1.21 [+0.01] rx: 142 # 1.21 [+0.00] rx: 100 # 1.22 [+0.01] OK # 1.22 [+0.00] # 1.37 [+0.15] dgram bind DETECTED CRASH, lowering timeout # 2.16 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 2.17 [+0.01] tx: 128 # 2.18 [+0.01] rx: 142 # 2.18 [+0.00] rx: 100 # 2.19 [+0.01] OK # 2.19 [+0.00] # 2.26 [+0.07] raw # 3.01 [+0.76] net.ipv4.conf.lo.accept_local = 1 # 3.02 [+0.01] tx: 142 # 3.03 [+0.01] rx: 142 # 3.03 [+0.00] rx: 100 # 3.04 [+0.01] OK # 3.04 [+0.00] # 3.12 [+0.08] raw bind # 3.88 [+0.75] net.ipv4.conf.lo.accept_local = 1 # 3.88 [+0.01] tx: 142 # 3.90 [+0.01] rx: 142 # 3.90 [+0.00] rx: 100 # 3.91 [+0.01] OK # 3.91 [+0.00] # 4.02 [+0.11] raw qdisc bypass # 4.77 [+0.75] net.ipv4.conf.lo.accept_local = 1 # 4.78 [+0.01] tx: 142 # 4.78 [+0.01] rx: 142 # 4.78 [+0.00] rx: 100 # 4.79 [+0.00] OK # 4.79 [+0.00] # 4.88 [+0.09] raw vlan # 5.60 [+0.72] net.ipv4.conf.lo.accept_local = 1 # 5.61 [+0.01] tx: 146 # 5.62 [+0.01] rx: 100 # 5.63 [+0.01] OK # 5.63 [+0.00] # 5.72 [+0.09] raw vnet hdr # 6.50 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 6.50 [+0.01] tx: 152 # 6.51 [+0.01] rx: 142 # 6.51 [+0.00] rx: 100 # 6.52 [+0.00] OK # 6.52 [+0.00] # 6.59 [+0.07] raw csum_off # 7.30 [+0.71] net.ipv4.conf.lo.accept_local = 1 # 7.30 [+0.01] tx: 152 # 7.31 [+0.00] rx: 142 # 7.31 [+0.00] rx: 100 # 7.32 [+0.01] OK # 7.32 [+0.00] # 7.41 [+0.09] raw csum_off with bad offset (expected to fail) # 8.24 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 8.24 [+0.01] ./psock_snd: write: Invalid argument # 8.35 [+0.10] raw min size # 9.11 [+0.76] net.ipv4.conf.lo.accept_local = 1 # 9.11 [+0.01] tx: 42 # 9.12 [+0.01] rx: 0 # 9.13 [+0.01] OK # 9.14 [+0.00] # 9.22 [+0.08] raw mtu size # 9.99 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 10.00 [+0.00] tx: 1514 # 10.00 [+0.01] rx: 1472 # 10.01 [+0.01] OK # 10.01 [+0.00] # 10.10 [+0.08] raw mtu size + 1 (expected to fail) # 10.89 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 10.90 [+0.01] ./psock_snd: write: Message too long # 10.99 [+0.09] raw vlan mtu size + 1 (expected to fail) # 11.77 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 11.78 [+0.01] ./psock_snd: write: Message too long # 11.89 [+0.11] dgram mtu size # 12.74 [+0.84] net.ipv4.conf.lo.accept_local = 1 # 12.74 [+0.01] tx: 1500 # 12.75 [+0.01] rx: 1472 # 12.76 [+0.01] OK # 12.76 [+0.00] # 12.84 [+0.08] dgram mtu size + 1 (expected to fail) # 13.58 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 13.59 [+0.01] ./psock_snd: write: Message too long # 13.68 [+0.09] raw truncate hlen (expected to fail: does not arrive) # 14.46 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 14.47 [+0.01] tx: 14 # 14.58 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 14.68 [+0.09] raw truncate hlen - 1 (expected to fail: EINVAL) # 15.42 [+0.75] net.ipv4.conf.lo.accept_local = 1 # 15.43 [+0.00] ./psock_snd: write: Invalid argument # 15.53 [+0.10] raw gso min size # 16.25 [+0.72] net.ipv4.conf.lo.accept_local = 1 # 16.26 [+0.00] tx: 1525 # 16.26 [+0.00] rx: 1473 # 16.26 [+0.00] OK # 16.26 [+0.00] # 16.34 [+0.07] raw gso max size # 17.10 [+0.76] net.ipv4.conf.lo.accept_local = 1 # 17.11 [+0.01] tx: 65559 # 17.11 [+0.01] rx: 65507 # 17.12 [+0.01] OK # 17.12 [+0.00] # 17.19 [+0.08] raw gso max size + 1 (expected to fail) # 17.90 [+0.70] net.ipv4.conf.lo.accept_local = 1 # 17.91 [+0.01] tx: 65560 # 18.01 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 18.10 [+0.09] OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests' xx__-> echo $? 0 xx__->