Flent-users discussion archives
 help / color / mirror / Atom feed
From: j-breyer <notifications@github.com>
To: tohojo/flent <flent@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [Flent-users] Re: [tohojo/flent] irtt fails with IPv6 (wrong format) (#238)
Date: Mon, 27 Sep 2021 14:34:16 -0700
Message-ID: <tohojo/flent/issues/238/928304894@github.com> (raw)
In-Reply-To: <tohojo/flent/issues/238@github.com>

[-- Attachment #1: Type: text/plain, Size: 14531 bytes --]

I'm running the flent tests in a mininet with IPv6 enabled (ping is working).
On server side:
`sudo netserver -6 -L fe80::200:aff:fe00:e02%h2-eth0 -p 12865 -d`
to start the netserver, then
`sudo irtt server`
for the irtt server

On client side:
`sudo flent rrul -6 -p all_scaled --local-bind=fe80::200:aff:fe00:601%h1-eth0 -l 60 -H fe80::200:aff:fe00:e02 -t ipv6 -o ipv6_dscp.pdf -v`
fails to achieve the UDP RTT measurement, but completes the TCP and ICMP6 part (full verbose output below).

Running the same command with IPv4 addresses of the hosts (netserver enabled respectively):
`sudo flent rrul -p all_scaled --local-bind=10.0.6.1 -l 60 -H 10.0.14.2 -t ipv4 -o ipv4_dscp.pdf -v`
works just fine.

The difference in output comes in these lines:
```
Ping (ms) UDP EF: Adding child IrttRunner
which: /usr/local/sbin/irtt is not an executable file
which: /usr/local/bin/irtt is not an executable file
which: /usr/sbin/irtt is not an executable file
which: Found irtt executable at /usr/bin/irtt
UDP RTT test: Cannot use irtt runner (Irtt connection check failed: Error: address fe80::200:aff:fe00:601%h1-eth0:0: too many colons in address
). Using netperf UDP_RR
```
which comes from `flent` passing the IPv6 address not in the correct format to `irtt` - `irtt` requires the IPv6 passed in `[a::b]` brackets, to distinguish it from the port (if I read it correctly, [reference to the irtt page](https://htmlpreview.github.io/?https://github.com/heistp/irtt/blob/master/doc/irtt-client.html#host-formats)


Full output of the IPv6-command:

```
Executing test environment file /usr/share/flent/flent/tests/rrul.conf
Started Flent 1.3.2 using Python 3.8.10.
Looking up hostname 'fe80::200:aff:fe00:e02'.
Executing test environment file /usr/share/flent/flent/tests/rrul.conf
Gathering local metadata
Looking up hostname 'fe80::200:aff:fe00:e02'.
Starting rrul test. Expected run time: 70 seconds.
which: /usr/local/sbin/netperf is not an executable file
which: /usr/local/bin/netperf is not an executable file
which: /usr/sbin/netperf is not an executable file
which: Found netperf executable at /usr/bin/netperf
Ping (ms) UDP EF: Adding child IrttRunner
which: /usr/local/sbin/irtt is not an executable file
which: /usr/local/bin/irtt is not an executable file
which: /usr/sbin/irtt is not an executable file
which: Found irtt executable at /usr/bin/irtt
UDP RTT test: Cannot use irtt runner (Irtt connection check failed: Error: address fe80::200:aff:fe00:601%h1-eth0:0: too many colons in address
). Using netperf UDP_RR
Ping (ms) UDP EF: Adding child NetperfDemoRunner
Ping (ms) UDP BK: Adding child IrttRunner
which: /usr/local/sbin/irtt is not an executable file
which: /usr/local/bin/irtt is not an executable file
which: /usr/sbin/irtt is not an executable file
which: Found irtt executable at /usr/bin/irtt
UDP RTT test: Cannot use irtt runner (Irtt connection check failed: Error: address fe80::200:aff:fe00:601%h1-eth0:0: too many colons in address
). Using netperf UDP_RR
Ping (ms) UDP BK: Adding child NetperfDemoRunner
Ping (ms) UDP BE: Adding child IrttRunner
which: /usr/local/sbin/irtt is not an executable file
which: /usr/local/bin/irtt is not an executable file
which: /usr/sbin/irtt is not an executable file
which: Found irtt executable at /usr/bin/irtt
UDP RTT test: Cannot use irtt runner (Irtt connection check failed: Error: address fe80::200:aff:fe00:601%h1-eth0:0: too many colons in address
). Using netperf UDP_RR
Ping (ms) UDP BE: Adding child NetperfDemoRunner
which: /usr/local/sbin/fping6 is not an executable file
which: /usr/local/bin/fping6 is not an executable file
which: /usr/sbin/fping6 is not an executable file
which: Found fping6 executable at /usr/bin/fping6
which: /usr/local/sbin/ping6 is not an executable file
which: /usr/local/bin/ping6 is not an executable file
which: /usr/sbin/ping6 is not an executable file
which: Found ping6 executable at /usr/bin/ping6
Forked /usr/bin/netperf as pid 288938
TCP upload BE: Starting watchdog with timeout 75
Started TimerRunner idx 0 ('Watchdog [TCP upload BE]')
Started NetperfDemoRunner idx 0 ('TCP upload BE')
Forked /usr/bin/netperf as pid 288941
TCP upload BK: Starting watchdog with timeout 75
Started TimerRunner idx 1 ('Watchdog [TCP upload BK]')
Started NetperfDemoRunner idx 1 ('TCP upload BK')
Forked /usr/bin/netperf as pid 288944
TCP upload CS5: Starting watchdog with timeout 75
Started TimerRunner idx 2 ('Watchdog [TCP upload CS5]')
Started NetperfDemoRunner idx 2 ('TCP upload CS5')
Forked /usr/bin/netperf as pid 288947
TCP upload EF: Starting watchdog with timeout 75
Started TimerRunner idx 3 ('Watchdog [TCP upload EF]')
Started NetperfDemoRunner idx 3 ('TCP upload EF')
Forked /usr/bin/netperf as pid 288950
TCP download BE: Starting watchdog with timeout 75
Started TimerRunner idx 6 ('Watchdog [TCP download BE]')
Started NetperfDemoRunner idx 6 ('TCP download BE')
Forked /usr/bin/netperf as pid 288953
TCP download BK: Starting watchdog with timeout 75
Started TimerRunner idx 7 ('Watchdog [TCP download BK]')
Started NetperfDemoRunner idx 7 ('TCP download BK')
Forked /usr/bin/netperf as pid 288956
TCP download CS5: Starting watchdog with timeout 75
Started TimerRunner idx 8 ('Watchdog [TCP download CS5]')
Started NetperfDemoRunner idx 8 ('TCP download CS5')
Forked /usr/bin/netperf as pid 288959
TCP download EF: Starting watchdog with timeout 75
Started TimerRunner idx 9 ('Watchdog [TCP download EF]')
Started NetperfDemoRunner idx 9 ('TCP download EF')
Forked /usr/bin/netperf as pid 288962
Ping (ms) UDP EF :: child 0: Starting watchdog with timeout 80
Started TimerRunner idx 13 ('Watchdog [Ping (ms) UDP EF :: child 0]')
Started NetperfDemoRunner idx 13 ('Ping (ms) UDP EF :: child 0')
Forked /usr/bin/netperf as pid 288965
Ping (ms) UDP BK :: child 0: Starting watchdog with timeout 80
Started TimerRunner idx 14 ('Watchdog [Ping (ms) UDP BK :: child 0]')
Started NetperfDemoRunner idx 14 ('Ping (ms) UDP BK :: child 0')
Forked /usr/bin/netperf as pid 288968
Ping (ms) UDP BE :: child 0: Starting watchdog with timeout 80
Started TimerRunner idx 15 ('Watchdog [Ping (ms) UDP BE :: child 0]')
Started NetperfDemoRunner idx 15 ('Ping (ms) UDP BE :: child 0')
Forked /usr/bin/fping6 as pid 288971
Ping (ms) ICMP: Starting watchdog with timeout 71
Started TimerRunner idx 16 ('Watchdog [Ping (ms) ICMP]')
Started PingRunner idx 16 ('Ping (ms) ICMP')
WARNING: Program exited non-zero.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -6 -Y EF,EF -H fe80::200:aff:fe00:e02 -p 12865 -t UDP_RR -l 70 -F /dev/urandom  -L fe80::200:aff:fe00:601%h1-eth0  --  -L fe80::200:aff:fe00:601%h1-eth0 -H fe80::200:aff:fe00:e02 -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: send_data: data send error: errno 22

Stderr: netperf: send_omni: send_data failed: Invalid argument

WARNING: Command produced no valid data.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -6 -Y EF,EF -H fe80::200:aff:fe00:e02 -p 12865 -t UDP_RR -l 70 -F /dev/urandom  -L fe80::200:aff:fe00:601%h1-eth0  --  -L fe80::200:aff:fe00:601%h1-eth0 -H fe80::200:aff:fe00:e02 -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: send_data: data send error: errno 22

Stderr: netperf: send_omni: send_data failed: Invalid argument

NetperfDemoRunner Ping (ms) UDP EF :: child 0 finished
WARNING: Program exited non-zero.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -6 -Y CS1,CS1 -H fe80::200:aff:fe00:e02 -p 12865 -t UDP_RR -l 70 -F /dev/urandom  -L fe80::200:aff:fe00:601%h1-eth0  --  -L fe80::200:aff:fe00:601%h1-eth0 -H fe80::200:aff:fe00:e02 -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: send_data: data send error: errno 22

Stderr: netperf: send_omni: send_data failed: Invalid argument

WARNING: Command produced no valid data.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -6 -Y CS1,CS1 -H fe80::200:aff:fe00:e02 -p 12865 -t UDP_RR -l 70 -F /dev/urandom  -L fe80::200:aff:fe00:601%h1-eth0  --  -L fe80::200:aff:fe00:601%h1-eth0 -H fe80::200:aff:fe00:e02 -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: send_data: data send error: errno 22

Stderr: netperf: send_omni: send_data failed: Invalid argument

NetperfDemoRunner Ping (ms) UDP BK :: child 0 finished
WARNING: Program exited non-zero.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -6  -H fe80::200:aff:fe00:e02 -p 12865 -t UDP_RR -l 70 -F /dev/urandom  -L fe80::200:aff:fe00:601%h1-eth0  --  -L fe80::200:aff:fe00:601%h1-eth0 -H fe80::200:aff:fe00:e02 -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: send_data: data send error: errno 22

Stderr: netperf: send_omni: send_data failed: Invalid argument

WARNING: Command produced no valid data.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -6  -H fe80::200:aff:fe00:e02 -p 12865 -t UDP_RR -l 70 -F /dev/urandom  -L fe80::200:aff:fe00:601%h1-eth0  --  -L fe80::200:aff:fe00:601%h1-eth0 -H fe80::200:aff:fe00:e02 -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: send_data: data send error: errno 22

Stderr: netperf: send_omni: send_data failed: Invalid argument

NetperfDemoRunner Ping (ms) UDP BE :: child 0 finished
TimerRunner Watchdog [Ping (ms) ICMP]: timer expired
TimerRunner Watchdog [Ping (ms) ICMP] finished
PingRunner Ping (ms) ICMP killed by kill event
PingRunner Ping (ms) ICMP finished
TimerRunner Watchdog [TCP upload BE]: timer expired
TimerRunner Watchdog [TCP upload BE] finished
NetperfDemoRunner TCP upload BE killed by kill event
TimerRunner Watchdog [TCP upload BK]: timer expired
TimerRunner Watchdog [TCP upload BK] finished
NetperfDemoRunner TCP upload BK killed by kill event
TimerRunner Watchdog [TCP upload CS5]: timer expired
TimerRunner Watchdog [TCP upload CS5] finished
NetperfDemoRunner TCP upload CS5 killed by kill event
TimerRunner Watchdog [TCP upload EF]: timer expired
TimerRunner Watchdog [TCP upload EF] finished
NetperfDemoRunner TCP upload EF killed by kill event
TimerRunner Watchdog [TCP download BE]: timer expired
TimerRunner Watchdog [TCP download BE] finished
NetperfDemoRunner TCP download BE killed by kill event
TimerRunner Watchdog [TCP download BK]: timer expired
TimerRunner Watchdog [TCP download BK] finished
NetperfDemoRunner TCP download BK killed by kill event
TimerRunner Watchdog [TCP download CS5]: timer expired
TimerRunner Watchdog [TCP download CS5] finished
NetperfDemoRunner TCP download CS5 killed by kill event
TimerRunner Watchdog [TCP download EF]: timer expired
TimerRunner Watchdog [TCP download EF] finished
NetperfDemoRunner TCP download EF killed by kill event
NetperfDemoRunner TCP upload BE finished
NetperfDemoRunner TCP upload BK finished
NetperfDemoRunner TCP upload CS5 finished
NetperfDemoRunner TCP upload EF finished
NetperfDemoRunner TCP download BE finished
NetperfDemoRunner TCP download BK finished
NetperfDemoRunner TCP download CS5 finished
NetperfDemoRunner TCP download EF finished
Runner aggregation finished
Data file written to ./rrul-2021-09-27T210930.953628.ipv6.flent.gz.
Creating new PlotFormatter
CACHEDIR=/home/justus/.cache/matplotlib
Loaded backend pdf version unknown.
Initialised matplotlib v3.4.2 on numpy v1.21.1.
No raw data found for series TCP download avg, falling back to computed values
No raw data found for series TCP upload avg, falling back to computed values
No raw data found for series Ping (ms) UDP EF, falling back to computed values
No raw data found for series Ping (ms) UDP BK, falling back to computed values
No raw data found for series Ping (ms) UDP BE, falling back to computed values
No raw data found for series Ping (ms) avg, falling back to computed values
Saving plot to ipv6_dscp.pdf
Assigning font /b'F1' = '/home/j/.local/lib/python3.8/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf'
Embedding font /home/j/.local/lib/python3.8/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf.
Writing TrueType font.
Assigning font /b'F1' = '/home/j/.local/lib/python3.8/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf'
Embedding font /home/j/.local/lib/python3.8/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf.
Writing TrueType font.
TimerRunner Watchdog [Ping (ms) UDP EF :: child 0]: timer expired
TimerRunner Watchdog [Ping (ms) UDP EF :: child 0] finished
TimerRunner Watchdog [Ping (ms) UDP BK :: child 0]: timer expired
TimerRunner Watchdog [Ping (ms) UDP BK :: child 0] finished
TimerRunner Watchdog [Ping (ms) UDP BE :: child 0]: timer expired
TimerRunner Watchdog [Ping (ms) UDP BE :: child 0] finished
```


-- 
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/238#issuecomment-928304894

[-- Attachment #2: Type: text/html, Size: 16000 bytes --]

  parent reply	other threads:[~2021-09-27 21:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 12:36 [Flent-users] " j-breyer
2021-09-27 21:02 ` [Flent-users] " Toke Høiland-Jørgensen
2021-09-27 21:34 ` j-breyer [this message]
2021-09-29  9:19 ` Pete Heist
2021-09-29 10:00 ` j-breyer
2021-09-29 12:39 ` Pete Heist
2021-09-29 14:57 ` j-breyer
2021-09-29 22:10 ` Toke Høiland-Jørgensen
2021-09-29 22:12 ` Toke Høiland-Jørgensen
2021-09-30 13:56 ` Toke Høiland-Jørgensen
2021-09-30 14:11 ` j-breyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.flent.org/postorius/lists/flent-users.flent.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tohojo/flent/issues/238/928304894@github.com \
    --to=notifications@github.com \
    --cc=flent@noreply.github.com \
    --cc=reply+AHVNJP76B2RSBEWEMQAC66V7LYM5REVBNHHDYFSWA4@reply.github.com \
    --cc=subscribed@noreply.github.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Flent-users discussion archives

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lists.flent.org/flent-users

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 flent-users flent-users/ https://lists.flent.org/flent-users \
		flent-users@flent.org
	public-inbox-index flent-users

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git