Initial iperf tests fail with: seg fault + [tansiv_client] recv failed: failed to fill whole buffer and a Seg fault
Step to reproduce
python g5k.py deploy ../packer/packer-debian-10.3.0-x86_64-qemu/debian-10.3.0-x86_64.qcow2 inputs/nova_cluster.xml inputs/deployment_2.xml --cluster paravance
# then manually
10.0.0.10) iperf -s
10.0.0.11) iperf -c tantap10
Note: also happen with some more conservative parameters: -b 1k --mss 500
(1kb/s transfer and 500byte mss).
What we got from the logs (docker logs tansiv
)
Receive a message [src_decode=192.168.120.11] -> transfering to NIC
Segmentation fault.
2020-12-16 15:36:18,703 ERROR [tansiv_client] recv failed: failed to fill whole buffer
2020-12-16 15:36:18,703 ERROR [tansiv_client] recv failed: failed to fill whole buffer
NOTE: Sending (small) stuffs over tcp work using netcat:
10.0.0.10) nc -l -s tantap10 -p 1234
10.0.0.11) nc tantap10 1234
NOTE: Using udp datagrams is ok:
10.0.0.10) iperf -u -s
10.0.0.11) iperf -u -c tantap10
------------------------------------------------------------
Client connecting to tantap10, UDP port 5001
Sending 1470 byte datagrams, IPG target: 11215.21 us (kalman adjust)
UDP buffer size: 208 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.120.11 port 37551 connected with 192.168.120.10 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec
[ 3] Sent 892 datagrams
[ 3] Server Report:
[ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.001 ms 0/ 892 (0%)