From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.github.com (out-17.smtp.github.com [192.30.252.200]) by mail.toke.dk (Postfix) with ESMTPS id 339F28C7338 for ; Fri, 1 Oct 2021 11:07:30 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key) header.d=github.com header.i=@github.com header.b=cql/K1ZT Received: from github-lowworker-bc343b9.ash1-iad.github.net (github-lowworker-bc343b9.ash1-iad.github.net [10.56.122.73]) by smtp.github.com (Postfix) with ESMTP id D9ECE5C02FB for ; Fri, 1 Oct 2021 02:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1633079249; bh=B4pedMkduz2+3l+t7rUIQvIMGivxzGrKAbLvrj1q6Ms=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=cql/K1ZTD0qFpiEqFwOAov34OW5sgfmUUsPD5GBzglXpO2aKuYjwV5pY00VjDu9sN rifT9ti5TnE+imjcH0y5Z8vRiJSIhYciVjXU/gyECc/1oCato5GxP534qAI+egTnxh P+5o23ADpkrlxFttzG15zQdD3JIpg8nBVyUK7aOE= Date: Fri, 01 Oct 2021 02:07:29 -0700 From: j-breyer To: tohojo/flent Message-ID: In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_6156cfd1cb5db_7035c7601907af"; 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: TCWGTEQVITLGFQ5WKY4HH4SULOGWLZ3Y X-Message-ID-Hash: TCWGTEQVITLGFQ5WKY4HH4SULOGWLZ3Y 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] Re: [tohojo/flent] -6 Option ignored for hosts with IPv4 and IPv6 address (#241) List-Id: Flent discussion list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: ----==_mimepart_6156cfd1cb5db_7035c7601907af Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit >Hmm, could you please post a full debug log (from --log-file), Running the exact same command as posted with `--log-file` appended and scrolling a bit through the file, I found the following lines interesting: ``` 2021-10-01 08:51:02,954 [flent.runners] DEBUG: Forked /usr/bin/netperf as pid 415309 2021-10-01 08:51:02,956 [flent.runners] DEBUG: TCP download EF: Starting watchdog with timeout 75 2021-10-01 08:51:02,957 [flent.runners] DEBUG: Started TimerRunner idx 9 ('Watchdog [TCP download EF]') 2021-10-01 08:51:02,958 [flent.runners] DEBUG: Started NetperfDemoRunner idx 9 ('TCP download EF') 2021-10-01 08:51:02,959 [flent.runners] DEBUG: Forking to run command /usr/bin/irtt client -o - --fill=rand -Q -d 70s -i 0.2s --dscp=0xb8 --local=mn.h1 mn.h2 2021-10-01 08:51:02,963 [flent.runners] DEBUG: Forked /usr/bin/irtt as pid 415312 2021-10-01 08:51:02,967 [flent.runners] DEBUG: Started IrttRunner idx 13 ('Ping (ms) UDP EF :: child 0') 2021-10-01 08:51:02,968 [flent.runners] DEBUG: Forking to run command /usr/bin/irtt client -o - --fill=rand -Q -d 70s -i 0.2s --dscp=0x20 --local=mn.h1 mn.h2 2021-10-01 08:51:02,972 [flent.runners] DEBUG: Forked /usr/bin/irtt as pid 415314 2021-10-01 08:51:02,975 [flent.runners] DEBUG: Started IrttRunner idx 14 ('Ping (ms) UDP BK :: child 0') 2021-10-01 08:51:02,976 [flent.runners] DEBUG: Forking to run command /usr/bin/irtt client -o - --fill=rand -Q -d 70s -i 0.2s --local=mn.h1 mn.h2 2021-10-01 08:51:02,980 [flent.runners] DEBUG: Forked /usr/bin/irtt as pid 415323 2021-10-01 08:51:02,983 [flent.runners] DEBUG: Started IrttRunner idx 15 ('Ping (ms) UDP BE :: child 0') 2021-10-01 08:51:02,983 [flent.runners] DEBUG: Forking to run command /usr/bin/fping6 -D -p 200 -c 350 -t 140000 -I mn.h1 mn.h2 ``` It seems like the `-6` argument is not passed to the irtt command. See the full log file attached: [rrul-2021-10-01T085102.606290.log](https://github.com/tohojo/flent/files/7265683/rrul-2021-10-01T085102.606290.log) >output of this command (with both address families defined in your /etc/hosts): `[(10, 1, 6, '', ('a::601', 0, 0, 0)), (2, 1, 6, '', ('10.0.6.1', 0))]` >Do those commands work for you outside of flent from your mn.h1 to mn.h2? Yes, with no problems at all, getting the respective same output as posted by you. >I also wonder what happens if you don't use --local-bind. irtt connection no longer fails, as there's no mismatch in address families. However, as long as `mn.h2` has an IPv4 defined, it uses IPv4 to connect, disregarding the `-6` param -- 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/241#issuecomment-932056338 ----==_mimepart_6156cfd1cb5db_7035c7601907af Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hmm, could you please post a full debug log (from --log-file),

