# 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-route_type8mc2ghcb/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-route_type8mc2ghcb/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_deprecated_initscripts.yml ******************************** 2 plays in /WORKDIR/git-route_type8mc2ghcb/tests/tests_bond_deprecated_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/tests_bond_deprecated_initscripts.yml:5 Tuesday 09 January 2024 20:07:31 +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-route_type8mc2ghcb/tests/tests_bond_deprecated_initscripts.yml:8 Tuesday 09 January 2024 20:07:32 +0000 (0:00:00.847) 0:00:00.860 ******* included: /WORKDIR/git-route_type8mc2ghcb/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-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:07:32 +0000 (0:00:00.013) 0:00:00.873 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:07:32 +0000 (0:00:00.248) 0:00:01.121 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.175) 0:00:01.297 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.021) 0:00:01.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.018) 0:00:01.338 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.034) 0:00:01.372 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.011) 0:00:01.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.011) 0:00:01.395 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.014) 0:00:01.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.012) 0:00:01.422 ******* 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-route_type8mc2ghcb/tests/tests_bond_deprecated_initscripts.yml:10 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.436) 0:00:01.858 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing bond device using deprecated 'master' argument] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_bond_deprecated.yml:3 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.013) 0:00:01.872 ******* ok: [sut] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_bond_deprecated.yml:13 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.696) 0:00:02.568 ******* ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.012) 0:00:02.580 ******* changed: [sut] => { "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-route_type8mc2ghcb/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:10 Tuesday 09 January 2024 20:07:40 +0000 (0:00:05.632) 0:00:08.212 ******* 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-route_type8mc2ghcb/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:20 Tuesday 09 January 2024 20:07:40 +0000 (0:00:00.426) 0:00:08.639 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:30 Tuesday 09 January 2024 20:07:40 +0000 (0:00:00.023) 0:00:08.662 ******* 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:05.998470", "end": "2024-01-09 20:07:46.695574", "rc": 0, "start": "2024-01-09 20:07:40.697104" } 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-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:07:46 +0000 (0:00:06.214) 0:00:14.877 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.040) 0:00:14.918 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830860.910128, "block_size": 4096, "blocks": 0, "ctime": 1704830860.8931282, "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": 1704830860.8931282, "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-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.142) 0:00:15.060 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.014) 0:00:15.075 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.025) 0:00:15.100 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830860.838128, "block_size": 4096, "blocks": 0, "ctime": 1704830860.795128, "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": 1704830860.795128, "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-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:07:47 +0000 (0:00:00.120) 0:00:15.220 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_bond_deprecated.yml:28 Tuesday 09 January 2024 20:07:47 +0000 (0:00:00.014) 0:00:15.235 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:07:47 +0000 (0:00:00.017) 0:00:15.253 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:07:47 +0000 (0:00:00.069) 0:00:15.322 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:07:47 +0000 (0:00:00.013) 0:00:15.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:07:47 +0000 (0:00:00.010) 0:00:15.347 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:07:47 +0000 (0:00:00.010) 0:00:15.358 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:07:48 +0000 (0:00:01.678) 0:00:17.037 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.769) 0:00:17.806 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.030) 0:00:17.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.021) 0:00:17.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.028) 0:00:17.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.045) 0:00:17.932 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.026) 0:00:17.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.028) 0:00:17.987 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.042) 0:00:18.030 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.027) 0:00:18.057 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.022) 0:00:18.079 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.350) 0:00:18.430 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-3536vsts5kip/tmpnayd5tb_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.277) 0:00:18.707 ******* fatal: [sut]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0' [008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0' [009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1' [010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active) [011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=1, out=' Determining IP information for deprecated-bond... failed; no link present. Check cable? ', err='' [012] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0' failed with exit status 1 MSG: error: call 'ifup bond0' failed with exit status 1 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:07:56 +0000 (0:00:06.371) 0:00:25.079 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:07:56 +0000 (0:00:00.055) 0:00:25.134 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.052) 0:00:25.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.036) 0:00:25.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.023) 0:00:25.247 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:07:58 +0000 (0:00:01.620) 0:00:26.868 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.577) 0:00:27.446 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.022) 0:00:27.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.021) 0:00:27.490 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.022) 0:00:27.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.055) 0:00:27.568 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.034) 0:00:27.603 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.023) 0:00:27.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.055) 0:00:27.681 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.023) 0:00:27.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.021) 0:00:27.726 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.186) 0:00:27.913 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-3536vsts5kip/tmp_33yfshv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:07:59 +0000 (0:00:00.187) 0:00:28.100 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:down persistent_state:absent, 'bond0.1': down connection bond0.1 skipped because not active [008] #1, state:down persistent_state:absent, 'bond0.0': down connection bond0.0 skipped because not active [009] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active [010] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1' [011] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0' [012] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.268) 0:00:28.369 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.022) 0:00:28.392 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': down connection bond0.1 skipped because not active", "[008] #1, state:down persistent_state:absent, 'bond0.0': down connection bond0.0 skipped because not active", "[009] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active", "[010] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[011] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[012] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.032) 0:00:28.425 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:down persistent_state:absent, 'bond0.1': down connection bond0.1 skipped because not active\n[008] #1, state:down persistent_state:absent, 'bond0.0': down connection bond0.0 skipped because not active\n[009] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active\n[010] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n[011] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[012] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': down connection bond0.1 skipped because not active", "[008] #1, state:down persistent_state:absent, 'bond0.0': down connection bond0.0 skipped because not active", "[009] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active", "[010] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[011] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[012] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.037) 0:00:28.463 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.051) 0:00:28.514 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'deprecated-bond'] ************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_bond_deprecated.yml:110 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.215) 0:00:28.730 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.084166", "end": "2024-01-09 20:08:00.787412", "failed_when_result": false, "rc": 0, "start": "2024-01-09 20:08:00.703246" } TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.237) 0:00:28.968 ******* ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.097617", "end": "2024-01-09 20:08:01.060294", "rc": 0, "start": "2024-01-09 20:08:00.962677" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.280) 0:00:29.249 ******* ok: [sut] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.233317", "end": "2024-01-09 20:08:01.456568", "rc": 0, "start": "2024-01-09 20:08:01.223251" } STDOUT: Red Hat Enterprise Linux Server release 6.10 (Santiago) Stopping radvd: [ OK ] to retry, use: --limit @/tmp/tests_bond_deprecated_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=39 changed=2 unreachable=0 failed=1 skipped=30 rescued=0 ignored=0 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.352) 0:00:29.601 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.37s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Create test interfaces -------------------------------------------------- 6.21s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:30 Install dnsmasq --------------------------------------------------------- 5.63s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-route_type8mc2ghcb/tests/tests_bond_deprecated_initscripts.yml:5 - linux-system-roles.network : Check which packages are installed --------- 0.77s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_bond_deprecated.yml:3 --- linux-system-roles.network : Check which packages are installed --------- 0.58s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 6 ----------------------------------------------------------- 0.44s /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:40 ---------------- Install pgrep, sysctl --------------------------------------------------- 0.43s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:10 Stop dnsmasq/radvd services --------------------------------------------- 0.35s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 linux-system-roles.network : Enable network service --------------------- 0.35s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Remove test interfaces -------------------------------------------------- 0.28s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.28s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Configure networking connection profiles --- 0.27s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather the minimum subset of ansible_facts required by the network role test --- 0.25s /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:3 --------------- Delete the device 'deprecated-bond' ------------------------------------- 0.24s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_bond_deprecated.yml:110 - linux-system-roles.network : Re-test connectivity ----------------------- 0.22s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.19s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: [007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0' [WARNING]: [008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0' [WARNING]: [009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1' [WARNING]: [010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active) [WARNING]: [011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=1, out=' Determining IP information for deprecated-bond... failed; no link present. Check cable? ', err='' [WARNING]: [012] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0' failed with exit status 1 ---^---^---^---^---^---