# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file statically imported: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_bond_removal_initscripts.yml *********************************** 2 plays in /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tests_bond_removal_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_removal.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tests_bond_removal_initscripts.yml:5 Wednesday 14 February 2024 00:18:30 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tests_bond_removal_initscripts.yml:8 Wednesday 14 February 2024 00:18:31 +0000 (0:00:00.964) 0:00:00.976 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:18:31 +0000 (0:00:00.013) 0:00:00.990 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 00:18:31 +0000 (0:00:00.228) 0:00:01.219 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 00:18:31 +0000 (0:00:00.170) 0:00:01.389 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.021) 0:00:01.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.017) 0:00:01.428 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.032) 0:00:01.461 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.010) 0:00:01.472 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.010) 0:00:01.482 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.010) 0:00:01.493 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.010) 0:00:01.503 **** ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tests_bond_removal_initscripts.yml:10 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.432) 0:00:01.936 **** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing bond removal] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:3 Wednesday 14 February 2024 00:18:32 +0000 (0:00:00.014) 0:00:01.951 **** ok: [sut] META: ran handlers TASK [Check routes and DNS before setup] *************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:13 Wednesday 14 February 2024 00:18:33 +0000 (0:00:00.704) 0:00:02.655 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.006746", "end": "2024-02-14 00:18:33.445120", "rc": 0, "start": "2024-02-14 00:18:33.438374" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 12:ba:e1:57:bb:bf brd ff:ff:ff:ff:ff:ff inet 10.31.10.7/22 brd 10.31.11.255 scope global eth0 inet6 fe80::10ba:e1ff:fe57:bbbf/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN link/ether 82:9b:e4:1a:6b:31 brd ff:ff:ff:ff:ff:ff IP ROUTE 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.7 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.8.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:30 Wednesday 14 February 2024 00:18:33 +0000 (0:00:00.192) 0:00:02.847 **** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 14 February 2024 00:18:33 +0000 (0:00:00.012) 0:00:02.859 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "dnsmasq-2.48-18.el6_9.x86_64 providing dnsmasq is already installed" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Wednesday 14 February 2024 00:18:33 +0000 (0:00:00.520) 0:00:03.380 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "procps-3.2.8-45.el6_9.3.x86_64 providing procps is already installed" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:28 Wednesday 14 February 2024 00:18:34 +0000 (0:00:00.406) 0:00:03.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:38 Wednesday 14 February 2024 00:18:34 +0000 (0:00:00.012) 0:00:03.798 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:03.513513", "end": "2024-02-14 00:18:38.027231", "rc": 0, "start": "2024-02-14 00:18:34.513718" } STDOUT: Red Hat Enterprise Linux Server release 6.10 (Santiago) net.ipv6.conf.all.forwarding = 1 Stopping radvd: [FAILED] Starting radvd: [ OK ] TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:18:38 +0000 (0:00:03.640) 0:00:07.439 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.017) 0:00:07.456 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869914.59242, "block_size": 4096, "blocks": 0, "ctime": 1707869914.53742, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6447, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test1", "lnk_target": "../../devices/virtual/net/test1", "mode": "0777", "mtime": 1707869914.53742, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'test1'] ************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.135) 0:00:07.591 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.015) 0:00:07.606 **** included: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.016) 0:00:07.623 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869914.58642, "block_size": 4096, "blocks": 0, "ctime": 1707869914.5394201, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6567, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test2", "lnk_target": "../../devices/virtual/net/test2", "mode": "0777", "mtime": 1707869914.5394201, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'test2'] ************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.127) 0:00:07.751 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:43 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.014) 0:00:07.766 **** ok: [sut] => { "changed": false, "cmd": [ "cp", "-vf", "/etc/resolv.conf", "/etc/resolv.conf.bak" ], "delta": "0:00:00.010279", "end": "2024-02-14 00:18:38.492685", "rc": 0, "start": "2024-02-14 00:18:38.482406" } STDOUT: `/etc/resolv.conf' -> `/etc/resolv.conf.bak' TASK [Check routes and DNS after setup] **************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:48 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.129) 0:00:07.895 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.012941", "end": "2024-02-14 00:18:38.621693", "rc": 0, "start": "2024-02-14 00:18:38.608752" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 12:ba:e1:57:bb:bf brd ff:ff:ff:ff:ff:ff inet 10.31.10.7/22 brd 10.31.11.255 scope global eth0 inet6 fe80::10ba:e1ff:fe57:bbbf/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN link/ether 82:9b:e4:1a:6b:31 brd ff:ff:ff:ff:ff:ff 10: test1p: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 link/ether aa:dd:a4:bc:9f:9e brd ff:ff:ff:ff:ff:ff 11: test1: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether b6:a7:40:69:59:10 brd ff:ff:ff:ff:ff:ff 12: test2p: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 link/ether e6:61:89:e7:1d:ca brd ff:ff:ff:ff:ff:ff 13: test2: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether aa:6d:07:6b:c7:aa brd ff:ff:ff:ff:ff:ff 14: testbr: mtu 1500 qdisc noqueue state UNKNOWN link/ether aa:dd:a4:bc:9f:9e brd ff:ff:ff:ff:ff:ff inet 192.0.2.1/24 scope global testbr inet6 2001:db8::1/32 scope global valid_lft forever preferred_lft forever inet6 fe80::e0ae:2eff:fe5b:c9c0/64 scope link valid_lft forever preferred_lft forever IP ROUTE 192.0.2.0/24 dev testbr proto kernel scope link src 192.0.2.1 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.7 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.8.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/32 dev testbr proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 fe80::/64 dev testbr proto kernel metric 256 mtu 1500 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Delete all unreachable IPv6 routes] ************************************** task path: /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:65 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.129) 0:00:08.025 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "ip -6 route show | grep 'unreachable' | while read -r route; do\n sudo ip -6 route del $route\ndone\n", "delta": "0:00:00.124431", "end": "2024-02-14 00:18:38.863047", "rc": 255, "start": "2024-02-14 00:18:38.738616" } STDERR: Error: either "to" is duplicate, or "error" is a garbage. Error: either "to" is duplicate, or "error" is a garbage. Error: either "to" is duplicate, or "error" is a garbage. Error: either "to" is duplicate, or "error" is a garbage. Error: either "to" is duplicate, or "error" is a garbage. Error: either "to" is duplicate, or "error" is a garbage. Error: either "to" is duplicate, or "error" is a garbage. Error: either "to" is duplicate, or "error" is a garbage. Error: either "to" is duplicate, or "error" is a garbage. MSG: non-zero return code to retry, use: --limit @/tmp/tests_bond_removal_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=22 changed=0 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0 Wednesday 14 February 2024 00:18:38 +0000 (0:00:00.237) 0:00:08.262 **** =============================================================================== Create test interfaces -------------------------------------------------- 3.64s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:38 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tests_bond_removal_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:3 Install dnsmasq --------------------------------------------------------- 0.52s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Enable EPEL 6 ----------------------------------------------------------- 0.43s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/enable_epel.yml:40 ------ Install pgrep, sysctl --------------------------------------------------- 0.41s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Delete all unreachable IPv6 routes -------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:65 Gather the minimum subset of ansible_facts required by the network role test --- 0.23s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:3 ----- Check routes and DNS before setup --------------------------------------- 0.19s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:13 Check if system is ostree ----------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:19 ---- Get stat for interface test1 -------------------------------------------- 0.14s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Backup the /etc/resolv.conf for initscript ------------------------------ 0.13s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:43 Check routes and DNS after setup ---------------------------------------- 0.13s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tests_bond_removal.yml:48 Get stat for interface test2 -------------------------------------------- 0.13s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/get_interface_stat.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:53 ---- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:24 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/tasks/el_repo_setup.yml:28 ---- Include the task 'get_interface_stat.yml' ------------------------------- 0.02s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:3 Include the task 'get_interface_stat.yml' ------------------------------- 0.02s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:3 Assert that the interface is present - 'test1' -------------------------- 0.02s /WORKDIR/git-bond_options_rewrite7rt0iehz/tests/playbooks/tasks/assert_device_present.yml:5 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---