ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_bond_port_match_by_mac_nm.yml ********************************** 2 plays in /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tests_bond_port_match_by_mac_nm.yml PLAY [Run playbook 'playbooks/tests_bond_port_match_by_mac.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tests_bond_port_match_by_mac_nm.yml:6 Monday 06 October 2025 15:18:08 -0400 (0:00:00.087) 0:00:00.087 ******** ok: [managed-node4] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tests_bond_port_match_by_mac_nm.yml:9 Monday 06 October 2025 15:18:10 -0400 (0:00:01.914) 0:00:02.002 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node4 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 06 October 2025 15:18:10 -0400 (0:00:00.296) 0:00:02.298 ******** ok: [managed-node4] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 06 October 2025 15:18:11 -0400 (0:00:00.685) 0:00:02.984 ******** ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 06 October 2025 15:18:12 -0400 (0:00:01.209) 0:00:04.194 ******** ok: [managed-node4] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 06 October 2025 15:18:12 -0400 (0:00:00.093) 0:00:04.288 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tests_bond_port_match_by_mac_nm.yml:11 Monday 06 October 2025 15:18:12 -0400 (0:00:00.068) 0:00:04.356 ******** ok: [managed-node4] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for creating the connection to match the port device based on the perm_hwaddr] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bond_port_match_by_mac.yml:3 Monday 06 October 2025 15:18:12 -0400 (0:00:00.057) 0:00:04.413 ******** ok: [managed-node4] META: ran handlers TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bond_port_match_by_mac.yml:19 Monday 06 October 2025 15:18:13 -0400 (0:00:00.887) 0:00:05.300 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node4 TASK [TEST: Given two DHCP-enabled network interfaces, when creating a bond profile with them, then we can still create the connection to match the port device based on the perm_hwaddr] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 06 October 2025 15:18:13 -0400 (0:00:00.182) 0:00:05.482 ******** ok: [managed-node4] => {} MSG: ########## Given two DHCP-enabled network interfaces, when creating a bond profile with them, then we can still create the connection to match the port device based on the perm_hwaddr ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 06 October 2025 15:18:13 -0400 (0:00:00.042) 0:00:05.525 ******** ok: [managed-node4] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Given two DHCP-enabled network interfaces, when creating a bond profile with them, then we can still create the connection to match the port device based on the perm_hwaddr" } ok: [managed-node4] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_test_interfaces_with_dhcp.yml", "tasks/assert_dhcp_device_present.yml" ] } ok: [managed-node4] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bond_profile.yml", "tasks/create_bond_port_match_by_mac.yml" ] } ok: [managed-node4] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_controller_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node4] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node4] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": "VARIABLE IS NOT DEFINED!: 'lsr_fail_debug' is undefined" } ok: [managed-node4] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_bond_profile+device.yml", "tasks/remove_test_interfaces_with_dhcp.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 06 October 2025 15:18:13 -0400 (0:00:00.233) 0:00:05.759 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node4 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 06 October 2025 15:18:13 -0400 (0:00:00.094) 0:00:05.854 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node4 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 06 October 2025 15:18:14 -0400 (0:00:00.072) 0:00:05.927 ******** ok: [managed-node4] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003207", "end": "2025-10-06 15:18:14.999938", "rc": 0, "start": "2025-10-06 15:18:14.996731" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 06 October 2025 15:18:15 -0400 (0:00:01.117) 0:00:07.044 ******** ok: [managed-node4] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 06 October 2025 15:18:15 -0400 (0:00:00.120) 0:00:07.165 ******** ok: [managed-node4] => {} MSG: current_interfaces: [u'eth0', u'eth1', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 06 October 2025 15:18:15 -0400 (0:00:00.110) 0:00:07.276 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml for managed-node4 statically imported: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_dhcp_device_present.yml for managed-node4 TASK [Install dnsmasq] ********************************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Monday 06 October 2025 15:18:15 -0400 (0:00:00.285) 0:00:07.561 ******** changed: [managed-node4] => { "attempts": 1, "changed": true, "changes": { "installed": [ "dnsmasq" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package dnsmasq.x86_64 0:2.76-17.el7_9.3 will be installed\n--> Processing Dependency: libnettle.so.4()(64bit) for package: dnsmasq-2.76-17.el7_9.3.x86_64\n--> Running transaction check\n---> Package nettle.x86_64 0:2.7.1-9.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n dnsmasq x86_64 2.76-17.el7_9.3 updates 281 k\nInstalling for dependencies:\n nettle x86_64 2.7.1-9.el7_9 updates 328 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 608 k\nInstalled size: 1.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.1 MB/s | 608 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : nettle-2.7.1-9.el7_9.x86_64 1/2 \n Installing : dnsmasq-2.76-17.el7_9.3.x86_64 2/2 \n Verifying : dnsmasq-2.76-17.el7_9.3.x86_64 1/2 \n Verifying : nettle-2.7.1-9.el7_9.x86_64 2/2 \n\nInstalled:\n dnsmasq.x86_64 0:2.76-17.el7_9.3 \n\nDependency Installed:\n nettle.x86_64 0:2.7.1-9.el7_9 \n\nComplete!\n" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:17 Monday 06 October 2025 15:18:29 -0400 (0:00:14.309) 0:00:21.870 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:26 Monday 06 October 2025 15:18:30 -0400 (0:00:00.103) 0:00:21.973 ******** ok: [managed-node4] => { "changed": false, "rc": 0, "results": [ "procps-ng-3.3.10-28.el7.x86_64 providing procps-ng is already installed" ] } TASK [Create test interfaces] ************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:35 Monday 06 October 2025 15:18:31 -0400 (0:00:01.003) 0:00:22.976 ******** ok: [managed-node4] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\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\n echo ERROR - could not add testbr\n ip addr\n exit 1\n fi\n sleep 1\n rc=0\n ip addr add 192.0.2.1/24 dev testbr || rc=\"$?\"\n if [ \"$rc\" != 0 ]; then\n echo NOTICE - could not add testbr - error code \"$rc\"\n continue\n fi\n ip -6 addr add 2001:DB8::1/32 dev testbr || rc=\"$?\"\n if [ \"$rc\" != 0 ]; then\n echo NOTICE - could not add testbr - error code \"$rc\"\n continue\n fi\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 if systemctl is-active firewalld; then\n for service in dhcp dhcpv6 dhcpv6-client; do\n if ! firewall-cmd --query-service=\"$service\"; then\n firewall-cmd --add-service \"$service\"\n fi\n done\n fi\n # NOTE: When running tests with a qemu managed node, the dhcp\n # used by qemu interferes with the dhcp used in the test, which\n # can cause the test to hang. Exclude the qemu interfaces from\n # using the test dhcp. Note that this only affects the qemu tests -\n # testing farm and other tests with \"real\" machines will have a\n # different mac address - the mac addresses used below are specific\n # to qemu virtual devices.\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 --dhcp-host 52:54:00:12:34:56,ignore --dhcp-host 52:54:00:12:34:57,ignore\nfi\n", "delta": "0:00:01.219178", "end": "2025-10-06 15:18:32.567899", "rc": 0, "start": "2025-10-06 15:18:31.348721" } STDERR: + exec + ip link add test1 type veth peer name test1p + ip link add test2 type veth peer name test2p ++ pgrep NetworkManager + '[' -n 578 ']' + nmcli d set test1 managed true + nmcli d set test2 managed true + nmcli d set test1p managed false + nmcli d set test2p managed false + ip link set test1p up + ip link set test2p up + ip link add name testbr type bridge forward_delay 0 ++ pgrep NetworkManager + '[' -n 578 ']' + nmcli d set testbr managed false + ip link set testbr up + timer=0 + ip addr show testbr + grep -q 'inet [1-9]' + let timer+=1 + '[' 1 -eq 30 ']' + sleep 1 + rc=0 + ip addr add 192.0.2.1/24 dev testbr + '[' 0 '!=' 0 ']' + ip -6 addr add 2001:DB8::1/32 dev testbr + '[' 0 '!=' 0 ']' + ip addr show testbr + grep -q 'inet [1-9]' + grep 'release 6' /etc/redhat-release + ip link set test1p master testbr + ip link set test2p master testbr + systemctl is-active firewalld unknown + 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 --dhcp-host 52:54:00:12:34:56,ignore --dhcp-host 52:54:00:12:34:57,ignore TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 October 2025 15:18:32 -0400 (0:00:01.571) 0:00:24.548 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface test1] ******************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 October 2025 15:18:32 -0400 (0:00:00.047) 0:00:24.596 ******** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1759778311.3628743, "block_size": 4096, "blocks": 0, "ctime": 1759778311.3628743, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17843, "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": 1759778311.3628743, "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 October 2025 15:18:33 -0400 (0:00:00.343) 0:00:24.940 ******** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 October 2025 15:18:33 -0400 (0:00:00.116) 0:00:25.057 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface test2] ******************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 October 2025 15:18:33 -0400 (0:00:00.062) 0:00:25.119 ******** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1759778311.3768742, "block_size": 4096, "blocks": 0, "ctime": 1759778311.3768742, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18004, "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": 1759778311.3768742, "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 October 2025 15:18:33 -0400 (0:00:00.601) 0:00:25.721 ******** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 06 October 2025 15:18:33 -0400 (0:00:00.050) 0:00:25.771 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_profile.yml for managed-node4 included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_port_match_by_mac.yml for managed-node4 TASK [Include network role] **************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_profile.yml:3 Monday 06 October 2025 15:18:34 -0400 (0:00:00.427) 0:00:26.199 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 October 2025 15:18:34 -0400 (0:00:00.244) 0:00:26.444 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 October 2025 15:18:34 -0400 (0:00:00.171) 0:00:26.615 ******** skipping: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 October 2025 15:18:34 -0400 (0:00:00.137) 0:00:26.753 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 October 2025 15:18:34 -0400 (0:00:00.103) 0:00:26.856 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 October 2025 15:18:34 -0400 (0:00:00.047) 0:00:26.904 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 October 2025 15:18:36 -0400 (0:00:01.865) 0:00:28.769 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 October 2025 15:18:39 -0400 (0:00:02.374) 0:00:31.143 ******** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 October 2025 15:18:39 -0400 (0:00:00.322) 0:00:31.466 ******** skipping: [managed-node4] => { "changed": false, "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 October 2025 15:18:39 -0400 (0:00:00.238) 0:00:31.705 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 October 2025 15:18:40 -0400 (0:00:00.259) 0:00:31.964 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 October 2025 15:18:40 -0400 (0:00:00.267) 0:00:32.232 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 October 2025 15:18:40 -0400 (0:00:00.183) 0:00:32.415 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 October 2025 15:18:40 -0400 (0:00:00.249) 0:00:32.664 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 October 2025 15:18:40 -0400 (0:00:00.185) 0:00:32.850 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 October 2025 15:18:41 -0400 (0:00:00.284) 0:00:33.134 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 October 2025 15:18:41 -0400 (0:00:00.119) 0:00:33.253 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 October 2025 15:18:41 -0400 (0:00:00.132) 0:00:33.386 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 October 2025 15:18:41 -0400 (0:00:00.157) 0:00:33.543 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 October 2025 15:18:43 -0400 (0:00:01.622) 0:00:35.165 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 October 2025 15:18:43 -0400 (0:00:00.118) 0:00:35.284 ******** skipping: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 October 2025 15:18:43 -0400 (0:00:00.098) 0:00:35.383 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 October 2025 15:18:43 -0400 (0:00:00.341) 0:00:35.724 ******** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "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": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 October 2025 15:18:45 -0400 (0:00:02.158) 0:00:37.883 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 October 2025 15:18:46 -0400 (0:00:00.205) 0:00:38.089 ******** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 October 2025 15:18:46 -0400 (0:00:00.249) 0:00:38.338 ******** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "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": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 October 2025 15:18:46 -0400 (0:00:00.296) 0:00:38.635 ******** skipping: [managed-node4] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 October 2025 15:18:46 -0400 (0:00:00.228) 0:00:38.864 ******** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_profile.yml:46 Monday 06 October 2025 15:18:48 -0400 (0:00:01.094) 0:00:39.959 ******** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "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": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 85db817f-1e7f-4672-b242-c037aa988dae (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 58840268-207e-47ae-b927-942e43bfc128 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 7c27a10d-4504-4d5b-b1e7-ec14185dc718 (not-active)" ] } } TASK [Retrieve perm_hwaddr using ethtool] ************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_port_match_by_mac.yml:3 Monday 06 October 2025 15:18:48 -0400 (0:00:00.241) 0:00:40.200 ******** ok: [managed-node4] => { "changed": false, "cmd": [ "cat", "/sys/class/net/test2/bonding_slave/perm_hwaddr" ], "delta": "0:00:00.002898", "end": "2025-10-06 15:18:48.842669", "failed_when_result": false, "rc": 0, "start": "2025-10-06 15:18:48.839771" } STDOUT: 9a:e5:3a:00:12:35 TASK [Set the MAC address variable] ******************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_port_match_by_mac.yml:9 Monday 06 October 2025 15:18:49 -0400 (0:00:00.740) 0:00:40.941 ******** ok: [managed-node4] => { "ansible_facts": { "mac": "9a:e5:3a:00:12:35" }, "changed": false } TASK [Display the retrieved MAC address] *************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_port_match_by_mac.yml:12 Monday 06 October 2025 15:18:49 -0400 (0:00:00.144) 0:00:41.086 ******** ok: [managed-node4] => {} MSG: Retrieved MAC address for test2: 9a:e5:3a:00:12:35 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 October 2025 15:18:49 -0400 (0:00:00.224) 0:00:41.310 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 October 2025 15:18:49 -0400 (0:00:00.342) 0:00:41.652 ******** skipping: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 October 2025 15:18:50 -0400 (0:00:00.285) 0:00:41.938 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 October 2025 15:18:50 -0400 (0:00:00.170) 0:00:42.109 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 October 2025 15:18:50 -0400 (0:00:00.174) 0:00:42.284 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 October 2025 15:18:51 -0400 (0:00:01.452) 0:00:43.736 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 October 2025 15:18:53 -0400 (0:00:01.621) 0:00:45.358 ******** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 October 2025 15:18:53 -0400 (0:00:00.261) 0:00:45.619 ******** skipping: [managed-node4] => { "changed": false, "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 October 2025 15:18:53 -0400 (0:00:00.206) 0:00:45.825 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 October 2025 15:18:54 -0400 (0:00:00.140) 0:00:45.966 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 October 2025 15:18:54 -0400 (0:00:00.133) 0:00:46.099 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 October 2025 15:18:54 -0400 (0:00:00.117) 0:00:46.217 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 October 2025 15:18:54 -0400 (0:00:00.156) 0:00:46.373 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 October 2025 15:18:54 -0400 (0:00:00.154) 0:00:46.528 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 October 2025 15:18:54 -0400 (0:00:00.228) 0:00:46.756 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 October 2025 15:18:54 -0400 (0:00:00.147) 0:00:46.903 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 October 2025 15:18:55 -0400 (0:00:00.156) 0:00:47.059 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 October 2025 15:18:55 -0400 (0:00:00.139) 0:00:47.198 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 October 2025 15:18:56 -0400 (0:00:00.751) 0:00:47.950 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 October 2025 15:18:56 -0400 (0:00:00.142) 0:00:48.093 ******** skipping: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 October 2025 15:18:56 -0400 (0:00:00.313) 0:00:48.407 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 October 2025 15:18:56 -0400 (0:00:00.199) 0:00:48.606 ******** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "test2", "mac": "9a:e5:3a:00:12:35", "name": "test2conn", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'test2conn': add connection test2conn, 7414c054-fb01-4878-8d28-d4cefa7f06e6 [004] #0, state:up persistent_state:present, 'test2conn': up connection test2conn, 7414c054-fb01-4878-8d28-d4cefa7f06e6 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 October 2025 15:19:00 -0400 (0:00:03.761) 0:00:52.368 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 October 2025 15:19:00 -0400 (0:00:00.271) 0:00:52.639 ******** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'test2conn': add connection test2conn, 7414c054-fb01-4878-8d28-d4cefa7f06e6", "[004] #0, state:up persistent_state:present, 'test2conn': up connection test2conn, 7414c054-fb01-4878-8d28-d4cefa7f06e6 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 October 2025 15:19:00 -0400 (0:00:00.228) 0:00:52.868 ******** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "test2", "mac": "9a:e5:3a:00:12:35", "name": "test2conn", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'test2conn': add connection test2conn, 7414c054-fb01-4878-8d28-d4cefa7f06e6\n[004] #0, state:up persistent_state:present, 'test2conn': up connection test2conn, 7414c054-fb01-4878-8d28-d4cefa7f06e6 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'test2conn': add connection test2conn, 7414c054-fb01-4878-8d28-d4cefa7f06e6", "[004] #0, state:up persistent_state:present, 'test2conn': up connection test2conn, 7414c054-fb01-4878-8d28-d4cefa7f06e6 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 October 2025 15:19:01 -0400 (0:00:00.269) 0:00:53.137 ******** skipping: [managed-node4] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 October 2025 15:19:01 -0400 (0:00:00.267) 0:00:53.405 ******** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 06 October 2025 15:19:02 -0400 (0:00:00.858) 0:00:54.263 ******** statically imported: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_controller_device_present.yml for managed-node4 included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node4 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 06 October 2025 15:19:02 -0400 (0:00:00.329) 0:00:54.592 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node4 TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 06 October 2025 15:19:03 -0400 (0:00:00.474) 0:00:55.067 ******** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1759778325.5469432, "block_size": 4096, "blocks": 0, "ctime": 1759778325.5339432, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18419, "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": 1759778325.5339432, "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 06 October 2025 15:19:03 -0400 (0:00:00.810) 0:00:55.878 ******** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 06 October 2025 15:19:04 -0400 (0:00:00.288) 0:00:56.167 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node4 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 06 October 2025 15:19:04 -0400 (0:00:00.312) 0:00:56.480 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 06 October 2025 15:19:04 -0400 (0:00:00.136) 0:00:56.616 ******** ok: [managed-node4] => { "changed": false, "stat": { "atime": 1759778337.5030012, "block_size": 4096, "blocks": 8, "ctime": 1759778337.5030012, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1759778337.5030012, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-test2conn", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 309, "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 06 October 2025 15:19:05 -0400 (0:00:00.778) 0:00:57.394 ******** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 06 October 2025 15:19:05 -0400 (0:00:00.248) 0:00:57.643 ******** ok: [managed-node4] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep test2conn | grep /etc", "delta": "0:00:00.031628", "end": "2025-10-06 15:19:06.240106", "rc": 0, "start": "2025-10-06 15:19:06.208478" } STDOUT: test2conn /etc/sysconfig/network-scripts/ifcfg-test2conn TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 06 October 2025 15:19:06 -0400 (0:00:00.706) 0:00:58.349 ******** ok: [managed-node4] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-test2conn] ********************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 06 October 2025 15:19:06 -0400 (0:00:00.263) 0:00:58.613 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-test2conn] ******************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 06 October 2025 15:19:06 -0400 (0:00:00.149) 0:00:58.762 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-test2conn] ************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 06 October 2025 15:19:06 -0400 (0:00:00.130) 0:00:58.893 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-test2conn] *********************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 06 October 2025 15:19:07 -0400 (0:00:00.150) 0:00:59.044 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'test2conn'] ************************ task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 06 October 2025 15:19:07 -0400 (0:00:00.145) 0:00:59.190 ******** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'test2conn'] ******* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 06 October 2025 15:19:07 -0400 (0:00:00.190) 0:00:59.380 ******** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in test2conn] ************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 06 October 2025 15:19:07 -0400 (0:00:00.138) 0:00:59.518 ******** ok: [managed-node4] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 06 October 2025 15:19:07 -0400 (0:00:00.230) 0:00:59.748 ******** TASK [Success in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then we can still create the connection to match the port device based on the perm_hwaddr'] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 06 October 2025 15:19:08 -0400 (0:00:00.206) 0:00:59.955 ******** ok: [managed-node4] => {} MSG: +++++ Success in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then we can still create the connection to match the port device based on the perm_hwaddr' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 06 October 2025 15:19:08 -0400 (0:00:00.303) 0:01:00.258 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_bond_profile+device.yml for managed-node4 included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for managed-node4 included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 06 October 2025 15:19:08 -0400 (0:00:00.650) 0:01:00.909 ******** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node4 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 06 October 2025 15:19:09 -0400 (0:00:00.541) 0:01:01.450 ******** skipping: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 06 October 2025 15:19:09 -0400 (0:00:00.277) 0:01:01.727 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 06 October 2025 15:19:09 -0400 (0:00:00.150) 0:01:01.878 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 06 October 2025 15:19:10 -0400 (0:00:00.170) 0:01:02.049 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 06 October 2025 15:19:11 -0400 (0:00:01.395) 0:01:03.445 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 06 October 2025 15:19:13 -0400 (0:00:02.195) 0:01:05.641 ******** ok: [managed-node4] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 06 October 2025 15:19:14 -0400 (0:00:00.490) 0:01:06.131 ******** skipping: [managed-node4] => { "changed": false, "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 06 October 2025 15:19:14 -0400 (0:00:00.228) 0:01:06.360 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 06 October 2025 15:19:14 -0400 (0:00:00.123) 0:01:06.483 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 06 October 2025 15:19:14 -0400 (0:00:00.117) 0:01:06.601 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 06 October 2025 15:19:14 -0400 (0:00:00.211) 0:01:06.813 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 06 October 2025 15:19:15 -0400 (0:00:00.343) 0:01:07.157 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 06 October 2025 15:19:15 -0400 (0:00:00.271) 0:01:07.428 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 06 October 2025 15:19:15 -0400 (0:00:00.336) 0:01:07.765 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 06 October 2025 15:19:16 -0400 (0:00:00.279) 0:01:08.044 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 06 October 2025 15:19:16 -0400 (0:00:00.290) 0:01:08.334 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 06 October 2025 15:19:16 -0400 (0:00:00.378) 0:01:08.713 ******** ok: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 06 October 2025 15:19:18 -0400 (0:00:01.417) 0:01:10.131 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 06 October 2025 15:19:18 -0400 (0:00:00.294) 0:01:10.425 ******** skipping: [managed-node4] => { "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: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 06 October 2025 15:19:18 -0400 (0:00:00.174) 0:01:10.599 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 06 October 2025 15:19:19 -0400 (0:00:00.376) 0:01:10.976 ******** changed: [managed-node4] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 06 October 2025 15:19:21 -0400 (0:00:02.213) 0:01:13.189 ******** skipping: [managed-node4] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 06 October 2025 15:19:21 -0400 (0:00:00.111) 0:01:13.301 ******** ok: [managed-node4] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 06 October 2025 15:19:21 -0400 (0:00:00.240) 0:01:13.541 ******** ok: [managed-node4] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 06 October 2025 15:19:21 -0400 (0:00:00.283) 0:01:13.824 ******** skipping: [managed-node4] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 06 October 2025 15:19:22 -0400 (0:00:00.292) 0:01:14.117 ******** ok: [managed-node4] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_bond_profile+device.yml:22 Monday 06 October 2025 15:19:23 -0400 (0:00:01.077) 0:01:15.194 ******** ok: [managed-node4] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.011382", "end": "2025-10-06 15:19:23.837898", "failed_when_result": false, "rc": 1, "start": "2025-10-06 15:19:23.826516" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Monday 06 October 2025 15:19:24 -0400 (0:00:00.769) 0:01:15.964 ******** ok: [managed-node4] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nrc=0\nip link delete test1 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test1 - error \"$rc\"\nfi\nip link delete test2 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test2 - error \"$rc\"\nfi\nip link delete testbr || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link testbr - error \"$rc\"\nfi\n", "delta": "0:00:00.047479", "end": "2025-10-06 15:19:24.582018", "rc": 0, "start": "2025-10-06 15:19:24.534539" } STDERR: + exec + rc=0 + ip link delete test1 + '[' 0 '!=' 0 ']' + ip link delete test2 + '[' 0 '!=' 0 ']' + ip link delete testbr + '[' 0 '!=' 0 ']' TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:23 Monday 06 October 2025 15:19:24 -0400 (0:00:00.868) 0:01:16.833 ******** ok: [managed-node4] => { "changed": false, "cmd": "set -uxo pipefail\nexec 1>&2\npkill -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\nfi\nif systemctl is-active firewalld; then\n for service in dhcp dhcpv6 dhcpv6-client; do\n if firewall-cmd --query-service=\"$service\"; then\n firewall-cmd --remove-service \"$service\"\n fi\n done\nfi\n", "delta": "0:00:00.027009", "end": "2025-10-06 15:19:25.589171", "rc": 0, "start": "2025-10-06 15:19:25.562162" } STDERR: + exec + pkill -F /run/dhcp_testbr.pid + rm -rf /run/dhcp_testbr.pid + rm -rf /run/dhcp_testbr.lease + grep 'release 6' /etc/redhat-release + systemctl is-active firewalld unknown TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 06 October 2025 15:19:25 -0400 (0:00:00.912) 0:01:17.746 ******** ok: [managed-node4] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006797", "end": "2025-10-06 15:19:26.427909", "rc": 0, "start": "2025-10-06 15:19:26.421112" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:4a:19:9f:ca:29 brd ff:ff:ff:ff:ff:ff inet 10.31.42.106/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3185sec preferred_lft 3185sec inet6 fe80::c4a:19ff:fe9f:ca29/64 scope link valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:23:d5:a6:af:cf brd ff:ff:ff:ff:ff:ff inet 10.31.42.26/22 brd 10.31.43.255 scope global noprefixroute dynamic eth1 valid_lft 3184sec preferred_lft 3184sec inet6 fe80::8534:c18c:4afc:4761/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 default via 10.31.40.1 dev eth1 proto dhcp metric 101 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.106 metric 100 10.31.40.0/22 dev eth1 proto kernel scope link src 10.31.42.26 metric 101 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth1 proto kernel metric 101 mtu 9001 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search testing-farm.us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 06 October 2025 15:19:26 -0400 (0:00:00.794) 0:01:18.540 ******** ok: [managed-node4] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.579899", "end": "2025-10-06 15:19:27.606143", "rc": 0, "start": "2025-10-06 15:19:27.026244" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:6:1121:bead:cafe:feed:fed5 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:6:1121:bead:cafe:feed:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2606:f640:6000:651::8 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:5270:306c:35d6:1f81 wildcard.fedoraproject.org mirrors.fedoraproject.org 2606:f640:6000:651::7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:5270:306c:35d6:1f81 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2606:f640:6000:651::8 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:6:1121:bead:cafe:feed:fed5 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2606:f640:6000:651::7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:6:1121:bead:cafe:feed:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1826 0 --:--:-- --:--:-- --:--:-- 1837 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 751 0 --:--:-- --:--:-- --:--:-- 751 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node4 : ok=82 changed=4 unreachable=0 failed=0 skipped=61 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Monday 06 October 2025 15:19:27 -0400 (0:00:01.128) 0:01:19.669 ******** =============================================================================== Install dnsmasq -------------------------------------------------------- 14.31s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 3.76s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 2.37s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.21s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 2.20s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.16s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 1.91s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tests_bond_port_match_by_mac_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.62s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create test interfaces -------------------------------------------------- 1.57s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:35 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.42s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Check which services are running ---- 1.40s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Check if system is ostree ----------------------------------------------- 1.21s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Verify DNS and network connectivity ------------------------------------- 1.13s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Gather current interface info ------------------------------------------- 1.12s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.09s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.08s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Install pgrep, sysctl --------------------------------------------------- 1.00s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:26