# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-ci_fixvy6c85__/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_bond_removal_initscripts.yml *********************************** 2 plays in /WORKDIR/git-ci_fixvy6c85__/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-ci_fixvy6c85__/tests/tests_bond_removal_initscripts.yml:5 Friday 26 January 2024 21:30:51 +0000 (0:00:00.024) 0:00:00.024 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/tests_bond_removal_initscripts.yml:8 Friday 26 January 2024 21:30:52 +0000 (0:00:00.909) 0:00:00.933 ******** included: /WORKDIR/git-ci_fixvy6c85__/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-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:30:52 +0000 (0:00:00.011) 0:00:00.945 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:17 Friday 26 January 2024 21:30:52 +0000 (0:00:00.381) 0:00:01.326 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:22 Friday 26 January 2024 21:30:52 +0000 (0:00:00.334) 0:00:01.661 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:26 Friday 26 January 2024 21:30:52 +0000 (0:00:00.021) 0:00:01.682 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:51 Friday 26 January 2024 21:30:52 +0000 (0:00:00.025) 0:00:01.708 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:30:52 +0000 (0:00:00.026) 0:00:01.734 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:30:53 +0000 (0:00:00.367) 0:00:02.102 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:30:53 +0000 (0:00:00.022) 0:00:02.124 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:30:53 +0000 (0:00:00.047) 0:00:02.172 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244264", "end": "2024-01-26 21:30:53.832836", "rc": 0, "start": "2024-01-26 21:30:53.588572" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:30:53 +0000 (0:00:00.478) 0:00:02.650 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tests_bond_removal_initscripts.yml:10 Friday 26 January 2024 21:30:53 +0000 (0:00:00.023) 0:00:02.674 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing bond removal] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:3 Friday 26 January 2024 21:30:53 +0000 (0:00:00.076) 0:00:02.750 ******** ok: [sut] TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:13 Friday 26 January 2024 21:30:54 +0000 (0:00:00.727) 0:00:03.477 ******** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Friday 26 January 2024 21:30:54 +0000 (0:00:00.041) 0:00:03.519 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:9 Friday 26 January 2024 21:30:57 +0000 (0:00:02.996) 0:00:06.515 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version is version('6', '<=')", "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Friday 26 January 2024 21:30:57 +0000 (0:00:00.042) 0:00:06.557 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:27 Friday 26 January 2024 21:31:00 +0000 (0:00:02.689) 0:00:09.246 ******** 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:01.272111", "end": "2024-01-26 21:31:01.927326", "rc": 0, "start": "2024-01-26 21:31:00.655215" } TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:31:01 +0000 (0:00:01.503) 0:00:10.749 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:31:02 +0000 (0:00:00.029) 0:00:10.778 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304660.6603012, "block_size": 4096, "blocks": 0, "ctime": 1706304660.6603012, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27785, "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": 1706304660.6603012, "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-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:31:02 +0000 (0:00:00.283) 0:00:11.062 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:31:02 +0000 (0:00:00.028) 0:00:11.091 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:31:02 +0000 (0:00:00.061) 0:00:11.153 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304660.675086, "block_size": 4096, "blocks": 0, "ctime": 1706304660.675086, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28371, "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": 1706304660.675086, "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-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:31:02 +0000 (0:00:00.248) 0:00:11.401 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:26 Friday 26 January 2024 21:31:02 +0000 (0:00:00.019) 0:00:11.421 ******** ok: [sut] => { "changed": false, "cmd": [ "cp", "-vf", "/etc/resolv.conf", "/etc/resolv.conf.bak" ], "delta": "0:00:00.003718", "end": "2024-01-26 21:31:02.836566", "rc": 0, "start": "2024-01-26 21:31:02.832848" } STDOUT: '/etc/resolv.conf' -> '/etc/resolv.conf.bak' TASK [TEST Add Bond with 2 ports] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:33 Friday 26 January 2024 21:31:02 +0000 (0:00:00.216) 0:00:11.637 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:31:02 +0000 (0:00:00.023) 0:00:11.660 ******** included: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:31:02 +0000 (0:00:00.031) 0:00:11.692 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:31:02 +0000 (0:00:00.076) 0:00:11.769 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:31:03 +0000 (0:00:00.032) 0:00:11.801 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:31:03 +0000 (0:00:00.026) 0:00:11.827 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:31:04 +0000 (0:00:01.690) 0:00:13.518 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:31:06 +0000 (0:00:01.910) 0:00:15.429 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:31:06 +0000 (0:00:00.059) 0:00:15.489 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:31:06 +0000 (0:00:00.093) 0:00:15.582 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:31:06 +0000 (0:00:00.058) 0:00:15.641 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:31:07 +0000 (0:00:00.142) 0:00:15.783 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:31:07 +0000 (0:00:00.062) 0:00:15.845 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:31:07 +0000 (0:00:00.088) 0:00:15.934 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:31:07 +0000 (0:00:00.107) 0:00:16.041 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:31:07 +0000 (0:00:00.058) 0:00:16.099 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:31:07 +0000 (0:00:00.057) 0:00:16.157 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:31:08 +0000 (0:00:00.697) 0:00:16.854 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-4582coz0o5ot/tmppc9hy_ij" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:31:08 +0000 (0:00:00.456) 0:00:17.311 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "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=0, out='b'\nDetermining IP information for nm-bond... done.\n'', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\n"' [012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified) [013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified) [015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:31:33 +0000 (0:00:24.943) 0:00:42.255 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:31:33 +0000 (0:00:00.030) 0:00:42.285 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[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=0, out='b'\\nDetermining IP information for nm-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:31:33 +0000 (0:00:00.029) 0:00:42.315 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'\n[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b'\\nDetermining IP information for nm-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[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=0, out='b'\\nDetermining IP information for nm-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:31:33 +0000 (0:00:00.031) 0:00:42.346 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:31:33 +0000 (0:00:00.030) 0:00:42.377 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:31:33 +0000 (0:00:00.306) 0:00:42.684 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface nm-bond] ****************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:31:33 +0000 (0:00:00.045) 0:00:42.729 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304669.138236, "block_size": 4096, "blocks": 0, "ctime": 1706304669.138236, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28869, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1706304669.138236, "nlink": 1, "path": "/sys/class/net/nm-bond", "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 - 'nm-bond'] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:31:34 +0000 (0:00:00.223) 0:00:42.952 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:67 Friday 26 January 2024 21:31:34 +0000 (0:00:00.055) 0:00:43.007 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.0) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.1) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:31:34 +0000 (0:00:00.077) 0:00:43.085 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:31:34 +0000 (0:00:00.093) 0:00:43.178 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:31:34 +0000 (0:00:00.028) 0:00:43.206 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304669.1044552, "block_size": 4096, "blocks": 8, "ctime": 1706304669.084456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4868959, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304669.084456, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 222, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:31:34 +0000 (0:00:00.209) 0:00:43.415 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:31:34 +0000 (0:00:00.032) 0:00:43.448 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.023083", "end": "2024-01-26 21:31:34.871880", "rc": 1, "start": "2024-01-26 21:31:34.848797" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:31:34 +0000 (0:00:00.228) 0:00:43.677 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:31:34 +0000 (0:00:00.053) 0:00:43.730 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.003167", "end": "2024-01-26 21:31:35.138143", "rc": 0, "start": "2024-01-26 21:31:35.134976" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:31:35 +0000 (0:00:00.214) 0:00:43.944 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-bond0] ****************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:31:35 +0000 (0:00:00.032) 0:00:43.977 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.003440", "end": "2024-01-26 21:31:35.393278", "rc": 0, "start": "2024-01-26 21:31:35.389838" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-bond0] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:31:35 +0000 (0:00:00.235) 0:00:44.213 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'bond0'] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:31:35 +0000 (0:00:00.033) 0:00:44.247 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0'] *********** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:31:35 +0000 (0:00:00.033) 0:00:44.280 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0] ***************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:31:35 +0000 (0:00:00.031) 0:00:44.312 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:31:35 +0000 (0:00:00.028) 0:00:44.340 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:31:35 +0000 (0:00:00.040) 0:00:44.380 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:31:35 +0000 (0:00:00.027) 0:00:44.408 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304669.147454, "block_size": 4096, "blocks": 8, "ctime": 1706304669.084456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5826025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304669.084456, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 125, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:31:35 +0000 (0:00:00.227) 0:00:44.635 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:31:35 +0000 (0:00:00.028) 0:00:44.664 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.023458", "end": "2024-01-26 21:31:36.089785", "rc": 1, "start": "2024-01-26 21:31:36.066327" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:31:36 +0000 (0:00:00.231) 0:00:44.895 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:31:36 +0000 (0:00:00.028) 0:00:44.923 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:00.003163", "end": "2024-01-26 21:31:36.328370", "rc": 0, "start": "2024-01-26 21:31:36.325207" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:31:36 +0000 (0:00:00.211) 0:00:45.135 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-bond0.0] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:31:36 +0000 (0:00:00.036) 0:00:45.172 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:00.003187", "end": "2024-01-26 21:31:36.577207", "rc": 0, "start": "2024-01-26 21:31:36.574020" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-bond0.0] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:31:36 +0000 (0:00:00.217) 0:00:45.390 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'bond0.0'] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:31:36 +0000 (0:00:00.043) 0:00:45.433 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.0'] ********* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:31:36 +0000 (0:00:00.032) 0:00:45.465 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.0] *************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:31:36 +0000 (0:00:00.030) 0:00:45.495 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:31:36 +0000 (0:00:00.031) 0:00:45.526 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:31:36 +0000 (0:00:00.038) 0:00:45.564 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:31:36 +0000 (0:00:00.027) 0:00:45.592 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304669.147454, "block_size": 4096, "blocks": 8, "ctime": 1706304669.084456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5826029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304669.084456, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 125, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:31:37 +0000 (0:00:00.204) 0:00:45.796 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:31:37 +0000 (0:00:00.028) 0:00:45.825 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.023591", "end": "2024-01-26 21:31:37.249566", "rc": 1, "start": "2024-01-26 21:31:37.225975" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:31:37 +0000 (0:00:00.229) 0:00:46.054 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:31:37 +0000 (0:00:00.052) 0:00:46.107 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:00.003203", "end": "2024-01-26 21:31:37.513508", "rc": 0, "start": "2024-01-26 21:31:37.510305" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:31:37 +0000 (0:00:00.211) 0:00:46.319 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-bond0.1] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:31:37 +0000 (0:00:00.032) 0:00:46.352 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:00.003240", "end": "2024-01-26 21:31:37.757970", "rc": 0, "start": "2024-01-26 21:31:37.754730" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-bond0.1] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:31:37 +0000 (0:00:00.212) 0:00:46.564 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'bond0.1'] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:31:37 +0000 (0:00:00.033) 0:00:46.598 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.1'] ********* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:31:37 +0000 (0:00:00.030) 0:00:46.628 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.1] *************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:31:37 +0000 (0:00:00.029) 0:00:46.657 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:75 Friday 26 January 2024 21:31:37 +0000 (0:00:00.028) 0:00:46.686 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.003300", "end": "2024-01-26 21:31:38.088727", "rc": 0, "start": "2024-01-26 21:31:38.085427" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:80 Friday 26 January 2024 21:31:38 +0000 (0:00:00.210) 0:00:46.897 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003820", "end": "2024-01-26 21:31:38.300286", "rc": 0, "start": "2024-01-26 21:31:38.296466" } STDOUT: 28: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.125/24 brd 192.0.2.255 scope global dynamic nm-bond valid_lft 295sec preferred_lft 295sec TASK [** TEST check IPv6] ****************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:87 Friday 26 January 2024 21:31:38 +0000 (0:00:00.210) 0:00:47.107 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.004027", "end": "2024-01-26 21:31:38.514309", "rc": 0, "start": "2024-01-26 21:31:38.510282" } STDOUT: 28: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::6854:caff:fe3e:7665/64 scope global dynamic mngtmpaddr valid_lft 1794sec preferred_lft 1794sec inet6 fe80::6854:caff:fe3e:7665/64 scope link valid_lft forever preferred_lft forever TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:31:38 +0000 (0:00:00.216) 0:00:47.323 ******** included: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:31:38 +0000 (0:00:00.051) 0:00:47.375 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:31:38 +0000 (0:00:00.034) 0:00:47.410 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:31:38 +0000 (0:00:00.034) 0:00:47.444 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:31:38 +0000 (0:00:00.056) 0:00:47.501 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:31:40 +0000 (0:00:01.574) 0:00:49.075 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:31:41 +0000 (0:00:01.618) 0:00:50.694 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:31:41 +0000 (0:00:00.029) 0:00:50.724 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:31:41 +0000 (0:00:00.029) 0:00:50.753 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:31:42 +0000 (0:00:00.028) 0:00:50.781 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:31:42 +0000 (0:00:00.052) 0:00:50.833 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:31:42 +0000 (0:00:00.031) 0:00:50.864 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:31:42 +0000 (0:00:00.029) 0:00:50.894 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:31:42 +0000 (0:00:00.034) 0:00:50.929 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:31:42 +0000 (0:00:00.029) 0:00:50.958 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:31:42 +0000 (0:00:00.028) 0:00:50.987 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:31:42 +0000 (0:00:00.374) 0:00:51.362 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-4582coz0o5ot/tmpqt7n1g_8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:31:42 +0000 (0:00:00.298) 0:00:51.661 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:31:43 +0000 (0:00:00.707) 0:00:52.368 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:31:43 +0000 (0:00:00.030) 0:00:52.398 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:31:43 +0000 (0:00:00.029) 0:00:52.428 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:31:43 +0000 (0:00:00.057) 0:00:52.485 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:31:43 +0000 (0:00:00.030) 0:00:52.516 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [From the active connection, get the port1 profile "bond0.0"] ************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:104 Friday 26 January 2024 21:31:43 +0000 (0:00:00.212) 0:00:52.729 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [From the active connection, get the port2 profile "bond0.1"] ************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:111 Friday 26 January 2024 21:31:43 +0000 (0:00:00.027) 0:00:52.756 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert that the port1 profile is not activated] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:118 Friday 26 January 2024 21:31:44 +0000 (0:00:00.026) 0:00:52.782 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert that the port2 profile is not activated] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:125 Friday 26 January 2024 21:31:44 +0000 (0:00:00.026) 0:00:52.808 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get the port1 device state] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:132 Friday 26 January 2024 21:31:44 +0000 (0:00:00.025) 0:00:52.834 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "a", "s", "test1" ], "delta": "0:00:00.003928", "end": "2024-01-26 21:31:44.239922", "rc": 0, "start": "2024-01-26 21:31:44.235994" } STDOUT: 24: test1@test1p: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 6a:54:ca:3e:76:65 brd ff:ff:ff:ff:ff:ff TASK [Get the port2 device state] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:139 Friday 26 January 2024 21:31:44 +0000 (0:00:00.212) 0:00:53.046 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "a", "s", "test2" ], "delta": "0:00:00.003847", "end": "2024-01-26 21:31:44.451767", "rc": 0, "start": "2024-01-26 21:31:44.447920" } STDOUT: 26: test2@test2p: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1e:07:be:e3:31:9d brd ff:ff:ff:ff:ff:ff TASK [Assert that the port1 device is in DOWN state] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:146 Friday 26 January 2024 21:31:44 +0000 (0:00:00.210) 0:00:53.257 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the port2 device is in DOWN state] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:153 Friday 26 January 2024 21:31:44 +0000 (0:00:00.030) 0:00:53.287 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:31:44 +0000 (0:00:00.029) 0:00:53.317 ******** included: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:31:44 +0000 (0:00:00.041) 0:00:53.358 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:31:44 +0000 (0:00:00.032) 0:00:53.391 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:31:44 +0000 (0:00:00.029) 0:00:53.420 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:31:44 +0000 (0:00:00.031) 0:00:53.452 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:31:46 +0000 (0:00:01.645) 0:00:55.097 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:31:47 +0000 (0:00:01.560) 0:00:56.658 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:31:47 +0000 (0:00:00.034) 0:00:56.692 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:31:47 +0000 (0:00:00.046) 0:00:56.739 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:31:47 +0000 (0:00:00.031) 0:00:56.771 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:31:48 +0000 (0:00:00.065) 0:00:56.836 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:31:48 +0000 (0:00:00.031) 0:00:56.868 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:31:48 +0000 (0:00:00.032) 0:00:56.901 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:31:48 +0000 (0:00:00.049) 0:00:56.950 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:31:48 +0000 (0:00:00.029) 0:00:56.980 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:31:48 +0000 (0:00:00.028) 0:00:57.009 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:31:48 +0000 (0:00:00.385) 0:00:57.394 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-4582coz0o5ot/tmp8s96dm_1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:31:48 +0000 (0:00:00.300) 0:00:57.695 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "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': ifcfg-rh profile 'bond0.0' already up to date [009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date [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=0, out='b'\nDetermining IP information for nm-bond... done.\n'', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\n"' [012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified) [013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified) [015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:31:51 +0000 (0:00:02.900) 0:01:00.595 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:31:51 +0000 (0:00:00.029) 0:01:00.625 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date", "[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date", "[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=0, out='b'\\nDetermining IP information for nm-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:31:51 +0000 (0:00:00.062) 0:01:00.687 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date\n[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b'\\nDetermining IP information for nm-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date", "[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date", "[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=0, out='b'\\nDetermining IP information for nm-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:31:51 +0000 (0:00:00.032) 0:01:00.720 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:31:51 +0000 (0:00:00.036) 0:01:00.756 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:31:52 +0000 (0:00:00.218) 0:01:00.975 ******** included: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:31:52 +0000 (0:00:00.048) 0:01:01.024 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:31:52 +0000 (0:00:00.036) 0:01:01.060 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:31:52 +0000 (0:00:00.032) 0:01:01.092 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:31:52 +0000 (0:00:00.029) 0:01:01.122 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:31:53 +0000 (0:00:01.552) 0:01:02.675 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:31:55 +0000 (0:00:01.561) 0:01:04.236 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:31:55 +0000 (0:00:00.028) 0:01:04.265 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:31:55 +0000 (0:00:00.030) 0:01:04.296 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:31:55 +0000 (0:00:00.057) 0:01:04.354 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:31:55 +0000 (0:00:00.052) 0:01:04.407 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:31:55 +0000 (0:00:00.029) 0:01:04.436 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:31:55 +0000 (0:00:00.028) 0:01:04.465 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:31:55 +0000 (0:00:00.034) 0:01:04.500 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:31:55 +0000 (0:00:00.029) 0:01:04.530 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:31:55 +0000 (0:00:00.025) 0:01:04.555 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:31:56 +0000 (0:00:00.378) 0:01:04.934 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-4582coz0o5ot/tmp__53l15v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:31:56 +0000 (0:00:00.298) 0:01:05.232 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active) [006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active) [008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0' [010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:31:57 +0000 (0:00:00.596) 0:01:05.829 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:31:57 +0000 (0:00:00.031) 0:01:05.860 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:31:57 +0000 (0:00:00.031) 0:01:05.891 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:31:57 +0000 (0:00:00.030) 0:01:05.921 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:31:57 +0000 (0:00:00.029) 0:01:05.951 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [From the active connection, get the controller profile "bond0"] ********** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:200 Friday 26 January 2024 21:31:57 +0000 (0:00:00.216) 0:01:06.168 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert that the controller profile is activated] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:207 Friday 26 January 2024 21:31:57 +0000 (0:00:00.027) 0:01:06.195 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get the controller device details] *************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:214 Friday 26 January 2024 21:31:57 +0000 (0:00:00.026) 0:01:06.221 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-d", "a", "s", "nm-bond" ], "delta": "0:00:00.004352", "end": "2024-01-26 21:31:57.626012", "rc": 0, "start": "2024-01-26 21:31:57.621660" } STDOUT: 28: nm-bond: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 5a:25:b8:93:23:d1 brd ff:ff:ff:ff:ff:ff promiscuity 0 minmtu 68 maxmtu 65535 bond mode active-backup miimon 110 updelay 0 downdelay 0 peer_notify_delay 0 use_carrier 1 arp_interval 0 arp_validate none arp_all_targets any primary_reselect always fail_over_mac none xmit_hash_policy layer2 resend_igmp 1 num_grat_arp 1 all_slaves_active 0 min_links 0 lp_interval 1 packets_per_slave 1 lacp_active on lacp_rate slow ad_select stable tlb_dynamic_lb 1 numtxqueues 16 numrxqueues 16 gso_max_size 65536 gso_max_segs 65535 inet 192.0.2.125/24 brd 192.0.2.255 scope global dynamic nm-bond valid_lft 294sec preferred_lft 294sec inet6 2001:db8::6854:caff:fe3e:7665/64 scope global tentative dynamic mngtmpaddr valid_lft 1799sec preferred_lft 1799sec inet6 fe80::6854:caff:fe3e:7665/64 scope link valid_lft forever preferred_lft forever TASK [Assert that the controller profile is activated] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:221 Friday 26 January 2024 21:31:57 +0000 (0:00:00.238) 0:01:06.459 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:31:57 +0000 (0:00:00.031) 0:01:06.491 ******** included: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:31:57 +0000 (0:00:00.043) 0:01:06.534 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:31:57 +0000 (0:00:00.036) 0:01:06.571 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:31:57 +0000 (0:00:00.030) 0:01:06.601 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:31:57 +0000 (0:00:00.030) 0:01:06.632 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:31:59 +0000 (0:00:01.553) 0:01:08.185 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:32:01 +0000 (0:00:01.647) 0:01:09.832 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:32:01 +0000 (0:00:00.030) 0:01:09.863 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:32:01 +0000 (0:00:00.029) 0:01:09.892 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:32:01 +0000 (0:00:00.029) 0:01:09.922 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:32:01 +0000 (0:00:00.052) 0:01:09.975 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:32:01 +0000 (0:00:00.031) 0:01:10.006 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:32:01 +0000 (0:00:00.057) 0:01:10.064 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:32:01 +0000 (0:00:00.034) 0:01:10.098 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:32:01 +0000 (0:00:00.033) 0:01:10.131 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:32:01 +0000 (0:00:00.028) 0:01:10.160 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:32:01 +0000 (0:00:00.380) 0:01:10.541 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-4582coz0o5ot/tmpqytxhx8k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:32:02 +0000 (0:00:00.326) 0:01:10.867 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:32:02 +0000 (0:00:00.480) 0:01:11.348 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:32:02 +0000 (0:00:00.029) 0:01:11.378 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:32:02 +0000 (0:00:00.030) 0:01:11.408 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:32:02 +0000 (0:00:00.030) 0:01:11.439 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:32:02 +0000 (0:00:00.032) 0:01:11.472 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:242 Friday 26 January 2024 21:32:02 +0000 (0:00:00.216) 0:01:11.688 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.016509", "end": "2024-01-26 21:32:03.105513", "failed_when_result": false, "rc": 0, "start": "2024-01-26 21:32:03.089004" } TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Friday 26 January 2024 21:32:03 +0000 (0:00:00.228) 0:01:11.916 ******** ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.057092", "end": "2024-01-26 21:32:03.373570", "rc": 0, "start": "2024-01-26 21:32:03.316478" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Friday 26 January 2024 21:32:03 +0000 (0:00:00.267) 0:01:12.184 ******** 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.014620", "end": "2024-01-26 21:32:03.598214", "rc": 0, "start": "2024-01-26 21:32:03.583594" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:248 Friday 26 January 2024 21:32:03 +0000 (0:00:00.219) 0:01:12.404 ******** ok: [sut] => { "changed": false, "cmd": [ "mv", "-vf", "/etc/resolv.conf.bak", "/etc/resolv.conf" ], "delta": "0:00:00.003662", "end": "2024-01-26 21:32:03.807941", "rc": 0, "start": "2024-01-26 21:32:03.804279" } STDOUT: renamed '/etc/resolv.conf.bak' -> '/etc/resolv.conf' PLAY RECAP ********************************************************************* sut : ok=127 changed=5 unreachable=0 failed=0 skipped=79 rescued=0 ignored=3 Friday 26 January 2024 21:32:03 +0000 (0:00:00.265) 0:01:12.670 ******** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles -- 24.94s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Install dnsmasq --------------------------------------------------------- 3.00s /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.90s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Install pgrep, sysctl --------------------------------------------------- 2.69s /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Create test interfaces -------------------------------------------------- 1.50s /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:27 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-ci_fixvy6c85__/tests/tests_bond_removal_initscripts.yml:5 -------- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_bond_removal.yml:3 ---------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable network service -------------- 0.70s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---