From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-28.smtp.github.com (out-28.smtp.github.com [192.30.252.211]) by mail.toke.dk (Postfix) with ESMTPS id 3287C8C767D for ; Fri, 1 Oct 2021 15:09:52 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key) header.d=github.com header.i=@github.com header.b=AfvWWAVj Received: from github-lowworker-d31a065.va3-iad.github.net (github-lowworker-d31a065.va3-iad.github.net [10.48.17.70]) by smtp.github.com (Postfix) with ESMTP id 364849004D6 for ; Fri, 1 Oct 2021 06:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1633093791; bh=ZEl+IAaDXaeMS2b1ya31iibpXLZiKwTGI6V7aqywXpQ=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=AfvWWAVjGJc6bBuOsx/xj7D0Cc7Ylx4CnGHynstXdVRqvdPpZZS8RFgTHGAai+N0S OA1oXsajN1s3ySadNYdzLedWcjmWgTrc0M0mlJBg6YFMWacQ453LuGVPE/h2Lvd0Kd 4HRmuzvbvq//i8leuoyN2Gbb0Bte6XIP1ovrDIsQ= Date: Fri, 01 Oct 2021 06:09:51 -0700 From: j-breyer To: tohojo/flent Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_6157089f27614_4452c7609731a"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: j-breyer X-GitHub-Recipient: flent-users X-GitHub-Reason: subscribed X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org Message-ID-Hash: Z6WH7CYGOQB74JJ2HX6CITBVW7I3YP2S X-Message-ID-Hash: Z6WH7CYGOQB74JJ2HX6CITBVW7I3YP2S X-MailFrom: noreply@github.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Subscribed X-Mailman-Version: 3.3.4 Reply-To: tohojo/flent Subject: [Flent-users] [tohojo/flent] TCP (IPv4) connection fails in rrul46compete when specifying --local-bind (#242) List-Id: Flent discussion list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: ----==_mimepart_6157089f27614_4452c7609731a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit When starting the `rrul46compete` test, I noticed some weird behavior: With defined hosts `mn.h1` and `mn.h2`, each having an IPv4 as well as an IPv6 address, the command `sudo flent rrul46compete -p all_scaled -l 60 -H mn.h2 -o rrul46_nolocal.pdf -v` runs error free with complete graph output. However, specifying a `--local-bind`, the TCP connections for IPv4 fail at some point and their respective lines in the graph are missing: Changed command: `sudo flent rrul46compete -p all_scaled --local-bind mn.h1 -l 60 -H mn.h2 -o rrul46_new.pdf -v` Error output (same for upload BK, download BE and download BK respectively): ``` WARNING: Program exited non-zero. Runner class: NetperfDemoRunner Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 0x0,0x0 -H mn.h2 -p 12865 -t TCP_STREAM -l 60 -F /dev/urandom -f m -L mn.h1 -- -L mn.h1 -H mn.h2 -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD Return code: 1 Stdout: get_sockaddr_family_addr_port family mismatch 10 vs 2 Stderr: netperf: send_omni: connect_data_socket failed: Invalid argument WARNING: Command produced no valid data. Runner class: NetperfDemoRunner Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 0x0,0x0 -H mn.h2 -p 12865 -t TCP_STREAM -l 60 -F /dev/urandom -f m -L mn.h1 -- -L mn.h1 -H mn.h2 -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD Return code: 1 Stdout: get_sockaddr_family_addr_port family mismatch 10 vs 2 Stderr: netperf: send_omni: connect_data_socket failed: Invalid argument NetperfDemoRunner TCP upload BE finished ``` As the command runs fine without `--local-bind`, I suppose this is not of high importance, nonetheless, I wanted to report this. Also, the irtt for latency measurement runs fine in this test, it's only the netperf for IPv4 that fails. Full verbose output: [verbose_rrul46compete.txt](https://github.com/tohojo/flent/files/7267355/verbose_rrul46compete.txt) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/242 ----==_mimepart_6157089f27614_4452c7609731a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

When starting the rrul46compete test, I noticed some weird behavior:

With defined hosts mn.h1 and mn.h2, each having an IPv4 as well as an IPv6 address, the command
sudo flent rrul46compete -p all_scaled -l 60 -H mn.h2 -o rrul46_nolocal.pdf -v
runs error free with complete graph output.

However, specifying a --local-bind, the TCP connections for IPv4 fail at some point and their respective lines in the graph are missing:
Changed command:
sudo flent rrul46compete -p all_scaled --local-bind mn.h1 -l 60 -H mn.h2 -o rrul46_new.pdf -v

Error output (same for upload BK, download BE and download BK respectively):

WARNING: Program exited non-zero.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 0x0,0x0 -H mn.h2 -p 12865 -t TCP_STREAM -l 60 -F /dev/urandom -f m -L mn.h1  --   -L mn.h1 -H mn.h2 -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD  
Return code: 1
Stdout: get_sockaddr_family_addr_port family mismatch 10 vs 2

Stderr: netperf: send_omni: connect_data_socket failed: Invalid argument

WARNING: Command produced no valid data.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 0x0,0x0 -H mn.h2 -p 12865 -t TCP_STREAM -l 60 -F /dev/urandom -f m -L mn.h1  --   -L mn.h1 -H mn.h2 -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD  
Return code: 1
Stdout: get_sockaddr_family_addr_port family mismatch 10 vs 2

Stderr: netperf: send_omni: connect_data_socket failed: Invalid argument

NetperfDemoRunner TCP upload BE finished

As the command runs fine without --local-bind, I suppose this is not of high importance, nonetheless, I wanted to report this.
Also, the irtt for latency measurement runs fine in this test, it's only the netperf for IPv4 that fails.

Full verbose output:
verbose_rrul46compete.txt


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

----==_mimepart_6157089f27614_4452c7609731a--