# 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_rewriteqed2xaqz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/tests_bond_removal_initscripts.yml:5 Wednesday 14 February 2024 02:43:47 +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_rewriteqed2xaqz/tests/tests_bond_removal_initscripts.yml:8 Wednesday 14 February 2024 02:43:47 +0000 (0:00:00.937) 0:00:00.950 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:43:47 +0000 (0:00:00.014) 0:00:00.964 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.362) 0:00:01.326 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.170) 0:00:01.497 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.029) 0:00:01.527 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.018) 0:00:01.545 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.032) 0:00:01.577 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.015) 0:00:01.593 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.011) 0:00:01.605 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.010) 0:00:01.616 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:43:48 +0000 (0:00:00.019) 0:00:01.636 **** 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_rewriteqed2xaqz/tests/tests_bond_removal_initscripts.yml:10 Wednesday 14 February 2024 02:43:49 +0000 (0:00:00.423) 0:00:02.060 **** 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_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:3 Wednesday 14 February 2024 02:43:49 +0000 (0:00:00.015) 0:00:02.075 **** ok: [sut] META: ran handlers TASK [Check routes and DNS before setup] *************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:13 Wednesday 14 February 2024 02:43:49 +0000 (0:00:00.709) 0:00:02.785 **** 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.006727", "end": "2024-02-14 02:43:50.001340", "rc": 0, "start": "2024-02-14 02:43:49.994613" } 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 0a:b8:36:fe:0f:45 brd ff:ff:ff:ff:ff:ff inet 10.31.13.170/22 brd 10.31.15.255 scope global eth0 inet6 fe80::8b8:36ff:fefe:f45/64 scope link valid_lft forever preferred_lft forever IP ROUTE 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.170 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.12.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_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:30 Wednesday 14 February 2024 02:43:50 +0000 (0:00:00.235) 0:00:03.021 **** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 14 February 2024 02:43:50 +0000 (0:00:00.026) 0:00:03.047 **** changed: [sut] => { "attempts": 1, "changed": true, "changes": { "installed": [ "dnsmasq" ] }, "rc": 0, "results": [ "Loaded plugins: product-id, search-disabled-repos, security, subscription-\n : manager\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package dnsmasq.x86_64 0:2.48-18.el6_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n dnsmasq x86_64 2.48-18.el6_9 rhel 150 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package(s)\n\nTotal download size: 150 k\nInstalled size: 294 k\nDownloading Packages:\nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n\r Installing : dnsmasq-2.48-18.el6_9.x86_64 1/1 \n\r Verifying : dnsmasq-2.48-18.el6_9.x86_64 1/1 \n\nInstalled:\n dnsmasq.x86_64 0:2.48-18.el6_9 \n\nComplete!\n" ] } MSG: Repository rhel-source is listed more than once in the configuration TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Wednesday 14 February 2024 02:43:55 +0000 (0:00:05.919) 0:00:08.967 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:28 Wednesday 14 February 2024 02:43:56 +0000 (0:00:00.428) 0:00:09.395 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:38 Wednesday 14 February 2024 02:43:56 +0000 (0:00:00.013) 0:00:09.408 **** 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:06.375689", "end": "2024-02-14 02:44:02.894381", "rc": 0, "start": "2024-02-14 02:43:56.518692" } STDOUT: Red Hat Enterprise Linux Server release 6.10 (Santiago) Loaded plugins: product-id, search-disabled-repos, security, subscription- : manager This system is not registered with an entitlement server. You can use subscription-manager to register. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package radvd.x86_64 0:1.6-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: radvd x86_64 1.6-1.el6 rhel 75 k Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 75 k Installed size: 159 k Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : radvd-1.6-1.el6.x86_64 1/1 Verifying : radvd-1.6-1.el6.x86_64 1/1 Installed: radvd.x86_64 0:1.6-1.el6 Complete! net.ipv6.conf.all.forwarding = 1 Stopping radvd: [FAILED] Starting radvd: [ OK ] STDERR: Repository rhel-source is listed more than once in the configuration TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:44:02 +0000 (0:00:06.501) 0:00:15.909 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:02 +0000 (0:00:00.018) 0:00:15.927 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878636.73672, "block_size": 4096, "blocks": 0, "ctime": 1707878636.68672, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6437, "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": 1707878636.68672, "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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.136) 0:00:16.064 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.017) 0:00:16.082 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.016) 0:00:16.098 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878636.74072, "block_size": 4096, "blocks": 0, "ctime": 1707878636.68772, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6557, "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": 1707878636.68772, "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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.117) 0:00:16.216 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:43 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.016) 0:00:16.232 **** ok: [sut] => { "changed": false, "cmd": [ "cp", "-vf", "/etc/resolv.conf", "/etc/resolv.conf.bak" ], "delta": "0:00:00.003918", "end": "2024-02-14 02:44:03.354608", "rc": 0, "start": "2024-02-14 02:44:03.350690" } STDOUT: `/etc/resolv.conf' -> `/etc/resolv.conf.bak' TASK [Check routes and DNS after setup] **************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:48 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.132) 0:00:16.364 **** 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.007375", "end": "2024-02-14 02:44:03.484786", "rc": 0, "start": "2024-02-14 02:44:03.477411" } 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 0a:b8:36:fe:0f:45 brd ff:ff:ff:ff:ff:ff inet 10.31.13.170/22 brd 10.31.15.255 scope global eth0 inet6 fe80::8b8:36ff:fefe:f45/64 scope link valid_lft forever preferred_lft forever 3: test1p: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 link/ether d6:70:9e:7e:7c:4e brd ff:ff:ff:ff:ff:ff 4: test1: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 46:49:1c:fc:04:ea brd ff:ff:ff:ff:ff:ff 5: test2p: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 link/ether 06:a1:8b:24:50:4b brd ff:ff:ff:ff:ff:ff 6: test2: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether d6:6d:0c:67:4b:4f brd ff:ff:ff:ff:ff:ff 7: testbr: mtu 1500 qdisc noqueue state UNKNOWN link/ether 06:a1:8b:24:50:4b 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::f807:9cff:feb3:a89c/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.12.0/22 dev eth0 proto kernel scope link src 10.31.13.170 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.12.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_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:65 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.128) 0:00:16.493 **** fatal: [sut]: FAILED! => {} MSG: The conditional check 'ansible_distribution in == 'RedHat'' failed. The error was: template error while templating string: unexpected '=='. String: {% if ansible_distribution in == 'RedHat' %} True {% else %} False {% endif %} The error appears to be in '/WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml': line 65, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: changed_when: false - name: Delete all unreachable IPv6 routes ^ here to retry, use: --limit @/tmp/tests_bond_removal_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=22 changed=1 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.009) 0:00:16.503 **** =============================================================================== Create test interfaces -------------------------------------------------- 6.50s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:38 Install dnsmasq --------------------------------------------------------- 5.92s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tests_bond_removal_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:3 Install pgrep, sysctl --------------------------------------------------- 0.43s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Enable EPEL 6 ----------------------------------------------------------- 0.42s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:40 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:3 ----- Check routes and DNS before setup --------------------------------------- 0.24s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:13 Check if system is ostree ----------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:19 ---- Get stat for interface test1 -------------------------------------------- 0.14s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Backup the /etc/resolv.conf for initscript ------------------------------ 0.13s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:43 Check routes and DNS after setup ---------------------------------------- 0.13s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:48 Get stat for interface test2 -------------------------------------------- 0.12s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:53 ---- Set flag to indicate system is ostree ----------------------------------- 0.03s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:24 ---- INIT Prepare setup ------------------------------------------------------ 0.03s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_bond_removal.yml:30 Enable EPEL 8 ----------------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:35 ------ Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:28 ---- Include the task 'get_interface_stat.yml' ------------------------------- 0.02s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:3 Assert that the interface is present - 'test1' -------------------------- 0.02s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:5 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---