ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-vC4 executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Friday 07 February 2025 15:33:09 -0500 (0:00:00.013) 0:00:00.013 ******* ok: [managed-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Friday 07 February 2025 15:33:10 -0500 (0:00:01.166) 0:00:01.180 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 07 February 2025 15:33:10 -0500 (0:00:00.030) 0:00:01.211 ******* ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 07 February 2025 15:33:11 -0500 (0:00:00.596) 0:00:01.807 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 07 February 2025 15:33:11 -0500 (0:00:00.473) 0:00:02.281 ******* ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 07 February 2025 15:33:11 -0500 (0:00:00.022) 0:00:02.304 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 07 February 2025 15:33:11 -0500 (0:00:00.017) 0:00:02.321 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 07 February 2025 15:33:11 -0500 (0:00:00.052) 0:00:02.373 ******* ok: [managed-node3] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 07 February 2025 15:33:12 -0500 (0:00:00.457) 0:00:02.830 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 07 February 2025 15:33:12 -0500 (0:00:00.014) 0:00:02.845 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 07 February 2025 15:33:12 -0500 (0:00:00.013) 0:00:02.859 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.238872", "end": "2025-02-07 15:33:12.640465", "rc": 0, "start": "2025-02-07 15:33:12.401593" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 07 February 2025 15:33:12 -0500 (0:00:00.608) 0:00:03.467 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Friday 07 February 2025 15:33:12 -0500 (0:00:00.021) 0:00:03.488 ******* ok: [managed-node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 07 February 2025 15:33:12 -0500 (0:00:00.027) 0:00:03.515 ******* ok: [managed-node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 07 February 2025 15:33:13 -0500 (0:00:00.806) 0:00:04.322 ******* ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 07 February 2025 15:33:13 -0500 (0:00:00.039) 0:00:04.362 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:33:13 -0500 (0:00:00.066) 0:00:04.429 ******* ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:33:13 -0500 (0:00:00.055) 0:00:04.484 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:33:13 -0500 (0:00:00.111) 0:00:04.595 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:33:13 -0500 (0:00:00.081) 0:00:04.677 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:33:13 -0500 (0:00:00.083) 0:00:04.760 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003208", "end": "2025-02-07 15:33:14.421090", "rc": 0, "start": "2025-02-07 15:33:14.417882" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:33:14 -0500 (0:00:00.476) 0:00:05.236 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:33:14 -0500 (0:00:00.059) 0:00:05.295 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:33:14 -0500 (0:00:00.058) 0:00:05.354 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 07 February 2025 15:33:14 -0500 (0:00:00.080) 0:00:05.435 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007752", "end": "2025-02-07 15:33:15.043283", "rc": 1, "start": "2025-02-07 15:33:15.035531" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:33:15 -0500 (0:00:00.426) 0:00:05.861 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:33:15 -0500 (0:00:00.062) 0:00:05.924 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:33:15 -0500 (0:00:00.402) 0:00:06.326 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:33:15 -0500 (0:00:00.039) 0:00:06.366 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:33:15 -0500 (0:00:00.056) 0:00:06.423 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:15 -0500 (0:00:00.089) 0:00:06.512 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:15 -0500 (0:00:00.170) 0:00:06.682 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:16 -0500 (0:00:00.080) 0:00:06.763 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:16 -0500 (0:00:00.055) 0:00:06.818 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:16 -0500 (0:00:00.056) 0:00:06.875 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:18 -0500 (0:00:02.025) 0:00:08.900 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:20 -0500 (0:00:01.976) 0:00:10.876 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:20 -0500 (0:00:00.062) 0:00:10.939 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:20 -0500 (0:00:00.061) 0:00:11.001 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:20 -0500 (0:00:00.051) 0:00:11.053 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:20 -0500 (0:00:00.053) 0:00:11.106 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:20 -0500 (0:00:00.062) 0:00:11.168 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:20 -0500 (0:00:00.055) 0:00:11.224 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:20 -0500 (0:00:00.076) 0:00:11.300 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:20 -0500 (0:00:00.135) 0:00:11.435 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:20 -0500 (0:00:00.165) 0:00:11.601 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:20 -0500 (0:00:00.076) 0:00:11.677 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:21 -0500 (0:00:00.104) 0:00:11.782 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:21 -0500 (0:00:00.085) 0:00:11.867 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:21 -0500 (0:00:00.068) 0:00:11.936 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:22 -0500 (0:00:00.868) 0:00:12.805 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpz8_fvkft" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:22 -0500 (0:00:00.414) 0:00:13.219 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:23 -0500 (0:00:00.881) 0:00:14.101 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:23 -0500 (0:00:00.092) 0:00:14.193 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:23 -0500 (0:00:00.105) 0:00:14.299 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:23 -0500 (0:00:00.084) 0:00:14.384 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:23 -0500 (0:00:00.083) 0:00:14.467 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:33:24 -0500 (0:00:00.605) 0:00:15.073 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:33:24 -0500 (0:00:00.124) 0:00:15.198 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 15:33:24 -0500 (0:00:00.249) 0:00:15.447 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:33:24 -0500 (0:00:00.186) 0:00:15.634 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:33:24 -0500 (0:00:00.099) 0:00:15.734 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960403.241285, "block_size": 4096, "blocks": 8, "ctime": 1738960403.241285, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738960403.241285, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:33:25 -0500 (0:00:00.416) 0:00:16.150 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:33:25 -0500 (0:00:00.082) 0:00:16.233 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018579", "end": "2025-02-07 15:33:25.881478", "rc": 1, "start": "2025-02-07 15:33:25.862899" } 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:33:25 -0500 (0:00:00.472) 0:00:16.706 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:33:26 -0500 (0:00:00.054) 0:00:16.761 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003024", "end": "2025-02-07 15:33:26.334440", "rc": 0, "start": "2025-02-07 15:33:26.331416" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:33:26 -0500 (0:00:00.425) 0:00:17.186 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:33:26 -0500 (0:00:00.101) 0:00:17.288 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003070", "end": "2025-02-07 15:33:26.912387", "rc": 0, "start": "2025-02-07 15:33:26.909317" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:33:26 -0500 (0:00:00.453) 0:00:17.742 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 15:33:27 -0500 (0:00:00.092) 0:00:17.834 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 15:33:27 -0500 (0:00:00.088) 0:00:17.922 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 15:33:27 -0500 (0:00:00.086) 0:00:18.009 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:33:27 -0500 (0:00:00.071) 0:00:18.080 ******* skipping: [managed-node3] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:33:27 -0500 (0:00:00.065) 0:00:18.146 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:33:27 -0500 (0:00:00.064) 0:00:18.211 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:33:27 -0500 (0:00:00.173) 0:00:18.384 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034810", "end": "2025-02-07 15:33:27.977472", "rc": 1, "start": "2025-02-07 15:33:27.942662" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 07 February 2025 15:33:28 -0500 (0:00:00.422) 0:00:18.806 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:33:28 -0500 (0:00:00.126) 0:00:18.932 ******* ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:33:28 -0500 (0:00:00.099) 0:00:19.031 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:33:28 -0500 (0:00:00.227) 0:00:19.259 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:33:28 -0500 (0:00:00.113) 0:00:19.372 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:33:28 -0500 (0:00:00.098) 0:00:19.471 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003269", "end": "2025-02-07 15:33:29.031912", "rc": 0, "start": "2025-02-07 15:33:29.028643" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:33:29 -0500 (0:00:00.384) 0:00:19.856 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:33:29 -0500 (0:00:00.058) 0:00:19.914 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:33:29 -0500 (0:00:00.056) 0:00:19.971 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 07 February 2025 15:33:29 -0500 (0:00:00.082) 0:00:20.054 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005791", "end": "2025-02-07 15:33:29.617202", "rc": 1, "start": "2025-02-07 15:33:29.611411" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:33:29 -0500 (0:00:00.422) 0:00:20.476 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:33:29 -0500 (0:00:00.074) 0:00:20.551 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:33:30 -0500 (0:00:00.415) 0:00:20.967 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:33:30 -0500 (0:00:00.108) 0:00:21.075 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 07 February 2025 15:33:30 -0500 (0:00:00.132) 0:00:21.208 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:30 -0500 (0:00:00.153) 0:00:21.362 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:30 -0500 (0:00:00.161) 0:00:21.523 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:30 -0500 (0:00:00.095) 0:00:21.619 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:30 -0500 (0:00:00.090) 0:00:21.710 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:31 -0500 (0:00:00.084) 0:00:21.794 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:32 -0500 (0:00:01.836) 0:00:23.631 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:34 -0500 (0:00:01.767) 0:00:25.399 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:34 -0500 (0:00:00.087) 0:00:25.486 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:34 -0500 (0:00:00.087) 0:00:25.573 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:34 -0500 (0:00:00.061) 0:00:25.635 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:34 -0500 (0:00:00.070) 0:00:25.706 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:35 -0500 (0:00:00.072) 0:00:25.779 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:35 -0500 (0:00:00.054) 0:00:25.833 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:35 -0500 (0:00:00.062) 0:00:25.896 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:35 -0500 (0:00:00.146) 0:00:26.043 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:35 -0500 (0:00:00.097) 0:00:26.140 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:35 -0500 (0:00:00.084) 0:00:26.224 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:35 -0500 (0:00:00.111) 0:00:26.336 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:35 -0500 (0:00:00.106) 0:00:26.442 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:35 -0500 (0:00:00.072) 0:00:26.515 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:36 -0500 (0:00:00.600) 0:00:27.116 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpawyeaohu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:36 -0500 (0:00:00.464) 0:00:27.580 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:37 -0500 (0:00:00.554) 0:00:28.135 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:37 -0500 (0:00:00.071) 0:00:28.207 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:37 -0500 (0:00:00.070) 0:00:28.277 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:37 -0500 (0:00:00.063) 0:00:28.341 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:37 -0500 (0:00:00.061) 0:00:28.403 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 07 February 2025 15:33:38 -0500 (0:00:00.444) 0:00:28.847 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:33:38 -0500 (0:00:00.067) 0:00:28.915 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:33:38 -0500 (0:00:00.088) 0:00:29.004 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:33:38 -0500 (0:00:00.074) 0:00:29.079 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:33:38 -0500 (0:00:00.380) 0:00:29.459 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 15:33:38 -0500 (0:00:00.061) 0:00:29.520 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:33:38 -0500 (0:00:00.112) 0:00:29.632 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:33:39 -0500 (0:00:00.193) 0:00:29.825 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960417.2872999, "block_size": 4096, "blocks": 8, "ctime": 1738960417.2872999, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738960417.2872999, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:33:39 -0500 (0:00:00.455) 0:00:30.281 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:33:39 -0500 (0:00:00.090) 0:00:30.371 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018083", "end": "2025-02-07 15:33:40.086071", "rc": 1, "start": "2025-02-07 15:33:40.067988" } 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:33:40 -0500 (0:00:00.553) 0:00:30.925 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:33:40 -0500 (0:00:00.055) 0:00:30.980 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004078", "end": "2025-02-07 15:33:41.550207", "rc": 0, "start": "2025-02-07 15:33:40.546129" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:33:41 -0500 (0:00:01.470) 0:00:32.450 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:33:41 -0500 (0:00:00.125) 0:00:32.576 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003286", "end": "2025-02-07 15:33:42.194703", "rc": 0, "start": "2025-02-07 15:33:42.191417" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:33:42 -0500 (0:00:00.466) 0:00:33.042 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 15:33:42 -0500 (0:00:00.074) 0:00:33.117 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 15:33:42 -0500 (0:00:00.067) 0:00:33.184 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 15:33:42 -0500 (0:00:00.058) 0:00:33.243 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:33:42 -0500 (0:00:00.056) 0:00:33.300 ******* skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:33:42 -0500 (0:00:00.067) 0:00:33.367 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:33:42 -0500 (0:00:00.088) 0:00:33.456 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:33:42 -0500 (0:00:00.216) 0:00:33.673 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035303", "end": "2025-02-07 15:33:43.390169", "rc": 1, "start": "2025-02-07 15:33:43.354866" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 07 February 2025 15:33:43 -0500 (0:00:00.626) 0:00:34.299 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:33:43 -0500 (0:00:00.091) 0:00:34.391 ******* ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:33:43 -0500 (0:00:00.082) 0:00:34.473 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:33:43 -0500 (0:00:00.148) 0:00:34.622 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:33:44 -0500 (0:00:00.160) 0:00:34.783 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:33:44 -0500 (0:00:00.140) 0:00:34.924 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003751", "end": "2025-02-07 15:33:44.547603", "rc": 0, "start": "2025-02-07 15:33:44.543852" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:33:44 -0500 (0:00:00.480) 0:00:35.405 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:33:44 -0500 (0:00:00.069) 0:00:35.474 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:33:44 -0500 (0:00:00.075) 0:00:35.550 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:33:44 -0500 (0:00:00.082) 0:00:35.632 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:45 -0500 (0:00:00.138) 0:00:35.770 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:45 -0500 (0:00:00.164) 0:00:35.935 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:45 -0500 (0:00:00.072) 0:00:36.007 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:45 -0500 (0:00:00.061) 0:00:36.068 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:45 -0500 (0:00:00.064) 0:00:36.132 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:47 -0500 (0:00:01.886) 0:00:38.019 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:48 -0500 (0:00:01.622) 0:00:39.642 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:48 -0500 (0:00:00.083) 0:00:39.726 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:49 -0500 (0:00:00.082) 0:00:39.808 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:49 -0500 (0:00:00.068) 0:00:39.877 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:49 -0500 (0:00:00.061) 0:00:39.938 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:49 -0500 (0:00:00.065) 0:00:40.004 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:49 -0500 (0:00:00.052) 0:00:40.057 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:49 -0500 (0:00:00.085) 0:00:40.143 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:49 -0500 (0:00:00.265) 0:00:40.408 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:49 -0500 (0:00:00.152) 0:00:40.561 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:49 -0500 (0:00:00.125) 0:00:40.687 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:50 -0500 (0:00:00.115) 0:00:40.802 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:50 -0500 (0:00:00.114) 0:00:40.917 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:50 -0500 (0:00:00.093) 0:00:41.010 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:50 -0500 (0:00:00.747) 0:00:41.758 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmphitvh08c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:51 -0500 (0:00:00.435) 0:00:42.194 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:52 -0500 (0:00:00.612) 0:00:42.806 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:52 -0500 (0:00:00.087) 0:00:42.894 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:52 -0500 (0:00:00.073) 0:00:42.967 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:52 -0500 (0:00:00.113) 0:00:43.081 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:52 -0500 (0:00:00.071) 0:00:43.153 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:33:52 -0500 (0:00:00.473) 0:00:43.627 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:33:52 -0500 (0:00:00.070) 0:00:43.697 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 15:33:53 -0500 (0:00:00.179) 0:00:43.877 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:53 -0500 (0:00:00.124) 0:00:44.001 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:53 -0500 (0:00:00.101) 0:00:44.103 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:53 -0500 (0:00:00.066) 0:00:44.169 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:53 -0500 (0:00:00.081) 0:00:44.250 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:53 -0500 (0:00:00.120) 0:00:44.371 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:55 -0500 (0:00:01.959) 0:00:46.330 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:57 -0500 (0:00:01.617) 0:00:47.948 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:57 -0500 (0:00:00.090) 0:00:48.038 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:57 -0500 (0:00:00.088) 0:00:48.127 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:57 -0500 (0:00:00.083) 0:00:48.210 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:57 -0500 (0:00:00.142) 0:00:48.353 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:57 -0500 (0:00:00.103) 0:00:48.456 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:57 -0500 (0:00:00.088) 0:00:48.544 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:57 -0500 (0:00:00.101) 0:00:48.646 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:58 -0500 (0:00:00.139) 0:00:48.785 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:58 -0500 (0:00:00.089) 0:00:48.874 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:58 -0500 (0:00:00.090) 0:00:48.965 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:58 -0500 (0:00:00.097) 0:00:49.063 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:58 -0500 (0:00:00.091) 0:00:49.154 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:58 -0500 (0:00:00.068) 0:00:49.222 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:59 -0500 (0:00:00.744) 0:00:49.967 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpfgkp890p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:59 -0500 (0:00:00.648) 0:00:50.615 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:00 -0500 (0:00:00.942) 0:00:51.557 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:00 -0500 (0:00:00.100) 0:00:51.658 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:01 -0500 (0:00:00.102) 0:00:51.760 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:01 -0500 (0:00:00.070) 0:00:51.831 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:01 -0500 (0:00:00.052) 0:00:51.884 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:34:01 -0500 (0:00:00.682) 0:00:52.566 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:34:01 -0500 (0:00:00.101) 0:00:52.667 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:34:01 -0500 (0:00:00.077) 0:00:52.745 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960440.6064851, "block_size": 4096, "blocks": 0, "ctime": 1738960440.6064851, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1738960440.6064851, "nlink": 1, "path": "/sys/class/net/statebr", "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 - 'statebr'] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:34:02 -0500 (0:00:00.433) 0:00:53.178 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 15:34:02 -0500 (0:00:00.088) 0:00:53.267 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:34:02 -0500 (0:00:00.133) 0:00:53.400 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:34:02 -0500 (0:00:00.096) 0:00:53.497 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960440.444324, "block_size": 4096, "blocks": 8, "ctime": 1738960431.9433153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738960431.9433153, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:34:03 -0500 (0:00:00.615) 0:00:54.112 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:34:03 -0500 (0:00:00.088) 0:00:54.201 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018517", "end": "2025-02-07 15:34:03.815841", "rc": 1, "start": "2025-02-07 15:34:03.797324" } 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:34:03 -0500 (0:00:00.486) 0:00:54.687 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:34:04 -0500 (0:00:00.135) 0:00:54.822 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003726", "end": "2025-02-07 15:34:04.463623", "rc": 0, "start": "2025-02-07 15:34:04.459897" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:34:04 -0500 (0:00:00.490) 0:00:55.312 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:34:04 -0500 (0:00:00.165) 0:00:55.478 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003608", "end": "2025-02-07 15:34:05.086798", "rc": 0, "start": "2025-02-07 15:34:05.083190" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:34:05 -0500 (0:00:00.435) 0:00:55.914 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 15:34:05 -0500 (0:00:00.069) 0:00:55.984 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 15:34:05 -0500 (0:00:00.084) 0:00:56.069 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 15:34:05 -0500 (0:00:00.089) 0:00:56.158 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:34:05 -0500 (0:00:00.097) 0:00:56.255 ******* skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:34:05 -0500 (0:00:00.079) 0:00:56.335 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:34:05 -0500 (0:00:00.059) 0:00:56.395 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:34:05 -0500 (0:00:00.102) 0:00:56.497 ******* ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046395", "end": "2025-02-07 15:34:06.102792", "rc": 0, "start": "2025-02-07 15:34:06.056397" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 07 February 2025 15:34:06 -0500 (0:00:00.442) 0:00:56.940 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:34:06 -0500 (0:00:00.088) 0:00:57.029 ******* ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:34:06 -0500 (0:00:00.086) 0:00:57.115 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:34:06 -0500 (0:00:00.158) 0:00:57.273 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:34:06 -0500 (0:00:00.143) 0:00:57.417 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:34:06 -0500 (0:00:00.233) 0:00:57.650 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003829", "end": "2025-02-07 15:34:07.247138", "rc": 0, "start": "2025-02-07 15:34:07.243309" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:34:07 -0500 (0:00:00.422) 0:00:58.072 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:34:07 -0500 (0:00:00.061) 0:00:58.133 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:34:07 -0500 (0:00:00.057) 0:00:58.191 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:34:07 -0500 (0:00:00.084) 0:00:58.276 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:07 -0500 (0:00:00.095) 0:00:58.371 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:07 -0500 (0:00:00.086) 0:00:58.458 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:07 -0500 (0:00:00.062) 0:00:58.521 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:07 -0500 (0:00:00.056) 0:00:58.578 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:07 -0500 (0:00:00.060) 0:00:58.638 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:09 -0500 (0:00:01.724) 0:01:00.362 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:11 -0500 (0:00:01.745) 0:01:02.108 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:11 -0500 (0:00:00.077) 0:01:02.185 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:11 -0500 (0:00:00.055) 0:01:02.241 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:11 -0500 (0:00:00.057) 0:01:02.298 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:11 -0500 (0:00:00.058) 0:01:02.357 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:11 -0500 (0:00:00.089) 0:01:02.447 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:11 -0500 (0:00:00.097) 0:01:02.544 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:11 -0500 (0:00:00.148) 0:01:02.692 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:12 -0500 (0:00:00.200) 0:01:02.892 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:12 -0500 (0:00:00.111) 0:01:03.004 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:12 -0500 (0:00:00.148) 0:01:03.152 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:12 -0500 (0:00:00.113) 0:01:03.266 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:12 -0500 (0:00:00.083) 0:01:03.349 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:12 -0500 (0:00:00.066) 0:01:03.416 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:13 -0500 (0:00:00.581) 0:01:03.998 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpk2pnt0e5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:13 -0500 (0:00:00.520) 0:01:04.519 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:14 -0500 (0:00:00.525) 0:01:05.044 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:14 -0500 (0:00:00.064) 0:01:05.109 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:14 -0500 (0:00:00.080) 0:01:05.189 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:14 -0500 (0:00:00.072) 0:01:05.262 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:14 -0500 (0:00:00.057) 0:01:05.319 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:34:14 -0500 (0:00:00.421) 0:01:05.740 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 15:34:15 -0500 (0:00:00.080) 0:01:05.821 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:15 -0500 (0:00:00.151) 0:01:05.972 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:15 -0500 (0:00:00.139) 0:01:06.112 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:15 -0500 (0:00:00.099) 0:01:06.211 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:15 -0500 (0:00:00.096) 0:01:06.307 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:15 -0500 (0:00:00.086) 0:01:06.394 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:17 -0500 (0:00:02.166) 0:01:08.561 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:19 -0500 (0:00:01.550) 0:01:10.112 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:19 -0500 (0:00:00.103) 0:01:10.215 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:19 -0500 (0:00:00.087) 0:01:10.303 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:19 -0500 (0:00:00.096) 0:01:10.399 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:19 -0500 (0:00:00.097) 0:01:10.497 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:19 -0500 (0:00:00.134) 0:01:10.632 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:19 -0500 (0:00:00.084) 0:01:10.717 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:20 -0500 (0:00:00.093) 0:01:10.810 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:20 -0500 (0:00:00.105) 0:01:10.916 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:20 -0500 (0:00:00.056) 0:01:10.972 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:20 -0500 (0:00:00.056) 0:01:11.029 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:20 -0500 (0:00:00.065) 0:01:11.094 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:20 -0500 (0:00:00.054) 0:01:11.149 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:20 -0500 (0:00:00.153) 0:01:11.302 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:21 -0500 (0:00:00.579) 0:01:11.881 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmp7or7hf12" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:21 -0500 (0:00:00.438) 0:01:12.320 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:22 -0500 (0:00:00.851) 0:01:13.171 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:22 -0500 (0:00:00.055) 0:01:13.226 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:22 -0500 (0:00:00.058) 0:01:13.285 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:22 -0500 (0:00:00.066) 0:01:13.352 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:22 -0500 (0:00:00.084) 0:01:13.436 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:34:23 -0500 (0:00:00.425) 0:01:13.862 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 07 February 2025 15:34:23 -0500 (0:00:00.087) 0:01:13.950 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:23 -0500 (0:00:00.136) 0:01:14.086 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:23 -0500 (0:00:00.180) 0:01:14.266 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:23 -0500 (0:00:00.362) 0:01:14.628 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:23 -0500 (0:00:00.095) 0:01:14.724 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:24 -0500 (0:00:00.111) 0:01:14.836 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:25 -0500 (0:00:01.776) 0:01:16.613 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:27 -0500 (0:00:01.522) 0:01:18.135 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:27 -0500 (0:00:00.079) 0:01:18.214 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:27 -0500 (0:00:00.087) 0:01:18.302 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:27 -0500 (0:00:00.084) 0:01:18.387 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:27 -0500 (0:00:00.086) 0:01:18.474 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:27 -0500 (0:00:00.077) 0:01:18.552 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:27 -0500 (0:00:00.061) 0:01:18.613 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:27 -0500 (0:00:00.083) 0:01:18.697 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:28 -0500 (0:00:00.143) 0:01:18.841 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:28 -0500 (0:00:00.117) 0:01:18.958 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:28 -0500 (0:00:00.315) 0:01:19.273 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:28 -0500 (0:00:00.112) 0:01:19.386 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:28 -0500 (0:00:00.094) 0:01:19.481 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:28 -0500 (0:00:00.093) 0:01:19.574 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:29 -0500 (0:00:00.692) 0:01:20.267 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmp4c29fw39" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:29 -0500 (0:00:00.423) 0:01:20.690 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:30 -0500 (0:00:00.670) 0:01:21.361 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:30 -0500 (0:00:00.086) 0:01:21.447 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:30 -0500 (0:00:00.172) 0:01:21.619 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:30 -0500 (0:00:00.124) 0:01:21.744 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:31 -0500 (0:00:00.119) 0:01:21.864 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:34:31 -0500 (0:00:00.496) 0:01:22.360 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:34:31 -0500 (0:00:00.149) 0:01:22.509 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:34:31 -0500 (0:00:00.172) 0:01:22.681 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960462.2642007, "block_size": 4096, "blocks": 0, "ctime": 1738960462.2642007, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1738960462.2642007, "nlink": 1, "path": "/sys/class/net/statebr", "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 - 'statebr'] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:34:32 -0500 (0:00:00.498) 0:01:23.180 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 15:34:32 -0500 (0:00:00.100) 0:01:23.280 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:34:32 -0500 (0:00:00.109) 0:01:23.389 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:34:32 -0500 (0:00:00.067) 0:01:23.457 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:34:33 -0500 (0:00:00.411) 0:01:23.869 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:34:33 -0500 (0:00:00.084) 0:01:23.953 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018195", "end": "2025-02-07 15:34:33.584664", "rc": 1, "start": "2025-02-07 15:34:33.566469" } 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:34:33 -0500 (0:00:00.550) 0:01:24.504 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:34:33 -0500 (0:00:00.127) 0:01:24.631 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:34:33 -0500 (0:00:00.083) 0:01:24.715 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:34:34 -0500 (0:00:00.091) 0:01:24.806 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:34:34 -0500 (0:00:00.119) 0:01:24.925 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 15:34:34 -0500 (0:00:00.098) 0:01:25.024 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:34:34 -0500 (0:00:00.108) 0:01:25.132 ******* skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:34:34 -0500 (0:00:00.098) 0:01:25.231 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:34:34 -0500 (0:00:00.080) 0:01:25.311 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:34:34 -0500 (0:00:00.235) 0:01:25.547 ******* ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044014", "end": "2025-02-07 15:34:35.160755", "rc": 0, "start": "2025-02-07 15:34:35.116741" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 07 February 2025 15:34:35 -0500 (0:00:00.458) 0:01:26.006 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:34:35 -0500 (0:00:00.131) 0:01:26.138 ******* ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:34:35 -0500 (0:00:00.065) 0:01:26.203 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:34:35 -0500 (0:00:00.123) 0:01:26.326 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:34:35 -0500 (0:00:00.077) 0:01:26.403 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:34:35 -0500 (0:00:00.074) 0:01:26.478 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003341", "end": "2025-02-07 15:34:36.069335", "rc": 0, "start": "2025-02-07 15:34:36.065994" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:34:36 -0500 (0:00:00.438) 0:01:26.917 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:34:36 -0500 (0:00:00.097) 0:01:27.015 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:34:36 -0500 (0:00:00.095) 0:01:27.110 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:34:36 -0500 (0:00:00.162) 0:01:27.273 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:36 -0500 (0:00:00.195) 0:01:27.469 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:36 -0500 (0:00:00.088) 0:01:27.557 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:36 -0500 (0:00:00.063) 0:01:27.621 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:36 -0500 (0:00:00.057) 0:01:27.678 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:36 -0500 (0:00:00.060) 0:01:27.738 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:38 -0500 (0:00:01.706) 0:01:29.445 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:40 -0500 (0:00:01.548) 0:01:30.993 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:40 -0500 (0:00:00.086) 0:01:31.079 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:40 -0500 (0:00:00.083) 0:01:31.162 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:40 -0500 (0:00:00.081) 0:01:31.244 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:40 -0500 (0:00:00.070) 0:01:31.315 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:40 -0500 (0:00:00.077) 0:01:31.393 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:40 -0500 (0:00:00.169) 0:01:31.562 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:40 -0500 (0:00:00.066) 0:01:31.628 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:40 -0500 (0:00:00.100) 0:01:31.729 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:41 -0500 (0:00:00.108) 0:01:31.837 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:41 -0500 (0:00:00.092) 0:01:31.929 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:41 -0500 (0:00:00.177) 0:01:32.107 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:41 -0500 (0:00:00.132) 0:01:32.239 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:41 -0500 (0:00:00.101) 0:01:32.340 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:42 -0500 (0:00:00.651) 0:01:32.991 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpcu_tdsvy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:42 -0500 (0:00:00.433) 0:01:33.425 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:43 -0500 (0:00:00.623) 0:01:34.048 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:43 -0500 (0:00:00.091) 0:01:34.140 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:43 -0500 (0:00:00.091) 0:01:34.231 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:43 -0500 (0:00:00.106) 0:01:34.337 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:43 -0500 (0:00:00.060) 0:01:34.398 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:34:44 -0500 (0:00:00.477) 0:01:34.876 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 15:34:44 -0500 (0:00:00.058) 0:01:34.935 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:44 -0500 (0:00:00.097) 0:01:35.032 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:44 -0500 (0:00:00.086) 0:01:35.118 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:44 -0500 (0:00:00.063) 0:01:35.181 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:44 -0500 (0:00:00.057) 0:01:35.239 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:44 -0500 (0:00:00.056) 0:01:35.296 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:46 -0500 (0:00:01.705) 0:01:37.001 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:47 -0500 (0:00:01.508) 0:01:38.509 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:47 -0500 (0:00:00.091) 0:01:38.601 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:47 -0500 (0:00:00.084) 0:01:38.685 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:48 -0500 (0:00:00.102) 0:01:38.788 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:48 -0500 (0:00:00.195) 0:01:38.983 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:48 -0500 (0:00:00.067) 0:01:39.051 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:48 -0500 (0:00:00.054) 0:01:39.106 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:48 -0500 (0:00:00.067) 0:01:39.174 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:48 -0500 (0:00:00.093) 0:01:39.267 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:48 -0500 (0:00:00.070) 0:01:39.338 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:48 -0500 (0:00:00.086) 0:01:39.424 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:48 -0500 (0:00:00.099) 0:01:39.523 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:48 -0500 (0:00:00.083) 0:01:39.606 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:48 -0500 (0:00:00.067) 0:01:39.674 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:49 -0500 (0:00:00.609) 0:01:40.283 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmp3t4okm5z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:49 -0500 (0:00:00.426) 0:01:40.709 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:50 -0500 (0:00:00.823) 0:01:41.533 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:50 -0500 (0:00:00.094) 0:01:41.627 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:50 -0500 (0:00:00.071) 0:01:41.699 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:51 -0500 (0:00:00.072) 0:01:41.771 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:51 -0500 (0:00:00.104) 0:01:41.876 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 07 February 2025 15:34:51 -0500 (0:00:00.444) 0:01:42.320 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:51 -0500 (0:00:00.151) 0:01:42.471 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:51 -0500 (0:00:00.117) 0:01:42.589 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:51 -0500 (0:00:00.098) 0:01:42.687 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:52 -0500 (0:00:00.092) 0:01:42.780 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:52 -0500 (0:00:00.076) 0:01:42.857 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:53 -0500 (0:00:01.783) 0:01:44.641 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:55 -0500 (0:00:01.667) 0:01:46.309 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:55 -0500 (0:00:00.098) 0:01:46.407 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:55 -0500 (0:00:00.065) 0:01:46.472 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:55 -0500 (0:00:00.169) 0:01:46.641 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:55 -0500 (0:00:00.084) 0:01:46.726 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:56 -0500 (0:00:00.164) 0:01:46.890 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:56 -0500 (0:00:00.148) 0:01:47.038 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:56 -0500 (0:00:00.174) 0:01:47.213 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:56 -0500 (0:00:00.143) 0:01:47.357 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:56 -0500 (0:00:00.089) 0:01:47.446 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:56 -0500 (0:00:00.061) 0:01:47.508 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:56 -0500 (0:00:00.074) 0:01:47.582 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:56 -0500 (0:00:00.062) 0:01:47.645 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:56 -0500 (0:00:00.082) 0:01:47.727 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:57 -0500 (0:00:00.699) 0:01:48.426 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpcg1_hj4x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:58 -0500 (0:00:00.430) 0:01:48.857 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:58 -0500 (0:00:00.693) 0:01:49.551 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:58 -0500 (0:00:00.096) 0:01:49.647 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:58 -0500 (0:00:00.103) 0:01:49.751 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:59 -0500 (0:00:00.153) 0:01:49.905 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:59 -0500 (0:00:00.070) 0:01:49.976 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:34:59 -0500 (0:00:00.676) 0:01:50.652 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 15:34:59 -0500 (0:00:00.099) 0:01:50.751 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:35:00 -0500 (0:00:00.104) 0:01:50.856 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:35:00 -0500 (0:00:00.131) 0:01:50.988 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:35:00 -0500 (0:00:00.098) 0:01:51.086 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:35:00 -0500 (0:00:00.088) 0:01:51.175 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:35:00 -0500 (0:00:00.101) 0:01:51.277 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:35:02 -0500 (0:00:01.907) 0:01:53.184 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:35:04 -0500 (0:00:01.703) 0:01:54.888 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:35:04 -0500 (0:00:00.090) 0:01:54.978 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:35:04 -0500 (0:00:00.082) 0:01:55.061 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:35:04 -0500 (0:00:00.087) 0:01:55.149 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:35:04 -0500 (0:00:00.085) 0:01:55.234 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:35:04 -0500 (0:00:00.100) 0:01:55.334 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:35:04 -0500 (0:00:00.088) 0:01:55.423 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:35:04 -0500 (0:00:00.110) 0:01:55.534 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:35:04 -0500 (0:00:00.142) 0:01:55.677 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:35:05 -0500 (0:00:00.095) 0:01:55.772 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:35:05 -0500 (0:00:00.086) 0:01:55.858 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:35:05 -0500 (0:00:00.097) 0:01:55.956 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:35:05 -0500 (0:00:00.079) 0:01:56.035 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:35:05 -0500 (0:00:00.062) 0:01:56.098 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:35:05 -0500 (0:00:00.605) 0:01:56.703 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpahqws9yq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:35:06 -0500 (0:00:00.419) 0:01:57.123 ******* ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:35:06 -0500 (0:00:00.612) 0:01:57.736 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:35:07 -0500 (0:00:00.054) 0:01:57.791 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:35:07 -0500 (0:00:00.060) 0:01:57.852 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:35:07 -0500 (0:00:00.062) 0:01:57.914 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:35:07 -0500 (0:00:00.085) 0:01:58.000 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:35:07 -0500 (0:00:00.463) 0:01:58.463 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 15:35:07 -0500 (0:00:00.120) 0:01:58.583 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:35:07 -0500 (0:00:00.140) 0:01:58.724 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:35:08 -0500 (0:00:00.091) 0:01:58.815 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:35:08 -0500 (0:00:00.409) 0:01:59.225 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:35:08 -0500 (0:00:00.052) 0:01:59.277 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019204", "end": "2025-02-07 15:35:08.855874", "rc": 1, "start": "2025-02-07 15:35:08.836670" } 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:35:08 -0500 (0:00:00.417) 0:01:59.695 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:35:08 -0500 (0:00:00.055) 0:01:59.751 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:35:09 -0500 (0:00:00.053) 0:01:59.805 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:35:09 -0500 (0:00:00.152) 0:01:59.958 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:35:09 -0500 (0:00:00.056) 0:02:00.014 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 15:35:09 -0500 (0:00:00.060) 0:02:00.075 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:35:09 -0500 (0:00:00.089) 0:02:00.165 ******* skipping: [managed-node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:35:09 -0500 (0:00:00.096) 0:02:00.261 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:35:09 -0500 (0:00:00.117) 0:02:00.379 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:35:09 -0500 (0:00:00.136) 0:02:00.515 ******* ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047318", "end": "2025-02-07 15:35:10.166665", "rc": 0, "start": "2025-02-07 15:35:10.119347" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 07 February 2025 15:35:10 -0500 (0:00:00.477) 0:02:00.993 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 07 February 2025 15:35:10 -0500 (0:00:00.083) 0:02:01.077 ******* ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 07 February 2025 15:35:10 -0500 (0:00:00.060) 0:02:01.138 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 07 February 2025 15:35:10 -0500 (0:00:00.156) 0:02:01.295 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:35:10 -0500 (0:00:00.125) 0:02:01.420 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:35:10 -0500 (0:00:00.143) 0:02:01.564 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004207", "end": "2025-02-07 15:35:12.151799", "rc": 0, "start": "2025-02-07 15:35:11.147592" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:35:12 -0500 (0:00:01.435) 0:02:02.999 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:35:12 -0500 (0:00:00.084) 0:02:03.084 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 07 February 2025 15:35:12 -0500 (0:00:00.067) 0:02:03.151 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 07 February 2025 15:35:12 -0500 (0:00:00.091) 0:02:03.242 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:35:12 -0500 (0:00:00.130) 0:02:03.373 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:35:12 -0500 (0:00:00.141) 0:02:03.514 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:35:12 -0500 (0:00:00.100) 0:02:03.615 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:35:12 -0500 (0:00:00.090) 0:02:03.705 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:35:13 -0500 (0:00:00.070) 0:02:03.775 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:35:14 -0500 (0:00:01.735) 0:02:05.511 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:35:16 -0500 (0:00:01.600) 0:02:07.111 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:35:16 -0500 (0:00:00.059) 0:02:07.170 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:35:16 -0500 (0:00:00.056) 0:02:07.227 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:35:16 -0500 (0:00:00.054) 0:02:07.281 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:35:16 -0500 (0:00:00.058) 0:02:07.340 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:35:16 -0500 (0:00:00.065) 0:02:07.406 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:35:16 -0500 (0:00:00.058) 0:02:07.464 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:35:16 -0500 (0:00:00.067) 0:02:07.532 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:35:16 -0500 (0:00:00.090) 0:02:07.623 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:35:16 -0500 (0:00:00.057) 0:02:07.680 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:35:16 -0500 (0:00:00.055) 0:02:07.736 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:35:17 -0500 (0:00:00.062) 0:02:07.799 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:35:17 -0500 (0:00:00.057) 0:02:07.856 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:35:17 -0500 (0:00:00.054) 0:02:07.911 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:35:17 -0500 (0:00:00.624) 0:02:08.536 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpf_lzqlpk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:35:18 -0500 (0:00:00.459) 0:02:08.995 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:35:18 -0500 (0:00:00.661) 0:02:09.656 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:35:18 -0500 (0:00:00.084) 0:02:09.741 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:35:19 -0500 (0:00:00.095) 0:02:09.837 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:35:19 -0500 (0:00:00.068) 0:02:09.905 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:35:19 -0500 (0:00:00.065) 0:02:09.971 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 07 February 2025 15:35:19 -0500 (0:00:00.443) 0:02:10.414 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 07 February 2025 15:35:19 -0500 (0:00:00.087) 0:02:10.502 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:35:19 -0500 (0:00:00.143) 0:02:10.646 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:35:19 -0500 (0:00:00.104) 0:02:10.750 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:35:20 -0500 (0:00:00.066) 0:02:10.816 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:35:20 -0500 (0:00:00.058) 0:02:10.875 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:35:20 -0500 (0:00:00.057) 0:02:10.933 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:35:21 -0500 (0:00:01.740) 0:02:12.673 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:35:23 -0500 (0:00:01.604) 0:02:14.278 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:35:23 -0500 (0:00:00.058) 0:02:14.337 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:35:23 -0500 (0:00:00.059) 0:02:14.396 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:35:23 -0500 (0:00:00.054) 0:02:14.451 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:35:23 -0500 (0:00:00.070) 0:02:14.521 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:35:23 -0500 (0:00:00.101) 0:02:14.623 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:35:23 -0500 (0:00:00.084) 0:02:14.707 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:35:24 -0500 (0:00:00.103) 0:02:14.810 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:35:24 -0500 (0:00:00.141) 0:02:14.952 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:35:24 -0500 (0:00:00.081) 0:02:15.033 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:35:24 -0500 (0:00:00.087) 0:02:15.120 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:35:24 -0500 (0:00:00.115) 0:02:15.236 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:35:24 -0500 (0:00:00.083) 0:02:15.319 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:35:24 -0500 (0:00:00.085) 0:02:15.405 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:35:25 -0500 (0:00:00.775) 0:02:16.180 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmp_4sn2lhl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:35:26 -0500 (0:00:00.635) 0:02:16.816 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:35:26 -0500 (0:00:00.725) 0:02:17.541 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:35:26 -0500 (0:00:00.055) 0:02:17.596 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:35:26 -0500 (0:00:00.062) 0:02:17.659 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:35:26 -0500 (0:00:00.091) 0:02:17.750 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:35:27 -0500 (0:00:00.120) 0:02:17.870 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 15:35:27 -0500 (0:00:00.593) 0:02:18.464 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:35:27 -0500 (0:00:00.213) 0:02:18.677 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:35:28 -0500 (0:00:00.108) 0:02:18.786 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:35:28 -0500 (0:00:00.070) 0:02:18.856 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:35:28 -0500 (0:00:00.056) 0:02:18.912 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:35:28 -0500 (0:00:00.060) 0:02:18.972 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:35:30 -0500 (0:00:02.135) 0:02:21.108 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:35:31 -0500 (0:00:01.551) 0:02:22.660 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:35:31 -0500 (0:00:00.071) 0:02:22.731 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:35:32 -0500 (0:00:00.060) 0:02:22.792 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:35:32 -0500 (0:00:00.079) 0:02:22.872 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:35:32 -0500 (0:00:00.068) 0:02:22.941 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:35:32 -0500 (0:00:00.076) 0:02:23.017 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:35:32 -0500 (0:00:00.055) 0:02:23.073 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:35:32 -0500 (0:00:00.067) 0:02:23.141 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:35:32 -0500 (0:00:00.111) 0:02:23.252 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:35:32 -0500 (0:00:00.082) 0:02:23.335 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:35:32 -0500 (0:00:00.067) 0:02:23.402 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:35:32 -0500 (0:00:00.074) 0:02:23.477 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:35:32 -0500 (0:00:00.056) 0:02:23.533 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:35:32 -0500 (0:00:00.169) 0:02:23.703 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:35:33 -0500 (0:00:00.611) 0:02:24.314 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmpf5nvn0ks" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:35:33 -0500 (0:00:00.395) 0:02:24.710 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:35:34 -0500 (0:00:00.535) 0:02:25.246 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:35:34 -0500 (0:00:00.089) 0:02:25.335 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:35:34 -0500 (0:00:00.144) 0:02:25.480 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:35:34 -0500 (0:00:00.141) 0:02:25.621 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:35:34 -0500 (0:00:00.118) 0:02:25.740 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 07 February 2025 15:35:35 -0500 (0:00:00.894) 0:02:26.634 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 15:35:36 -0500 (0:00:00.147) 0:02:26.782 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:35:36 -0500 (0:00:00.179) 0:02:26.962 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:35:36 -0500 (0:00:00.154) 0:02:27.116 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:35:36 -0500 (0:00:00.225) 0:02:27.342 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:35:36 -0500 (0:00:00.075) 0:02:27.417 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:35:36 -0500 (0:00:00.060) 0:02:27.477 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:35:38 -0500 (0:00:01.800) 0:02:29.278 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:35:40 -0500 (0:00:01.598) 0:02:30.876 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:35:40 -0500 (0:00:00.063) 0:02:30.940 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:35:40 -0500 (0:00:00.060) 0:02:31.001 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:35:40 -0500 (0:00:00.067) 0:02:31.068 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:35:40 -0500 (0:00:00.082) 0:02:31.151 ******* skipping: [managed-node3] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:35:40 -0500 (0:00:00.076) 0:02:31.227 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:35:40 -0500 (0:00:00.064) 0:02:31.292 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:35:40 -0500 (0:00:00.068) 0:02:31.360 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:35:40 -0500 (0:00:00.093) 0:02:31.454 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:35:40 -0500 (0:00:00.053) 0:02:31.507 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:35:40 -0500 (0:00:00.167) 0:02:31.675 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:35:40 -0500 (0:00:00.065) 0:02:31.741 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:35:41 -0500 (0:00:00.055) 0:02:31.797 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:35:41 -0500 (0:00:00.059) 0:02:31.856 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:35:41 -0500 (0:00:00.583) 0:02:32.440 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42239rhd2_cuf/tmp9kfxveg6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:35:42 -0500 (0:00:00.437) 0:02:32.877 ******* ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:35:42 -0500 (0:00:00.577) 0:02:33.455 ******* skipping: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:35:42 -0500 (0:00:00.066) 0:02:33.521 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:35:42 -0500 (0:00:00.065) 0:02:33.586 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:35:42 -0500 (0:00:00.063) 0:02:33.650 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:35:42 -0500 (0:00:00.055) 0:02:33.706 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 07 February 2025 15:35:43 -0500 (0:00:00.459) 0:02:34.166 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 07 February 2025 15:35:43 -0500 (0:00:00.119) 0:02:34.285 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:35:43 -0500 (0:00:00.143) 0:02:34.429 ******* ok: [managed-node3] => { "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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:35:43 -0500 (0:00:00.057) 0:02:34.486 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:35:44 -0500 (0:00:00.396) 0:02:34.883 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:35:44 -0500 (0:00:00.067) 0:02:34.950 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018691", "end": "2025-02-07 15:35:44.542901", "rc": 1, "start": "2025-02-07 15:35:44.524210" } 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:35:44 -0500 (0:00:00.436) 0:02:35.387 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:35:44 -0500 (0:00:00.093) 0:02:35.480 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:35:44 -0500 (0:00:00.090) 0:02:35.571 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:35:44 -0500 (0:00:00.087) 0:02:35.658 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:35:44 -0500 (0:00:00.083) 0:02:35.742 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 07 February 2025 15:35:45 -0500 (0:00:00.065) 0:02:35.808 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 07 February 2025 15:35:45 -0500 (0:00:00.067) 0:02:35.875 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.889879", "end": "2025-02-07 15:35:46.327051", "rc": 0, "start": "2025-02-07 15:35:45.437172" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 07 February 2025 15:35:46 -0500 (0:00:01.283) 0:02:37.158 ******* ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 07 February 2025 15:35:46 -0500 (0:00:00.059) 0:02:37.217 ******* ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 07 February 2025 15:35:46 -0500 (0:00:00.057) 0:02:37.275 ******* skipping: [managed-node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 07 February 2025 15:35:46 -0500 (0:00:00.074) 0:02:37.349 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 07 February 2025 15:35:46 -0500 (0:00:00.082) 0:02:37.432 ******* included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 07 February 2025 15:35:46 -0500 (0:00:00.164) 0:02:37.596 ******* ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047128", "end": "2025-02-07 15:35:47.207697", "rc": 0, "start": "2025-02-07 15:35:47.160569" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 07 February 2025 15:35:47 -0500 (0:00:00.438) 0:02:38.034 ******* ok: [managed-node3] => { "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.008726", "end": "2025-02-07 15:35:47.604310", "rc": 0, "start": "2025-02-07 15:35:47.595584" } 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:a4:94:93:e4:f7 brd ff:ff:ff:ff:ff:ff inet 10.31.42.217/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2436sec preferred_lft 2436sec inet6 fe80::ca4:94ff:fe93:e4f7/64 scope link valid_lft forever preferred_lft forever 40: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether de:8b:f3:0d:69:a1 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.217 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.217 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search 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-vC4/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 07 February 2025 15:35:47 -0500 (0:00:00.394) 0:02:38.429 ******* ok: [managed-node3] => { "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.397911", "end": "2025-02-07 15:35:48.394504", "rc": 0, "start": "2025-02-07 15:35:47.996593" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 1412 0 --:--:-- --:--:-- --:--:-- 1412 % 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 1830 0 --:--:-- --:--:-- --:--:-- 1830 PLAY RECAP ********************************************************************* managed-node3 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Friday 07 February 2025 15:35:48 -0500 (0:00:00.796) 0:02:39.225 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.17s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.03s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.98s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-vC4/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26