make -C tools/testing/selftests TARGETS="net/forwarding" TEST_PROGS=mirrorr_gre_lag_lacp.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-2/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-2/tools/testing/selftests/net/forwarding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-2/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/home/virtme/testing/wt-2/tools/testing/selftests/net/forwarding' TAP version 13 1..1 # timeout set to 10800 # selftests: net/forwarding: mirror_gre_lag_lacp.sh # 0.41 [+0.41] This program is not intended to be run as root. # 0.72 [+0.31] This program is not intended to be run as root. # 8.03 [+7.31] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 8.04 [+0.00] # 8.04 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 8.04 [+0.00] http://www.netsniff-ng.org # 8.04 [+0.00] # 8.04 [+0.00] Usage: mausezahn [options] [interface] || # 8.04 [+0.00] Options: # 8.04 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 8.05 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 8.05 [+0.00] -4 IPv4 mode (default) # 8.05 [+0.00] -6 IPv6 mode # 8.05 [+0.00] -R Set socket priority # 8.05 [+0.00] -c Send packet count times, default:1, infinite:0 # 8.05 [+0.00] -d Apply delay between transmissions. The delay value can be # 8.06 [+0.00] specified in usec (default, no additional unit needed), or in # 8.06 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 8.06 [+0.00] -r Multiplies the specified delay with a random value # 8.06 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 8.06 [+0.00] -a Use specified source mac address, no matter what has # 8.07 [+0.00] been specified with other arguments; keywords see below, # 8.07 [+0.00] Default is own interface # 8.07 [+0.00] -b Same with destination mac address; keywords: # 8.07 [+0.00] rand Use a random MAC address # 8.07 [+0.00] bc Use a broadcast MAC address # 8.07 [+0.00] own Use own interface MAC address (default for source MAC) # 8.08 [+0.00] stp Use IEEE 802.1d STP multicast address # 8.08 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 8.08 [+0.00] -A Use specified source IP address (default is own interface IP) # 8.08 [+0.00] -B Send packet to specified destination IP or domain name # 8.08 [+0.00] -P Use the specified ASCII payload # 8.08 [+0.00] -f Read the ASCII payload from a file # 8.09 [+0.00] -F Read the hexadecimal payload from a file # 8.09 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 8.09 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 8.09 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 8.09 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 8.10 [+0.00] encapsulations in lower layers, most packet types allow/require # 8.10 [+0.00] additional packet-specific arguments in an ; # 8.10 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 8.10 [+0.00] dns, rtp, syslog, lldp and more; # 8.10 [+0.00] For context-help use 'help' as ! # 8.11 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 8.11 [+0.00] Enter -T help or -T rtp help for further information # 8.11 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 8.11 [+0.00] -V|VV|... Verbose and more verbose mode # 8.11 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 8.12 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 8.12 [+0.00] typically combined with one of the verbose modes (v or V) # 8.12 [+0.00] -v Show version # 8.12 [+0.00] -h Print this help # 8.12 [+0.00] # 8.12 [+0.00] Examples: # 8.12 [+0.00] mausezahn -x 99 # 8.12 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 8.12 [+0.00] mausezahn -t cdp change -c 0 # 8.12 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 8.13 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 8.13 [+0.00] # 8.13 [+0.00] Note: # 8.13 [+0.00] This tool is targeted for network developers! You should # 8.13 [+0.00] be aware of what you are doing and what these options above # 8.13 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 8.13 [+0.00] # 8.13 [+0.00] Please report bugs to # 8.13 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 8.14 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 8.14 [+0.00] Swiss federal institute of technology (ETH Zurich) # 8.14 [+0.00] License: GNU GPL version 2.0 # 8.14 [+0.00] This is free software: you are free to change and redistribute it. # 8.14 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 8.14 [+0.00] # 10.64 [+2.49] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 10.64 [+0.00] # 10.64 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 10.64 [+0.00] http://www.netsniff-ng.org # 10.64 [+0.00] # 10.64 [+0.00] Usage: mausezahn [options] [interface] || # 10.64 [+0.00] Options: # 10.64 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 10.64 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 10.65 [+0.00] -4 IPv4 mode (default) # 10.65 [+0.00] -6 IPv6 mode # 10.65 [+0.00] -R Set socket priority # 10.65 [+0.00] -c Send packet count times, default:1, infinite:0 # 10.65 [+0.00] -d Apply delay between transmissions. The delay value can be # 10.65 [+0.00] specified in usec (default, no additional unit needed), or in # 10.66 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 10.66 [+0.00] -r Multiplies the specified delay with a random value # 10.66 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 10.66 [+0.00] -a Use specified source mac address, no matter what has # 10.66 [+0.00] been specified with other arguments; keywords see below, # 10.67 [+0.00] Default is own interface # 10.67 [+0.00] -b Same with destination mac address; keywords: # 10.67 [+0.00] rand Use a random MAC address # 10.67 [+0.00] bc Use a broadcast MAC address # 10.67 [+0.00] own Use own interface MAC address (default for source MAC) # 10.67 [+0.00] stp Use IEEE 802.1d STP multicast address # 10.68 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 10.68 [+0.00] -A Use specified source IP address (default is own interface IP) # 10.68 [+0.00] -B Send packet to specified destination IP or domain name # 10.68 [+0.00] -P Use the specified ASCII payload # 10.68 [+0.00] -f Read the ASCII payload from a file # 10.68 [+0.00] -F Read the hexadecimal payload from a file # 10.69 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 10.69 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 10.69 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 10.69 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 10.69 [+0.00] encapsulations in lower layers, most packet types allow/require # 10.70 [+0.00] additional packet-specific arguments in an ; # 10.70 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 10.70 [+0.00] dns, rtp, syslog, lldp and more; # 10.70 [+0.00] For context-help use 'help' as ! # 10.70 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 10.71 [+0.00] Enter -T help or -T rtp help for further information # 10.71 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 10.71 [+0.00] -V|VV|... Verbose and more verbose mode # 10.71 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 10.71 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 10.72 [+0.00] typically combined with one of the verbose modes (v or V) # 10.72 [+0.00] -v Show version # 10.72 [+0.00] -h Print this help # 10.72 [+0.00] # 10.72 [+0.00] Examples: # 10.72 [+0.00] mausezahn -x 99 # 10.72 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 10.72 [+0.00] mausezahn -t cdp change -c 0 # 10.72 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 10.73 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 10.73 [+0.00] # 10.73 [+0.00] Note: # 10.73 [+0.00] This tool is targeted for network developers! You should # 10.73 [+0.00] be aware of what you are doing and what these options above # 10.73 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 10.73 [+0.00] # 10.73 [+0.00] Please report bugs to # 10.74 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 10.74 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 10.74 [+0.00] Swiss federal institute of technology (ETH Zurich) # 10.74 [+0.00] License: GNU GPL version 2.0 # 10.74 [+0.00] This is free software: you are free to change and redistribute it. # 10.74 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 10.75 [+0.00] # 11.39 [+0.65] This program is not intended to be run as root. # 16.60 [+5.21] TEST: mirror to gretap: LAG first slave [FAIL] # 16.60 [+0.00] Expected to capture == 10 packets, got 0. # 18.71 [+2.11] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 18.72 [+0.00] # 18.72 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 18.72 [+0.00] http://www.netsniff-ng.org # 18.72 [+0.00] # 18.72 [+0.00] Usage: mausezahn [options] [interface] || # 18.72 [+0.00] Options: # 18.72 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 18.72 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 18.73 [+0.00] -4 IPv4 mode (default) # 18.73 [+0.00] -6 IPv6 mode # 18.73 [+0.00] -R Set socket priority # 18.73 [+0.00] -c Send packet count times, default:1, infinite:0 # 18.73 [+0.00] -d Apply delay between transmissions. The delay value can be # 18.73 [+0.00] specified in usec (default, no additional unit needed), or in # 18.74 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 18.74 [+0.00] -r Multiplies the specified delay with a random value # 18.74 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 18.74 [+0.00] -a Use specified source mac address, no matter what has # 18.75 [+0.00] been specified with other arguments; keywords see below, # 18.75 [+0.00] Default is own interface # 18.75 [+0.00] -b Same with destination mac address; keywords: # 18.75 [+0.00] rand Use a random MAC address # 18.75 [+0.00] bc Use a broadcast MAC address # 18.75 [+0.00] own Use own interface MAC address (default for source MAC) # 18.76 [+0.00] stp Use IEEE 802.1d STP multicast address # 18.76 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 18.76 [+0.00] -A Use specified source IP address (default is own interface IP) # 18.76 [+0.00] -B Send packet to specified destination IP or domain name # 18.76 [+0.00] -P Use the specified ASCII payload # 18.76 [+0.00] -f Read the ASCII payload from a file # 18.77 [+0.00] -F Read the hexadecimal payload from a file # 18.77 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 18.77 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 18.77 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 18.77 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 18.78 [+0.00] encapsulations in lower layers, most packet types allow/require # 18.78 [+0.00] additional packet-specific arguments in an ; # 18.78 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 18.78 [+0.00] dns, rtp, syslog, lldp and more; # 18.78 [+0.00] For context-help use 'help' as ! # 18.79 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 18.79 [+0.00] Enter -T help or -T rtp help for further information # 18.79 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 18.79 [+0.00] -V|VV|... Verbose and more verbose mode # 18.79 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 18.80 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 18.80 [+0.00] typically combined with one of the verbose modes (v or V) # 18.80 [+0.00] -v Show version # 18.80 [+0.00] -h Print this help # 18.80 [+0.00] # 18.80 [+0.00] Examples: # 18.80 [+0.00] mausezahn -x 99 # 18.80 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 18.81 [+0.00] mausezahn -t cdp change -c 0 # 18.81 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 18.81 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 18.81 [+0.00] # 18.81 [+0.00] Note: # 18.81 [+0.00] This tool is targeted for network developers! You should # 18.81 [+0.00] be aware of what you are doing and what these options above # 18.81 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 18.81 [+0.00] # 18.82 [+0.00] Please report bugs to # 18.82 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 18.82 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 18.82 [+0.00] Swiss federal institute of technology (ETH Zurich) # 18.82 [+0.00] License: GNU GPL version 2.0 # 18.82 [+0.00] This is free software: you are free to change and redistribute it. # 18.82 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 18.83 [+0.00] # 21.33 [+2.51] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 21.34 [+0.00] # 21.34 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 21.34 [+0.00] http://www.netsniff-ng.org # 21.34 [+0.00] # 21.34 [+0.00] Usage: mausezahn [options] [interface] || # 21.34 [+0.00] Options: # 21.34 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 21.34 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 21.35 [+0.00] -4 IPv4 mode (default) # 21.35 [+0.00] -6 IPv6 mode # 21.35 [+0.00] -R Set socket priority # 21.35 [+0.00] -c Send packet count times, default:1, infinite:0 # 21.35 [+0.00] -d Apply delay between transmissions. The delay value can be # 21.35 [+0.00] specified in usec (default, no additional unit needed), or in # 21.36 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 21.36 [+0.00] -r Multiplies the specified delay with a random value # 21.36 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 21.36 [+0.00] -a Use specified source mac address, no matter what has # 21.36 [+0.00] been specified with other arguments; keywords see below, # 21.37 [+0.00] Default is own interface # 21.37 [+0.00] -b Same with destination mac address; keywords: # 21.37 [+0.00] rand Use a random MAC address # 21.37 [+0.00] bc Use a broadcast MAC address # 21.37 [+0.00] own Use own interface MAC address (default for source MAC) # 21.37 [+0.00] stp Use IEEE 802.1d STP multicast address # 21.38 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 21.38 [+0.00] -A Use specified source IP address (default is own interface IP) # 21.38 [+0.00] -B Send packet to specified destination IP or domain name # 21.38 [+0.00] -P Use the specified ASCII payload # 21.38 [+0.00] -f Read the ASCII payload from a file # 21.38 [+0.00] -F Read the hexadecimal payload from a file # 21.39 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 21.39 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 21.39 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 21.39 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 21.39 [+0.00] encapsulations in lower layers, most packet types allow/require # 21.40 [+0.00] additional packet-specific arguments in an ; # 21.40 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 21.40 [+0.00] dns, rtp, syslog, lldp and more; # 21.40 [+0.00] For context-help use 'help' as ! # 21.40 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 21.41 [+0.00] Enter -T help or -T rtp help for further information # 21.41 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 21.41 [+0.00] -V|VV|... Verbose and more verbose mode # 21.41 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 21.41 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 21.41 [+0.00] typically combined with one of the verbose modes (v or V) # 21.42 [+0.00] -v Show version # 21.42 [+0.00] -h Print this help # 21.42 [+0.00] # 21.42 [+0.00] Examples: # 21.42 [+0.00] mausezahn -x 99 # 21.42 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 21.42 [+0.00] mausezahn -t cdp change -c 0 # 21.42 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 21.42 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 21.43 [+0.00] # 21.43 [+0.00] Note: # 21.43 [+0.00] This tool is targeted for network developers! You should # 21.43 [+0.00] be aware of what you are doing and what these options above # 21.43 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 21.43 [+0.00] # 21.43 [+0.00] Please report bugs to # 21.43 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 21.43 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 21.43 [+0.00] Swiss federal institute of technology (ETH Zurich) # 21.44 [+0.00] License: GNU GPL version 2.0 # 21.44 [+0.00] This is free software: you are free to change and redistribute it. # 21.44 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 21.44 [+0.00] # 22.12 [+0.68] This program is not intended to be run as root. # 27.36 [+5.24] TEST: mirror to gretap: LAG second slave [FAIL] # 27.36 [+0.00] Expected to capture == 10 packets, got 0. not ok 1 selftests: net/forwarding: mirror_gre_lag_lacp.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing/wt-2/tools/testing/selftests/net/forwarding' make: Leaving directory '/home/virtme/testing/wt-2/tools/testing/selftests' xx__-> echo $? 0 xx__->