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-4/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-4/tools/testing/selftests/net/forwarding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-4/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/home/virtme/testing/wt-4/tools/testing/selftests/net/forwarding' TAP version 13 1..1 # overriding timeout to 21600 # selftests: net/forwarding: mirror_gre_lag_lacp.sh # 4.74 [+4.74] This program is not intended to be run as root. # 8.30 [+3.56] This program is not intended to be run as root. # 18.92 [+10.61] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 18.93 [+0.01] # 18.93 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 18.93 [+0.00] http://www.netsniff-ng.org # 18.93 [+0.00] # 18.93 [+0.00] Usage: mausezahn [options] [interface] || # 18.93 [+0.00] Options: # 18.93 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 18.93 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 18.94 [+0.00] -4 IPv4 mode (default) # 18.94 [+0.00] -6 IPv6 mode # 18.94 [+0.00] -R Set socket priority # 18.94 [+0.00] -c Send packet count times, default:1, infinite:0 # 18.94 [+0.00] -d Apply delay between transmissions. The delay value can be # 18.94 [+0.00] specified in usec (default, no additional unit needed), or in # 18.95 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 18.95 [+0.00] -r Multiplies the specified delay with a random value # 18.95 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 18.96 [+0.00] -a Use specified source mac address, no matter what has # 18.96 [+0.00] been specified with other arguments; keywords see below, # 18.96 [+0.00] Default is own interface # 18.96 [+0.00] -b Same with destination mac address; keywords: # 18.96 [+0.00] rand Use a random MAC address # 18.97 [+0.00] bc Use a broadcast MAC address # 18.97 [+0.00] own Use own interface MAC address (default for source MAC) # 18.97 [+0.00] stp Use IEEE 802.1d STP multicast address # 18.97 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 18.97 [+0.00] -A Use specified source IP address (default is own interface IP) # 18.98 [+0.00] -B Send packet to specified destination IP or domain name # 18.98 [+0.00] -P Use the specified ASCII payload # 18.98 [+0.00] -f Read the ASCII payload from a file # 18.98 [+0.00] -F Read the hexadecimal payload from a file # 18.99 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 18.99 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 18.99 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 18.99 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 19.00 [+0.00] encapsulations in lower layers, most packet types allow/require # 19.00 [+0.00] additional packet-specific arguments in an ; # 19.00 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 19.01 [+0.00] dns, rtp, syslog, lldp and more; # 19.01 [+0.00] For context-help use 'help' as ! # 19.01 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 19.01 [+0.00] Enter -T help or -T rtp help for further information # 19.01 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 19.02 [+0.00] -V|VV|... Verbose and more verbose mode # 19.02 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 19.02 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 19.02 [+0.00] typically combined with one of the verbose modes (v or V) # 19.03 [+0.00] -v Show version # 19.03 [+0.00] -h Print this help # 19.03 [+0.00] # 19.03 [+0.00] Examples: # 19.03 [+0.00] mausezahn -x 99 # 19.03 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 19.03 [+0.00] mausezahn -t cdp change -c 0 # 19.03 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 19.03 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 19.04 [+0.00] # 19.04 [+0.00] Note: # 19.04 [+0.00] This tool is targeted for network developers! You should # 19.04 [+0.00] be aware of what you are doing and what these options above # 19.04 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 19.04 [+0.00] # 19.04 [+0.00] Please report bugs to # 19.04 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 19.04 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 19.05 [+0.00] Swiss federal institute of technology (ETH Zurich) # 19.05 [+0.00] License: GNU GPL version 2.0 # 19.05 [+0.00] This is free software: you are free to change and redistribute it. # 19.05 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 19.05 [+0.00] # 22.54 [+3.49] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 22.55 [+0.01] # 22.55 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 22.55 [+0.00] http://www.netsniff-ng.org # 22.55 [+0.00] # 22.55 [+0.00] Usage: mausezahn [options] [interface] || # 22.55 [+0.00] Options: # 22.55 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 22.56 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 22.56 [+0.00] -4 IPv4 mode (default) # 22.56 [+0.00] -6 IPv6 mode # 22.56 [+0.00] -R Set socket priority # 22.56 [+0.00] -c Send packet count times, default:1, infinite:0 # 22.57 [+0.00] -d Apply delay between transmissions. The delay value can be # 22.57 [+0.00] specified in usec (default, no additional unit needed), or in # 22.57 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 22.57 [+0.00] -r Multiplies the specified delay with a random value # 22.58 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 22.58 [+0.00] -a Use specified source mac address, no matter what has # 22.58 [+0.00] been specified with other arguments; keywords see below, # 22.58 [+0.00] Default is own interface # 22.58 [+0.00] -b Same with destination mac address; keywords: # 22.58 [+0.00] rand Use a random MAC address # 22.58 [+0.00] bc Use a broadcast MAC address # 22.59 [+0.00] own Use own interface MAC address (default for source MAC) # 22.59 [+0.00] stp Use IEEE 802.1d STP multicast address # 22.59 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 22.59 [+0.00] -A Use specified source IP address (default is own interface IP) # 22.59 [+0.00] -B Send packet to specified destination IP or domain name # 22.59 [+0.00] -P Use the specified ASCII payload # 22.60 [+0.00] -f Read the ASCII payload from a file # 22.60 [+0.00] -F Read the hexadecimal payload from a file # 22.60 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 22.60 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 22.60 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 22.61 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 22.61 [+0.00] encapsulations in lower layers, most packet types allow/require # 22.62 [+0.01] additional packet-specific arguments in an ; # 22.62 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 22.63 [+0.00] dns, rtp, syslog, lldp and more; # 22.63 [+0.00] For context-help use 'help' as ! # 22.63 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 22.63 [+0.00] Enter -T help or -T rtp help for further information # 22.63 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 22.63 [+0.00] -V|VV|... Verbose and more verbose mode # 22.64 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 22.64 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 22.64 [+0.00] typically combined with one of the verbose modes (v or V) # 22.64 [+0.00] -v Show version # 22.64 [+0.00] -h Print this help # 22.64 [+0.00] # 22.64 [+0.00] Examples: # 22.64 [+0.00] mausezahn -x 99 # 22.64 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 22.64 [+0.00] mausezahn -t cdp change -c 0 # 22.65 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 22.65 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 22.65 [+0.00] # 22.65 [+0.00] Note: # 22.65 [+0.00] This tool is targeted for network developers! You should # 22.65 [+0.00] be aware of what you are doing and what these options above # 22.65 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 22.65 [+0.00] # 22.65 [+0.00] Please report bugs to # 22.66 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 22.66 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 22.66 [+0.00] Swiss federal institute of technology (ETH Zurich) # 22.66 [+0.00] License: GNU GPL version 2.0 # 22.66 [+0.00] This is free software: you are free to change and redistribute it. # 22.66 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 22.66 [+0.00] # 24.79 [+2.12] This program is not intended to be run as root. # 32.50 [+7.72] TEST: mirror to gretap: LAG first slave [FAIL] # 32.51 [+0.01] Expected to capture == 10 packets, got 0. # 35.65 [+3.14] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 35.66 [+0.01] # 35.66 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 35.66 [+0.00] http://www.netsniff-ng.org # 35.67 [+0.00] # 35.67 [+0.00] Usage: mausezahn [options] [interface] || # 35.67 [+0.00] Options: # 35.67 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 35.67 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 35.67 [+0.00] -4 IPv4 mode (default) # 35.68 [+0.00] -6 IPv6 mode # 35.68 [+0.00] -R Set socket priority # 35.68 [+0.00] -c Send packet count times, default:1, infinite:0 # 35.68 [+0.00] -d Apply delay between transmissions. The delay value can be # 35.68 [+0.00] specified in usec (default, no additional unit needed), or in # 35.68 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 35.68 [+0.00] -r Multiplies the specified delay with a random value # 35.69 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 35.69 [+0.00] -a Use specified source mac address, no matter what has # 35.69 [+0.00] been specified with other arguments; keywords see below, # 35.69 [+0.00] Default is own interface # 35.69 [+0.00] -b Same with destination mac address; keywords: # 35.69 [+0.00] rand Use a random MAC address # 35.70 [+0.00] bc Use a broadcast MAC address # 35.70 [+0.00] own Use own interface MAC address (default for source MAC) # 35.70 [+0.00] stp Use IEEE 802.1d STP multicast address # 35.70 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 35.70 [+0.00] -A Use specified source IP address (default is own interface IP) # 35.70 [+0.00] -B Send packet to specified destination IP or domain name # 35.71 [+0.00] -P Use the specified ASCII payload # 35.71 [+0.00] -f Read the ASCII payload from a file # 35.71 [+0.00] -F Read the hexadecimal payload from a file # 35.71 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 35.71 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 35.71 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 35.72 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 35.72 [+0.00] encapsulations in lower layers, most packet types allow/require # 35.72 [+0.00] additional packet-specific arguments in an ; # 35.72 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 35.72 [+0.00] dns, rtp, syslog, lldp and more; # 35.72 [+0.00] For context-help use 'help' as ! # 35.73 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 35.73 [+0.00] Enter -T help or -T rtp help for further information # 35.73 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 35.73 [+0.00] -V|VV|... Verbose and more verbose mode # 35.73 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 35.73 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 35.74 [+0.00] typically combined with one of the verbose modes (v or V) # 35.74 [+0.00] -v Show version # 35.74 [+0.00] -h Print this help # 35.74 [+0.00] # 35.74 [+0.00] Examples: # 35.74 [+0.00] mausezahn -x 99 # 35.74 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 35.74 [+0.00] mausezahn -t cdp change -c 0 # 35.74 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 35.74 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 35.75 [+0.00] # 35.75 [+0.00] Note: # 35.75 [+0.00] This tool is targeted for network developers! You should # 35.75 [+0.00] be aware of what you are doing and what these options above # 35.75 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 35.75 [+0.00] # 35.75 [+0.00] Please report bugs to # 35.75 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 35.75 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 35.76 [+0.00] Swiss federal institute of technology (ETH Zurich) # 35.76 [+0.00] License: GNU GPL version 2.0 # 35.76 [+0.00] This is free software: you are free to change and redistribute it. # 35.76 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 35.76 [+0.00] # 39.31 [+3.55] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 39.31 [+0.01] # 39.31 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 39.31 [+0.00] http://www.netsniff-ng.org # 39.31 [+0.00] # 39.31 [+0.00] Usage: mausezahn [options] [interface] || # 39.32 [+0.00] Options: # 39.32 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 39.32 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 39.32 [+0.00] -4 IPv4 mode (default) # 39.33 [+0.00] -6 IPv6 mode # 39.33 [+0.00] -R Set socket priority # 39.33 [+0.00] -c Send packet count times, default:1, infinite:0 # 39.33 [+0.00] -d Apply delay between transmissions. The delay value can be # 39.33 [+0.00] specified in usec (default, no additional unit needed), or in # 39.34 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 39.34 [+0.00] -r Multiplies the specified delay with a random value # 39.34 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 39.35 [+0.00] -a Use specified source mac address, no matter what has # 39.35 [+0.00] been specified with other arguments; keywords see below, # 39.36 [+0.01] Default is own interface # 39.37 [+0.01] -b Same with destination mac address; keywords: # 39.37 [+0.00] rand Use a random MAC address # 39.37 [+0.00] bc Use a broadcast MAC address # 39.37 [+0.00] own Use own interface MAC address (default for source MAC) # 39.37 [+0.00] stp Use IEEE 802.1d STP multicast address # 39.38 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 39.38 [+0.00] -A Use specified source IP address (default is own interface IP) # 39.38 [+0.00] -B Send packet to specified destination IP or domain name # 39.38 [+0.00] -P Use the specified ASCII payload # 39.38 [+0.00] -f Read the ASCII payload from a file # 39.39 [+0.00] -F Read the hexadecimal payload from a file # 39.39 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 39.39 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 39.39 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 39.40 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 39.40 [+0.00] encapsulations in lower layers, most packet types allow/require # 39.40 [+0.00] additional packet-specific arguments in an ; # 39.40 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 39.40 [+0.00] dns, rtp, syslog, lldp and more; # 39.41 [+0.00] For context-help use 'help' as ! # 39.41 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 39.41 [+0.00] Enter -T help or -T rtp help for further information # 39.41 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 39.42 [+0.00] -V|VV|... Verbose and more verbose mode # 39.42 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 39.42 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 39.42 [+0.00] typically combined with one of the verbose modes (v or V) # 39.43 [+0.00] -v Show version # 39.43 [+0.00] -h Print this help # 39.43 [+0.00] # 39.43 [+0.00] Examples: # 39.43 [+0.00] mausezahn -x 99 # 39.43 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 39.43 [+0.00] mausezahn -t cdp change -c 0 # 39.43 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 39.44 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 39.44 [+0.00] # 39.44 [+0.00] Note: # 39.44 [+0.00] This tool is targeted for network developers! You should # 39.44 [+0.00] be aware of what you are doing and what these options above # 39.44 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 39.44 [+0.00] # 39.44 [+0.00] Please report bugs to # 39.45 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 39.45 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 39.45 [+0.00] Swiss federal institute of technology (ETH Zurich) # 39.45 [+0.00] License: GNU GPL version 2.0 # 39.45 [+0.00] This is free software: you are free to change and redistribute it. # 39.45 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 39.46 [+0.00] # 41.46 [+2.00] This program is not intended to be run as root. # 49.09 [+7.63] TEST: mirror to gretap: LAG second slave [FAIL] # 49.10 [+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-4/tools/testing/selftests/net/forwarding' make: Leaving directory '/home/virtme/testing/wt-4/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->