Running the exact same command as posted with --log-file appended and scrolling a bit through the file, I found the following lines interesting:

2021-10-01 08:51:02,954 [flent.runners] DEBUG: Forked /usr/bin/netperf as pid 415309
2021-10-01 08:51:02,956 [flent.runners] DEBUG: TCP download EF: Starting watchdog with timeout 75
2021-10-01 08:51:02,957 [flent.runners] DEBUG: Started TimerRunner idx 9 ('Watchdog [TCP download EF]')
2021-10-01 08:51:02,958 [flent.runners] DEBUG: Started NetperfDemoRunner idx 9 ('TCP download EF')
2021-10-01 08:51:02,959 [flent.runners] DEBUG: Forking to run command /usr/bin/irtt client -o - --fill=rand -Q -d 70s -i 0.2s  --dscp=0xb8 --local=mn.h1  mn.h2
2021-10-01 08:51:02,963 [flent.runners] DEBUG: Forked /usr/bin/irtt as pid 415312
2021-10-01 08:51:02,967 [flent.runners] DEBUG: Started IrttRunner idx 13 ('Ping (ms) UDP EF :: child 0')
2021-10-01 08:51:02,968 [flent.runners] DEBUG: Forking to run command /usr/bin/irtt client -o - --fill=rand -Q -d 70s -i 0.2s  --dscp=0x20 --local=mn.h1  mn.h2
2021-10-01 08:51:02,972 [flent.runners] DEBUG: Forked /usr/bin/irtt as pid 415314
2021-10-01 08:51:02,975 [flent.runners] DEBUG: Started IrttRunner idx 14 ('Ping (ms) UDP BK :: child 0')
2021-10-01 08:51:02,976 [flent.runners] DEBUG: Forking to run command /usr/bin/irtt client -o - --fill=rand -Q -d 70s -i 0.2s   --local=mn.h1  mn.h2
2021-10-01 08:51:02,980 [flent.runners] DEBUG: Forked /usr/bin/irtt as pid 415323
2021-10-01 08:51:02,983 [flent.runners] DEBUG: Started IrttRunner idx 15 ('Ping (ms) UDP BE :: child 0')
2021-10-01 08:51:02,983 [flent.runners] DEBUG: Forking to run command /usr/bin/fping6  -D -p 200 -c 350 -t 140000  -I mn.h1 mn.h2

It seems like the -6 argument is not passed to the irtt command. See the full log file attached:
rrul-2021-10-01T085102.606290.log

output of this command (with both address families defined in your /etc/hosts):

[(10, 1, 6, '', ('a::601', 0, 0, 0)), (2, 1, 6, '', ('10.0.6.1', 0))]

Do those commands work for you outside of flent from your mn.h1 to mn.h2?

Yes, with no problems at all, getting the respective same output as posted by you.

I also wonder what happens if you don't use --local-bind.

irtt connection no longer fails, as there's no mismatch in address families. However, as long as mn.h2 has an IPv4 defined, it uses IPv4 to connect, disregarding the -6 param


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_6156cfd1cb5db_7035c7601907af--