ansible-playbook [core 2.17.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-XIT executable location = /usr/local/bin/ansible-playbook python version = 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.13) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf Skipping callback 'debug', 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 '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_ignore_auto_dns_nm.yml ***************************************** 2 plays in /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ignore_auto_dns_nm.yml PLAY [Run playbook 'playbooks/tests_ignore_auto_dns.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ignore_auto_dns_nm.yml:6 Thursday 26 June 2025 15:15:20 -0400 (0:00:00.081) 0:00:00.081 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ignore_auto_dns_nm.yml:9 Thursday 26 June 2025 15:15:22 -0400 (0:00:01.970) 0:00:02.052 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 26 June 2025 15:15:22 -0400 (0:00:00.077) 0:00:02.130 ********* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 26 June 2025 15:15:23 -0400 (0:00:00.784) 0:00:02.914 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 26 June 2025 15:15:24 -0400 (0:00:00.842) 0:00:03.757 ********* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 26 June 2025 15:15:24 -0400 (0:00:00.075) 0:00:03.834 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ignore_auto_dns_nm.yml:11 Thursday 26 June 2025 15:15:24 -0400 (0:00:00.048) 0:00:03.882 ********* ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test ipv4_ignore_auto_dns and ipv6_ignore_auto_dns settings] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:3 Thursday 26 June 2025 15:15:24 -0400 (0:00:00.062) 0:00:03.944 ********* ok: [managed-node1] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:10 Thursday 26 June 2025 15:15:25 -0400 (0:00:01.101) 0:00:05.047 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 26 June 2025 15:15:25 -0400 (0:00:00.068) 0:00:05.115 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 26 June 2025 15:15:25 -0400 (0:00:00.069) 0:00:05.186 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003449", "end": "2025-06-26 15:15:26.143451", "rc": 0, "start": "2025-06-26 15:15:26.140002" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 26 June 2025 15:15:26 -0400 (0:00:00.740) 0:00:05.927 ********* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 26 June 2025 15:15:26 -0400 (0:00:00.093) 0:00:06.021 ********* ok: [managed-node1] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:12 Thursday 26 June 2025 15:15:26 -0400 (0:00:00.095) 0:00:06.116 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 26 June 2025 15:15:26 -0400 (0:00:00.127) 0:00:06.244 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 26 June 2025 15:15:26 -0400 (0:00:00.087) 0:00:06.331 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 26 June 2025 15:15:26 -0400 (0:00:00.059) 0:00:06.390 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 26 June 2025 15:15:26 -0400 (0:00:00.102) 0:00:06.493 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 26 June 2025 15:15:26 -0400 (0:00:00.101) 0:00:06.595 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003280", "end": "2025-06-26 15:15:27.410793", "rc": 0, "start": "2025-06-26 15:15:27.407513" } STDOUT: eth0 eth1 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 26 June 2025 15:15:27 -0400 (0:00:00.615) 0:00:07.211 ********* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "eth1", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 26 June 2025 15:15:27 -0400 (0:00:00.085) 0:00:07.296 ********* ok: [managed-node1] => {} MSG: current_interfaces: ['eth0', 'eth1', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 26 June 2025 15:15:27 -0400 (0:00:00.078) 0:00:07.374 ********* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 26 June 2025 15:15:29 -0400 (0:00:01.974) 0:00:09.349 ********* ok: [managed-node1] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.006685", "end": "2025-06-26 15:15:30.079687", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2025-06-26 15:15:30.073002" } ok: [managed-node1] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003756", "end": "2025-06-26 15:15:30.633001", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2025-06-26 15:15:30.629245" } ok: [managed-node1] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004334", "end": "2025-06-26 15:15:31.074890", "item": "ip link set ethtest0 up", "rc": 0, "start": "2025-06-26 15:15:31.070556" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 26 June 2025 15:15:31 -0400 (0:00:01.509) 0:00:10.858 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.021702", "end": "2025-06-26 15:15:31.625565", "rc": 0, "start": "2025-06-26 15:15:31.603863" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 26 June 2025 15:15:31 -0400 (0:00:00.568) 0:00:11.426 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 26 June 2025 15:15:31 -0400 (0:00:00.074) 0:00:11.501 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 26 June 2025 15:15:31 -0400 (0:00:00.085) 0:00:11.586 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 26 June 2025 15:15:31 -0400 (0:00:00.062) 0:00:11.649 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 26 June 2025 15:15:32 -0400 (0:00:00.084) 0:00:11.734 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:16 Thursday 26 June 2025 15:15:32 -0400 (0:00:00.065) 0:00:11.800 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 26 June 2025 15:15:32 -0400 (0:00:00.102) 0:00:11.905 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 26 June 2025 15:15:32 -0400 (0:00:00.128) 0:00:12.033 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750965330.0770996, "block_size": 4096, "blocks": 0, "ctime": 1750965330.0770996, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35962, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1750965330.0770996, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 26 June 2025 15:15:32 -0400 (0:00:00.574) 0:00:12.608 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 26 June 2025 15:15:33 -0400 (0:00:00.092) 0:00:12.700 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 26 June 2025 15:15:33 -0400 (0:00:00.135) 0:00:12.836 ********* skipping: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 26 June 2025 15:15:33 -0400 (0:00:00.176) 0:00:13.013 ********* skipping: [managed-node1] => { "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: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 26 June 2025 15:15:33 -0400 (0:00:00.105) 0:00:13.118 ********* skipping: [managed-node1] => { "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: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 26 June 2025 15:15:33 -0400 (0:00:00.124) 0:00:13.242 ********* ok: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 26 June 2025 15:15:37 -0400 (0:00:03.502) 0:00:16.744 ********* ok: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 26 June 2025 15:15:39 -0400 (0:00:02.133) 0:00:18.877 ********* ok: [managed-node1] => {} 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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 26 June 2025 15:15:39 -0400 (0:00:00.202) 0:00:19.082 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 26 June 2025 15:15:39 -0400 (0:00:00.171) 0:00:19.254 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 26 June 2025 15:15:39 -0400 (0:00:00.192) 0:00:19.446 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 26 June 2025 15:15:39 -0400 (0:00:00.202) 0:00:19.649 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 26 June 2025 15:15:40 -0400 (0:00:00.327) 0:00:19.976 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 26 June 2025 15:15:40 -0400 (0:00:00.614) 0:00:20.591 ********* skipping: [managed-node1] => { "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 : Install packages] ******************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 26 June 2025 15:15:41 -0400 (0:00:00.346) 0:00:20.938 ********* skipping: [managed-node1] => { "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: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 26 June 2025 15:15:41 -0400 (0:00:00.527) 0:00:21.466 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 26 June 2025 15:15:41 -0400 (0:00:00.212) 0:00:21.678 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 26 June 2025 15:15:42 -0400 (0:00:00.156) 0:00:21.835 ********* skipping: [managed-node1] => { "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: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 26 June 2025 15:15:42 -0400 (0:00:00.225) 0:00:22.061 ********* ok: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 26 June 2025 15:15:43 -0400 (0:00:01.523) 0:00:23.584 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 26 June 2025 15:15:44 -0400 (0:00:00.144) 0:00:23.729 ********* skipping: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 26 June 2025 15:15:44 -0400 (0:00:00.113) 0:00:23.842 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 26 June 2025 15:15:44 -0400 (0:00:00.077) 0:00:23.919 ********* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24" ], "auto6": true, "ipv4_ignore_auto_dns": false, "ipv6_ignore_auto_dns": true }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 3c57d211-71fb-410c-8966-c9d867f9cac6 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 3c57d211-71fb-410c-8966-c9d867f9cac6 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 26 June 2025 15:15:45 -0400 (0:00:01.738) 0:00:25.658 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 26 June 2025 15:15:46 -0400 (0:00:00.138) 0:00:25.796 ********* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 3c57d211-71fb-410c-8966-c9d867f9cac6", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 3c57d211-71fb-410c-8966-c9d867f9cac6 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 26 June 2025 15:15:46 -0400 (0:00:00.128) 0:00:25.924 ********* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24" ], "auto6": true, "ipv4_ignore_auto_dns": false, "ipv6_ignore_auto_dns": true }, "name": "ethtest0", "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, 'ethtest0': add connection ethtest0, 3c57d211-71fb-410c-8966-c9d867f9cac6\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 3c57d211-71fb-410c-8966-c9d867f9cac6 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 3c57d211-71fb-410c-8966-c9d867f9cac6", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 3c57d211-71fb-410c-8966-c9d867f9cac6 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 26 June 2025 15:15:46 -0400 (0:00:00.192) 0:00:26.117 ********* skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 26 June 2025 15:15:46 -0400 (0:00:00.153) 0:00:26.271 ********* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Get the nmcli ipv4.ignore-auto-dns setting] ****************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:37 Thursday 26 June 2025 15:15:47 -0400 (0:00:01.218) 0:00:27.490 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.ignore-auto-dns", "c", "show", "ethtest0" ], "delta": "0:00:00.018227", "end": "2025-06-26 15:15:48.283254", "rc": 0, "start": "2025-06-26 15:15:48.265027" } STDOUT: ipv4.ignore-auto-dns: no TASK [Get the nmcli ipv6.ignore-auto-dns setting] ****************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:42 Thursday 26 June 2025 15:15:48 -0400 (0:00:00.619) 0:00:28.109 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.ignore-auto-dns", "c", "show", "ethtest0" ], "delta": "0:00:00.018015", "end": "2025-06-26 15:15:48.865322", "rc": 0, "start": "2025-06-26 15:15:48.847307" } STDOUT: ipv6.ignore-auto-dns: yes TASK [Assert that the setting ipv4.ignore-auto-dns is 'no'] ******************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:47 Thursday 26 June 2025 15:15:49 -0400 (0:00:00.608) 0:00:28.718 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the setting ipv6.ignore-auto-dns is 'yes'] ******************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:53 Thursday 26 June 2025 15:15:49 -0400 (0:00:00.115) 0:00:28.833 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Bring down test devices and profiles] ************************************ task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:64 Thursday 26 June 2025 15:15:49 -0400 (0:00:00.102) 0:00:28.936 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 26 June 2025 15:15:49 -0400 (0:00:00.266) 0:00:29.202 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 26 June 2025 15:15:49 -0400 (0:00:00.176) 0:00:29.378 ********* skipping: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 26 June 2025 15:15:49 -0400 (0:00:00.204) 0:00:29.582 ********* skipping: [managed-node1] => { "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: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 26 June 2025 15:15:50 -0400 (0:00:00.160) 0:00:29.743 ********* skipping: [managed-node1] => { "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: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 26 June 2025 15:15:50 -0400 (0:00:00.166) 0:00:29.910 ********* ok: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 26 June 2025 15:15:53 -0400 (0:00:03.016) 0:00:32.927 ********* ok: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 26 June 2025 15:15:54 -0400 (0:00:01.749) 0:00:34.677 ********* ok: [managed-node1] => {} 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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 26 June 2025 15:15:55 -0400 (0:00:00.242) 0:00:34.919 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 26 June 2025 15:15:55 -0400 (0:00:00.184) 0:00:35.104 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 26 June 2025 15:15:55 -0400 (0:00:00.223) 0:00:35.328 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 26 June 2025 15:15:55 -0400 (0:00:00.171) 0:00:35.499 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 26 June 2025 15:15:56 -0400 (0:00:00.353) 0:00:35.853 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 26 June 2025 15:15:56 -0400 (0:00:00.223) 0:00:36.077 ********* skipping: [managed-node1] => { "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 : Install packages] ******************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 26 June 2025 15:15:56 -0400 (0:00:00.271) 0:00:36.349 ********* skipping: [managed-node1] => { "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: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 26 June 2025 15:15:57 -0400 (0:00:00.418) 0:00:36.767 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 26 June 2025 15:15:57 -0400 (0:00:00.241) 0:00:37.009 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 26 June 2025 15:15:57 -0400 (0:00:00.225) 0:00:37.235 ********* skipping: [managed-node1] => { "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: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 26 June 2025 15:15:57 -0400 (0:00:00.308) 0:00:37.544 ********* ok: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 26 June 2025 15:15:59 -0400 (0:00:01.149) 0:00:38.693 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 26 June 2025 15:15:59 -0400 (0:00:00.147) 0:00:38.840 ********* skipping: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 26 June 2025 15:15:59 -0400 (0:00:00.112) 0:00:38.952 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 26 June 2025 15:15:59 -0400 (0:00:00.131) 0:00:39.084 ********* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 26 June 2025 15:16:00 -0400 (0:00:01.095) 0:00:40.180 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 26 June 2025 15:16:00 -0400 (0:00:00.169) 0:00:40.349 ********* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 26 June 2025 15:16:00 -0400 (0:00:00.163) 0:00:40.513 ********* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "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-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 26 June 2025 15:16:01 -0400 (0:00:00.222) 0:00:40.735 ********* skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 26 June 2025 15:16:01 -0400 (0:00:00.168) 0:00:40.904 ********* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Delete interface - 'ethtest0'] ******************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:72 Thursday 26 June 2025 15:16:01 -0400 (0:00:00.759) 0:00:41.663 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 26 June 2025 15:16:02 -0400 (0:00:00.189) 0:00:41.853 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011110", "end": "2025-06-26 15:16:02.643098", "rc": 0, "start": "2025-06-26 15:16:02.631988" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:74 Thursday 26 June 2025 15:16:02 -0400 (0:00:00.688) 0:00:42.542 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 26 June 2025 15:16:03 -0400 (0:00:00.252) 0:00:42.795 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 26 June 2025 15:16:03 -0400 (0:00:00.292) 0:00:43.087 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 26 June 2025 15:16:04 -0400 (0:00:00.677) 0:00:43.765 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_absent.yml'] **************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:76 Thursday 26 June 2025 15:16:04 -0400 (0:00:00.259) 0:00:44.025 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 26 June 2025 15:16:04 -0400 (0:00:00.374) 0:00:44.399 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 26 June 2025 15:16:05 -0400 (0:00:00.329) 0:00:44.729 ********* ok: [managed-node1] => { "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-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 26 June 2025 15:16:05 -0400 (0:00:00.216) 0:00:44.945 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 26 June 2025 15:16:06 -0400 (0:00:00.789) 0:00:45.735 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 26 June 2025 15:16:06 -0400 (0:00:00.198) 0:00:45.933 ********* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.019311", "end": "2025-06-26 15:16:06.729075", "rc": 1, "start": "2025-06-26 15:16:06.709764" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 26 June 2025 15:16:06 -0400 (0:00:00.692) 0:00:46.625 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 26 June 2025 15:16:07 -0400 (0:00:00.257) 0:00:46.883 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 26 June 2025 15:16:07 -0400 (0:00:00.222) 0:00:47.106 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 26 June 2025 15:16:07 -0400 (0:00:00.163) 0:00:47.271 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 26 June 2025 15:16:07 -0400 (0:00:00.189) 0:00:47.461 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 26 June 2025 15:16:07 -0400 (0:00:00.193) 0:00:47.655 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:80 Thursday 26 June 2025 15:16:08 -0400 (0:00:00.149) 0:00:47.804 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 26 June 2025 15:16:08 -0400 (0:00:00.280) 0:00:48.085 ********* ok: [managed-node1] => { "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.009222", "end": "2025-06-26 15:16:08.931350", "rc": 0, "start": "2025-06-26 15:16:08.922128" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:b3:56:da:5f:25 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.10.42/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3124sec preferred_lft 3124sec inet6 fe80::10b3:56ff:feda:5f25/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:32:fc:95:f0:51 brd ff:ff:ff:ff:ff:ff altname enX1 inet 10.31.11.103/22 brd 10.31.11.255 scope global dynamic noprefixroute eth1 valid_lft 3124sec preferred_lft 3124sec inet6 fe80::1032:fcff:fe95:f051/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.42 metric 100 default via 10.31.8.1 dev eth1 proto dhcp src 10.31.11.103 metric 101 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.42 metric 100 10.31.8.0/22 dev eth1 proto kernel scope link src 10.31.11.103 metric 101 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev eth1 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search testing-farm.us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 26 June 2025 15:16:09 -0400 (0:00:00.786) 0:00:48.871 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node1 : ok=62 changed=2 unreachable=0 failed=0 skipped=51 rescued=0 ignored=1 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 15:16:09 -0400 (0:00:00.088) 0:00:48.960 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.50s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 3.02s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 2.13s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 1.97s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.97s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ignore_auto_dns_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.74s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.52s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Create veth interface ethtest0 ------------------------------------------ 1.51s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.22s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.15s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 1.10s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ignore_auto_dns.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.10s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Check if system is ostree ----------------------------------------------- 0.84s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Stat profile file ------------------------------------------------------- 0.79s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Check routes and DNS ---------------------------------------------------- 0.79s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Gather the minimum subset of ansible_facts required by the network role test --- 0.78s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.76s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Gather current interface info ------------------------------------------- 0.74s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Get NM profile info ----------------------------------------------------- 0.69s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25