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.84 [+4.84] This program is not intended to be run as root. # 8.58 [+3.75] This program is not intended to be run as root. # 19.11 [+10.52] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 19.11 [+0.01] # 19.11 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 19.12 [+0.00] http://www.netsniff-ng.org # 19.12 [+0.00] # 19.12 [+0.00] Usage: mausezahn [options] [interface] || # 19.12 [+0.00] Options: # 19.12 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 19.13 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 19.13 [+0.00] -4 IPv4 mode (default) # 19.13 [+0.00] -6 IPv6 mode # 19.13 [+0.00] -R Set socket priority # 19.13 [+0.00] -c Send packet count times, default:1, infinite:0 # 19.14 [+0.00] -d Apply delay between transmissions. The delay value can be # 19.14 [+0.00] specified in usec (default, no additional unit needed), or in # 19.14 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 19.14 [+0.00] -r Multiplies the specified delay with a random value # 19.15 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 19.15 [+0.00] -a Use specified source mac address, no matter what has # 19.15 [+0.00] been specified with other arguments; keywords see below, # 19.15 [+0.00] Default is own interface # 19.16 [+0.00] -b Same with destination mac address; keywords: # 19.17 [+0.01] rand Use a random MAC address # 19.17 [+0.00] bc Use a broadcast MAC address # 19.18 [+0.00] own Use own interface MAC address (default for source MAC) # 19.18 [+0.00] stp Use IEEE 802.1d STP multicast address # 19.18 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 19.18 [+0.00] -A Use specified source IP address (default is own interface IP) # 19.19 [+0.00] -B Send packet to specified destination IP or domain name # 19.19 [+0.00] -P Use the specified ASCII payload # 19.19 [+0.00] -f Read the ASCII payload from a file # 19.19 [+0.00] -F Read the hexadecimal payload from a file # 19.19 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 19.20 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 19.20 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 19.20 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 19.20 [+0.00] encapsulations in lower layers, most packet types allow/require # 19.21 [+0.00] additional packet-specific arguments in an ; # 19.21 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 19.21 [+0.00] dns, rtp, syslog, lldp and more; # 19.21 [+0.00] For context-help use 'help' as ! # 19.22 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 19.22 [+0.00] Enter -T help or -T rtp help for further information # 19.22 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 19.22 [+0.00] -V|VV|... Verbose and more verbose mode # 19.22 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 19.23 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 19.23 [+0.00] typically combined with one of the verbose modes (v or V) # 19.23 [+0.00] -v Show version # 19.23 [+0.00] -h Print this help # 19.23 [+0.00] # 19.24 [+0.00] Examples: # 19.24 [+0.00] mausezahn -x 99 # 19.24 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 19.24 [+0.00] mausezahn -t cdp change -c 0 # 19.24 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 19.24 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 19.24 [+0.00] # 19.24 [+0.00] Note: # 19.24 [+0.00] This tool is targeted for network developers! You should # 19.25 [+0.00] be aware of what you are doing and what these options above # 19.25 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 19.25 [+0.00] # 19.25 [+0.00] Please report bugs to # 19.25 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 19.25 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 19.26 [+0.00] Swiss federal institute of technology (ETH Zurich) # 19.26 [+0.00] License: GNU GPL version 2.0 # 19.26 [+0.00] This is free software: you are free to change and redistribute it. # 19.26 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 19.26 [+0.00] # 22.69 [+3.43] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 22.70 [+0.01] # 22.70 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 22.70 [+0.00] http://www.netsniff-ng.org # 22.70 [+0.00] # 22.70 [+0.00] Usage: mausezahn [options] [interface] || # 22.70 [+0.00] Options: # 22.70 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 22.71 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 22.71 [+0.00] -4 IPv4 mode (default) # 22.71 [+0.00] -6 IPv6 mode # 22.71 [+0.00] -R Set socket priority # 22.71 [+0.00] -c Send packet count times, default:1, infinite:0 # 22.71 [+0.00] -d Apply delay between transmissions. The delay value can be # 22.72 [+0.00] specified in usec (default, no additional unit needed), or in # 22.72 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 22.72 [+0.00] -r Multiplies the specified delay with a random value # 22.72 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 22.73 [+0.00] -a Use specified source mac address, no matter what has # 22.73 [+0.00] been specified with other arguments; keywords see below, # 22.73 [+0.00] Default is own interface # 22.73 [+0.00] -b Same with destination mac address; keywords: # 22.74 [+0.00] rand Use a random MAC address # 22.74 [+0.00] bc Use a broadcast MAC address # 22.74 [+0.00] own Use own interface MAC address (default for source MAC) # 22.74 [+0.00] stp Use IEEE 802.1d STP multicast address # 22.74 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 22.75 [+0.00] -A Use specified source IP address (default is own interface IP) # 22.75 [+0.00] -B Send packet to specified destination IP or domain name # 22.75 [+0.00] -P Use the specified ASCII payload # 22.75 [+0.00] -f Read the ASCII payload from a file # 22.76 [+0.00] -F Read the hexadecimal payload from a file # 22.76 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 22.76 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 22.77 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 22.77 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 22.77 [+0.00] encapsulations in lower layers, most packet types allow/require # 22.78 [+0.00] additional packet-specific arguments in an ; # 22.78 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 22.78 [+0.00] dns, rtp, syslog, lldp and more; # 22.79 [+0.00] For context-help use 'help' as ! # 22.79 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 22.79 [+0.00] Enter -T help or -T rtp help for further information # 22.80 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 22.80 [+0.00] -V|VV|... Verbose and more verbose mode # 22.80 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 22.80 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 22.81 [+0.00] typically combined with one of the verbose modes (v or V) # 22.81 [+0.00] -v Show version # 22.81 [+0.00] -h Print this help # 22.81 [+0.00] # 22.81 [+0.00] Examples: # 22.81 [+0.00] mausezahn -x 99 # 22.82 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 22.82 [+0.00] mausezahn -t cdp change -c 0 # 22.82 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 22.82 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 22.82 [+0.00] # 22.82 [+0.00] Note: # 22.82 [+0.00] This tool is targeted for network developers! You should # 22.83 [+0.00] be aware of what you are doing and what these options above # 22.83 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 22.84 [+0.01] # 22.84 [+0.00] Please report bugs to # 22.84 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 22.85 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 22.85 [+0.00] Swiss federal institute of technology (ETH Zurich) # 22.85 [+0.00] License: GNU GPL version 2.0 # 22.85 [+0.00] This is free software: you are free to change and redistribute it. # 22.85 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 22.86 [+0.00] # 25.14 [+2.28] This program is not intended to be run as root. # 32.68 [+7.54] TEST: mirror to gretap: LAG first slave [FAIL] # 32.68 [+0.00] Expected to capture == 10 packets, got 0. # 35.89 [+3.21] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 35.89 [+0.01] # 35.90 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 35.90 [+0.00] http://www.netsniff-ng.org # 35.90 [+0.00] # 35.90 [+0.00] Usage: mausezahn [options] [interface] || # 35.90 [+0.00] Options: # 35.90 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 35.90 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 35.91 [+0.00] -4 IPv4 mode (default) # 35.91 [+0.00] -6 IPv6 mode # 35.91 [+0.00] -R Set socket priority # 35.91 [+0.00] -c Send packet count times, default:1, infinite:0 # 35.91 [+0.00] -d Apply delay between transmissions. The delay value can be # 35.92 [+0.00] specified in usec (default, no additional unit needed), or in # 35.92 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 35.92 [+0.00] -r Multiplies the specified delay with a random value # 35.93 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 35.93 [+0.00] -a Use specified source mac address, no matter what has # 35.93 [+0.00] been specified with other arguments; keywords see below, # 35.94 [+0.00] Default is own interface # 35.94 [+0.00] -b Same with destination mac address; keywords: # 35.95 [+0.01] rand Use a random MAC address # 35.95 [+0.00] bc Use a broadcast MAC address # 35.95 [+0.00] own Use own interface MAC address (default for source MAC) # 35.96 [+0.00] stp Use IEEE 802.1d STP multicast address # 35.96 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 35.96 [+0.00] -A Use specified source IP address (default is own interface IP) # 35.96 [+0.00] -B Send packet to specified destination IP or domain name # 35.97 [+0.00] -P Use the specified ASCII payload # 35.97 [+0.00] -f Read the ASCII payload from a file # 35.97 [+0.00] -F Read the hexadecimal payload from a file # 35.97 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 35.98 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 35.98 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 35.98 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 35.98 [+0.00] encapsulations in lower layers, most packet types allow/require # 35.99 [+0.00] additional packet-specific arguments in an ; # 35.99 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 35.99 [+0.00] dns, rtp, syslog, lldp and more; # 35.99 [+0.00] For context-help use 'help' as ! # 36.00 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 36.00 [+0.00] Enter -T help or -T rtp help for further information # 36.00 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 36.01 [+0.00] -V|VV|... Verbose and more verbose mode # 36.01 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 36.01 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 36.01 [+0.00] typically combined with one of the verbose modes (v or V) # 36.02 [+0.00] -v Show version # 36.02 [+0.00] -h Print this help # 36.02 [+0.00] # 36.02 [+0.00] Examples: # 36.02 [+0.00] mausezahn -x 99 # 36.02 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 36.02 [+0.00] mausezahn -t cdp change -c 0 # 36.02 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 36.03 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 36.03 [+0.00] # 36.03 [+0.00] Note: # 36.03 [+0.00] This tool is targeted for network developers! You should # 36.03 [+0.00] be aware of what you are doing and what these options above # 36.03 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 36.03 [+0.00] # 36.03 [+0.00] Please report bugs to # 36.04 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 36.04 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 36.04 [+0.00] Swiss federal institute of technology (ETH Zurich) # 36.04 [+0.00] License: GNU GPL version 2.0 # 36.04 [+0.00] This is free software: you are free to change and redistribute it. # 36.05 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 36.05 [+0.00] # 39.44 [+3.39] mz/getopts: libnet_init() failed (libnet_check_iface() ioctl: No such device) Invalid command line parameters! # 39.45 [+0.01] # 39.45 [+0.00] mausezahn 0.6.8+, a fast versatile traffic generator # 39.45 [+0.00] http://www.netsniff-ng.org # 39.45 [+0.00] # 39.45 [+0.00] Usage: mausezahn [options] [interface] || # 39.45 [+0.00] Options: # 39.45 [+0.00] -x Interactive mode with telnet CLI, default port: 25542 # 39.46 [+0.00] -l Listen address to bind to when in interactive mode, default: 0.0.0.0 # 39.46 [+0.00] -4 IPv4 mode (default) # 39.46 [+0.00] -6 IPv6 mode # 39.46 [+0.00] -R Set socket priority # 39.46 [+0.00] -c Send packet count times, default:1, infinite:0 # 39.47 [+0.00] -d Apply delay between transmissions. The delay value can be # 39.47 [+0.00] specified in usec (default, no additional unit needed), or in # 39.47 [+0.00] msec (e.g. 100m or 100msec), or in seconds (e.g. 100s or 100sec) # 39.47 [+0.00] -r Multiplies the specified delay with a random value # 39.48 [+0.00] -p Pad the raw frame to specified length (using random bytes) # 39.48 [+0.00] -a Use specified source mac address, no matter what has # 39.48 [+0.00] been specified with other arguments; keywords see below, # 39.48 [+0.00] Default is own interface # 39.48 [+0.00] -b Same with destination mac address; keywords: # 39.49 [+0.00] rand Use a random MAC address # 39.49 [+0.00] bc Use a broadcast MAC address # 39.49 [+0.00] own Use own interface MAC address (default for source MAC) # 39.49 [+0.00] stp Use IEEE 802.1d STP multicast address # 39.49 [+0.00] cisco Use Cisco multicast address as used for CDP, VTP, or PVST+ # 39.50 [+0.00] -A Use specified source IP address (default is own interface IP) # 39.50 [+0.01] -B Send packet to specified destination IP or domain name # 39.51 [+0.01] -P Use the specified ASCII payload # 39.51 [+0.00] -f Read the ASCII payload from a file # 39.51 [+0.00] -F Read the hexadecimal payload from a file # 39.52 [+0.00] -Q <[CoS:]vlan> Specify 802.1Q VLAN tag and optional Class of Service, you can # 39.52 [+0.00] specify multiple 802.1Q VLAN tags (QinQ...) by separating them # 39.52 [+0.00] via a comma or a period (e.g. '5:10,20,2:30') # 39.52 [+0.00] -t Specify packet type for autobuild (you don't need to care for # 39.53 [+0.00] encapsulations in lower layers, most packet types allow/require # 39.53 [+0.00] additional packet-specific arguments in an ; # 39.53 [+0.00] Currently supported types: arp, bpdu, cdp, ip, icmp, udp, tcp, # 39.53 [+0.00] dns, rtp, syslog, lldp and more; # 39.54 [+0.00] For context-help use 'help' as ! # 39.54 [+0.00] -T Specify packet type for server mode, currently only rtp is supported; # 39.54 [+0.00] Enter -T help or -T rtp help for further information # 39.54 [+0.00] -M Insert a MPLS label, enter '-M help' for a syntax description # 39.55 [+0.00] -V|VV|... Verbose and more verbose mode # 39.55 [+0.00] -q Quiet mode, even omit 'important' standard short messages # 39.55 [+0.00] -S Simulation mode: DOES NOT put anything on the wire, this is # 39.55 [+0.00] typically combined with one of the verbose modes (v or V) # 39.56 [+0.00] -v Show version # 39.56 [+0.00] -h Print this help # 39.56 [+0.00] # 39.56 [+0.00] Examples: # 39.56 [+0.00] mausezahn -x 99 # 39.56 [+0.00] mausezahn -c 0 -d 2s -t bpdu conf # 39.56 [+0.00] mausezahn -t cdp change -c 0 # 39.56 [+0.00] mausezahn -t syslog sev=3 -P "You have been mausezahned." -A 10.1.1.109 -B 192.168.7.7 # 39.56 [+0.00] mausezahn eth0 -A rand -B 1.1.1.1 -c 0 -t tcp "dp=1-1023, flags=syn" # 39.57 [+0.00] # 39.57 [+0.00] Note: # 39.57 [+0.00] This tool is targeted for network developers! You should # 39.57 [+0.00] be aware of what you are doing and what these options above # 39.57 [+0.00] mean! Only use this tool in an isolated LAN that you own! # 39.57 [+0.00] # 39.57 [+0.00] Please report bugs to # 39.57 [+0.00] Copyright (C) 2008-2010 Herbert Haas , # 39.57 [+0.00] Copyright (C) 2011 Daniel Borkmann , # 39.58 [+0.00] Swiss federal institute of technology (ETH Zurich) # 39.58 [+0.00] License: GNU GPL version 2.0 # 39.58 [+0.00] This is free software: you are free to change and redistribute it. # 39.58 [+0.00] There is NO WARRANTY, to the extent permitted by law. # 39.58 [+0.00] # 41.49 [+1.90] This program is not intended to be run as root. # 48.98 [+7.49] TEST: mirror to gretap: LAG second slave [FAIL] # 48.98 [+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__->