[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.Vsr9byAk6N executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 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_nm.yml ************************************************** 2 plays in /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Sunday 04 August 2024 17:08:20 -0400 (0:00:00.007) 0:00:00.007 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Sunday 04 August 2024 17:08:22 -0400 (0:00:01.116) 0:00:01.124 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 17:08:22 -0400 (0:00:00.017) 0:00:01.142 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 17:08:22 -0400 (0:00:00.532) 0:00:01.674 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.431) 0:00:02.106 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.022) 0:00:02.128 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.013) 0:00:02.142 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.042) 0:00:02.185 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.013) 0:00:02.199 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.012) 0:00:02.212 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.014) 0:00:02.226 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.012) 0:00:02.239 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.012) 0:00:02.252 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Sunday 04 August 2024 17:08:23 -0400 (0:00:00.025) 0:00:02.278 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.814) 0:00:03.092 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.015) 0:00:03.108 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.023) 0:00:03.131 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.016) 0:00:03.148 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.050) 0:00:03.199 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.020) 0:00:03.219 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.018) 0:00:03.237 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003457", "end": "2024-08-04 17:08:24.540540", "rc": 0, "start": "2024-08-04 17:08:24.537083" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.438) 0:00:03.676 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.017) 0:00:03.694 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.016) 0:00:03.710 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 17:08:24 -0400 (0:00:00.027) 0:00:03.737 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008019", "end": "2024-08-04 17:08:24.959056", "rc": 1, "start": "2024-08-04 17:08:24.951037" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.357) 0:00:04.094 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.019) 0:00:04.114 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.349) 0:00:04.464 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.018) 0:00:04.482 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.024) 0:00:04.507 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.041) 0:00:04.548 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.030) 0:00:04.579 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.035) 0:00:04.614 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.018) 0:00:04.632 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:08:25 -0400 (0:00:00.018) 0:00:04.650 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:08:27 -0400 (0:00:01.859) 0:00:06.510 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:08:28 -0400 (0:00:01.095) 0:00:07.605 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.033) 0:00:07.639 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.030) 0:00:07.669 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.030) 0:00:07.700 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.049) 0:00:07.750 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.061) 0:00:07.811 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.050) 0:00:07.861 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.061) 0:00:07.923 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.084) 0:00:08.008 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:08:28 -0400 (0:00:00.058) 0:00:08.067 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:08:29 -0400 (0:00:00.032) 0:00:08.099 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:08:29 -0400 (0:00:00.058) 0:00:08.157 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:08:29 -0400 (0:00:00.773) 0:00:08.931 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:08:29 -0400 (0:00:00.059) 0:00:08.990 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:08:29 -0400 (0:00:00.029) 0:00:09.020 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:08:29 -0400 (0:00:00.030) 0:00:09.051 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8236a444-d454-48a7-a089-b962783d9ae2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:08:30 -0400 (0:00:00.745) 0:00:09.796 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:08:30 -0400 (0:00:00.030) 0:00:09.827 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8236a444-d454-48a7-a089-b962783d9ae2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:08:30 -0400 (0:00:00.035) 0:00:09.862 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8236a444-d454-48a7-a089-b962783d9ae2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8236a444-d454-48a7-a089-b962783d9ae2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:08:30 -0400 (0:00:00.034) 0:00:09.896 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:08:30 -0400 (0:00:00.031) 0:00:09.928 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:08:31 -0400 (0:00:00.464) 0:00:10.392 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8236a444-d454-48a7-a089-b962783d9ae2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8236a444-d454-48a7-a089-b962783d9ae2" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:08:31 -0400 (0:00:00.034) 0:00:10.426 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 17:08:31 -0400 (0:00:00.057) 0:00:10.484 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:08:31 -0400 (0:00:00.086) 0:00:10.571 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:08:31 -0400 (0:00:00.033) 0:00:10.604 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:08:31 -0400 (0:00:00.361) 0:00:10.966 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:08:31 -0400 (0:00:00.030) 0:00:10.997 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023558", "end": "2024-08-04 17:08:32.236159", "rc": 0, "start": "2024-08-04 17:08:32.212601" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.390) 0:00:11.387 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.035) 0:00:11.423 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.031) 0:00:11.455 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.030) 0:00:11.486 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.032) 0:00:11.518 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.030) 0:00:11.549 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.036) 0:00:11.585 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.035) 0:00:11.620 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.034) 0:00:11.655 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.077) 0:00:11.732 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:08:32 -0400 (0:00:00.050) 0:00:11.783 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805710.5824478, "block_size": 4096, "blocks": 0, "ctime": 1722805710.5824478, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49181, "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": 1722805710.5824478, "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.365) 0:00:12.149 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.065) 0:00:12.214 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.033) 0:00:12.248 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.059) 0:00:12.307 ********* fatal: [managed_node1]: 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.060484", "end": "2024-08-04 17:08:33.581211", "rc": 1, "start": "2024-08-04 17:08:33.520727" } STDOUT: Connection 'statebr' (8236a444-d454-48a7-a089-b962783d9ae2) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.423) 0:00:12.730 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.054) 0:00:12.785 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.032) 0:00:12.817 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.064) 0:00:12.882 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.050) 0:00:12.933 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:08:33 -0400 (0:00:00.048) 0:00:12.982 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003438", "end": "2024-08-04 17:08:34.199390", "rc": 0, "start": "2024-08-04 17:08:34.195952" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:08:34 -0400 (0:00:00.368) 0:00:13.350 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:08:34 -0400 (0:00:00.033) 0:00:13.384 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:08:34 -0400 (0:00:00.032) 0:00:13.416 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 17:08:34 -0400 (0:00:00.056) 0:00:13.473 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006539", "end": "2024-08-04 17:08:34.694882", "rc": 1, "start": "2024-08-04 17:08:34.688343" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:08:34 -0400 (0:00:00.402) 0:00:13.875 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:08:34 -0400 (0:00:00.049) 0:00:13.925 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:08:35 -0400 (0:00:00.364) 0:00:14.290 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:08:35 -0400 (0:00:00.034) 0:00:14.324 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Sunday 04 August 2024 17:08:35 -0400 (0:00:00.055) 0:00:14.380 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:08:35 -0400 (0:00:00.066) 0:00:14.446 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:08:35 -0400 (0:00:00.060) 0:00:14.507 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:08:35 -0400 (0:00:00.057) 0:00:14.564 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:08:35 -0400 (0:00:00.035) 0:00:14.600 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:08:35 -0400 (0:00:00.034) 0:00:14.634 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:08:37 -0400 (0:00:01.753) 0:00:16.387 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.976) 0:00:17.364 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.035) 0:00:17.399 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.030) 0:00:17.430 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.030) 0:00:17.461 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.050) 0:00:17.511 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.063) 0:00:17.575 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.050) 0:00:17.625 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.058) 0:00:17.684 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.086) 0:00:17.770 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.030) 0:00:17.801 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.031) 0:00:17.832 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:08:38 -0400 (0:00:00.058) 0:00:17.891 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:08:39 -0400 (0:00:00.576) 0:00:18.468 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:08:39 -0400 (0:00:00.060) 0:00:18.529 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:08:39 -0400 (0:00:00.030) 0:00:18.559 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:08:39 -0400 (0:00:00.031) 0:00:18.591 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0819ec2e-f2ee-404a-89ac-cdd0a9f20765 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.597) 0:00:19.189 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.030) 0:00:19.219 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0819ec2e-f2ee-404a-89ac-cdd0a9f20765" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.071) 0:00:19.291 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0819ec2e-f2ee-404a-89ac-cdd0a9f20765\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0819ec2e-f2ee-404a-89ac-cdd0a9f20765" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.035) 0:00:19.326 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.031) 0:00:19.358 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.378) 0:00:19.736 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0819ec2e-f2ee-404a-89ac-cdd0a9f20765\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0819ec2e-f2ee-404a-89ac-cdd0a9f20765" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.036) 0:00:19.772 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.060) 0:00:19.833 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:08:40 -0400 (0:00:00.049) 0:00:19.882 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:08:41 -0400 (0:00:00.365) 0:00:20.248 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 17:08:41 -0400 (0:00:00.034) 0:00:20.283 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:08:41 -0400 (0:00:00.054) 0:00:20.337 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:08:41 -0400 (0:00:00.032) 0:00:20.370 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:08:41 -0400 (0:00:00.365) 0:00:20.735 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:08:41 -0400 (0:00:00.030) 0:00:20.765 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023788", "end": "2024-08-04 17:08:42.006643", "rc": 0, "start": "2024-08-04 17:08:41.982855" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.392) 0:00:21.158 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.070) 0:00:21.229 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.031) 0:00:21.260 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.032) 0:00:21.293 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.031) 0:00:21.324 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.032) 0:00:21.356 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.036) 0:00:21.393 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.035) 0:00:21.428 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.035) 0:00:21.463 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.048) 0:00:21.512 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.034) 0:00:21.546 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.058) 0:00:21.605 ********* fatal: [managed_node1]: 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.045845", "end": "2024-08-04 17:08:42.869474", "rc": 1, "start": "2024-08-04 17:08:42.823629" } STDOUT: Connection 'statebr' (0819ec2e-f2ee-404a-89ac-cdd0a9f20765) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.415) 0:00:22.021 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:08:42 -0400 (0:00:00.054) 0:00:22.075 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.034) 0:00:22.110 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.064) 0:00:22.174 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.087) 0:00:22.262 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.049) 0:00:22.312 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003500", "end": "2024-08-04 17:08:43.529062", "rc": 0, "start": "2024-08-04 17:08:43.525562" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.369) 0:00:22.681 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.035) 0:00:22.716 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.035) 0:00:22.751 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.054) 0:00:22.806 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.068) 0:00:22.875 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.062) 0:00:22.937 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.056) 0:00:22.994 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.037) 0:00:23.031 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:08:43 -0400 (0:00:00.036) 0:00:23.067 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:08:45 -0400 (0:00:01.745) 0:00:24.813 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:08:46 -0400 (0:00:00.975) 0:00:25.789 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:08:46 -0400 (0:00:00.035) 0:00:25.824 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:08:46 -0400 (0:00:00.030) 0:00:25.855 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:08:46 -0400 (0:00:00.031) 0:00:25.886 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:08:46 -0400 (0:00:00.051) 0:00:25.938 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:08:46 -0400 (0:00:00.060) 0:00:25.998 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:08:46 -0400 (0:00:00.052) 0:00:26.051 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.058) 0:00:26.109 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.088) 0:00:26.198 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.030) 0:00:26.228 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.031) 0:00:26.260 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.060) 0:00:26.320 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.573) 0:00:26.894 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.061) 0:00:26.955 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.030) 0:00:26.986 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:08:47 -0400 (0:00:00.031) 0:00:27.017 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:08:48 -0400 (0:00:00.642) 0:00:27.660 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:08:48 -0400 (0:00:00.030) 0:00:27.690 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:08:48 -0400 (0:00:00.072) 0:00:27.763 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:08:48 -0400 (0:00:00.035) 0:00:27.799 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:08:48 -0400 (0:00:00.031) 0:00:27.830 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:08:49 -0400 (0:00:00.378) 0:00:28.209 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:08:49 -0400 (0:00:00.036) 0:00:28.245 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 17:08:49 -0400 (0:00:00.055) 0:00:28.301 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:08:49 -0400 (0:00:00.068) 0:00:28.369 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:08:49 -0400 (0:00:00.060) 0:00:28.430 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:08:49 -0400 (0:00:00.056) 0:00:28.487 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:08:49 -0400 (0:00:00.036) 0:00:28.523 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:08:49 -0400 (0:00:00.036) 0:00:28.559 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:08:51 -0400 (0:00:01.739) 0:00:30.299 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.976) 0:00:31.275 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.035) 0:00:31.311 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.032) 0:00:31.343 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.030) 0:00:31.374 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.051) 0:00:31.425 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.060) 0:00:31.486 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.054) 0:00:31.541 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.057) 0:00:31.598 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.087) 0:00:31.686 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.031) 0:00:31.717 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.030) 0:00:31.748 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:08:52 -0400 (0:00:00.062) 0:00:31.811 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:08:53 -0400 (0:00:00.577) 0:00:32.388 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:08:53 -0400 (0:00:00.062) 0:00:32.451 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:08:53 -0400 (0:00:00.031) 0:00:32.482 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:08:53 -0400 (0:00:00.029) 0:00:32.512 ********* ok: [managed_node1] => { "_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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:08:54 -0400 (0:00:00.589) 0:00:33.102 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:08:54 -0400 (0:00:00.030) 0:00:33.133 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:08:54 -0400 (0:00:00.073) 0:00:33.207 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 83acfa52-71df-4f58-a302-4b0f595a3bf3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:08:54 -0400 (0:00:00.037) 0:00:33.244 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:08:54 -0400 (0:00:00.030) 0:00:33.275 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:08:54 -0400 (0:00:00.379) 0:00:33.655 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:08:54 -0400 (0:00:00.062) 0:00:33.718 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:08:54 -0400 (0:00:00.051) 0:00:33.769 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805728.445146, "block_size": 4096, "blocks": 0, "ctime": 1722805728.445146, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49312, "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": 1722805728.445146, "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:08:55 -0400 (0:00:00.363) 0:00:34.133 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 17:08:55 -0400 (0:00:00.034) 0:00:34.167 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:08:55 -0400 (0:00:00.055) 0:00:34.223 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:08:55 -0400 (0:00:00.033) 0:00:34.257 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:08:55 -0400 (0:00:00.363) 0:00:34.620 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:08:55 -0400 (0:00:00.030) 0:00:34.651 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023982", "end": "2024-08-04 17:08:55.891573", "rc": 0, "start": "2024-08-04 17:08:55.867591" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:08:55 -0400 (0:00:00.393) 0:00:35.045 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:08:55 -0400 (0:00:00.035) 0:00:35.080 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.066) 0:00:35.147 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.032) 0:00:35.179 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.032) 0:00:35.212 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.032) 0:00:35.245 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.036) 0:00:35.281 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.037) 0:00:35.318 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.035) 0:00:35.354 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.052) 0:00:35.406 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.033) 0:00:35.440 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.058) 0:00:35.498 ********* fatal: [managed_node1]: 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.070328", "end": "2024-08-04 17:08:56.788197", "rc": 1, "start": "2024-08-04 17:08:56.717869" } STDOUT: Connection 'statebr' (83acfa52-71df-4f58-a302-4b0f595a3bf3) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.441) 0:00:35.940 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.055) 0:00:35.995 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:08:56 -0400 (0:00:00.034) 0:00:36.029 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.066) 0:00:36.096 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.050) 0:00:36.147 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.084) 0:00:36.231 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003495", "end": "2024-08-04 17:08:57.452305", "rc": 0, "start": "2024-08-04 17:08:57.448810" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.373) 0:00:36.605 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.035) 0:00:36.640 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.034) 0:00:36.675 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.059) 0:00:36.734 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.067) 0:00:36.802 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.061) 0:00:36.864 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.057) 0:00:36.921 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.035) 0:00:36.956 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:08:57 -0400 (0:00:00.036) 0:00:36.993 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:08:59 -0400 (0:00:01.730) 0:00:38.724 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:00 -0400 (0:00:00.979) 0:00:39.704 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:00 -0400 (0:00:00.034) 0:00:39.739 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:00 -0400 (0:00:00.031) 0:00:39.770 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:00 -0400 (0:00:00.031) 0:00:39.801 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:00 -0400 (0:00:00.050) 0:00:39.852 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:00 -0400 (0:00:00.066) 0:00:39.918 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:00 -0400 (0:00:00.050) 0:00:39.969 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:00 -0400 (0:00:00.062) 0:00:40.032 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:01 -0400 (0:00:00.084) 0:00:40.117 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:01 -0400 (0:00:00.031) 0:00:40.149 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:01 -0400 (0:00:00.031) 0:00:40.180 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:01 -0400 (0:00:00.058) 0:00:40.238 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:01 -0400 (0:00:00.585) 0:00:40.824 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:01 -0400 (0:00:00.060) 0:00:40.884 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:01 -0400 (0:00:00.030) 0:00:40.914 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:01 -0400 (0:00:00.030) 0:00:40.945 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23541422-b42e-41aa-a057-ea5838196516 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:02 -0400 (0:00:00.649) 0:00:41.594 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:02 -0400 (0:00:00.032) 0:00:41.627 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23541422-b42e-41aa-a057-ea5838196516" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:02 -0400 (0:00:00.036) 0:00:41.663 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23541422-b42e-41aa-a057-ea5838196516\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23541422-b42e-41aa-a057-ea5838196516" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:02 -0400 (0:00:00.074) 0:00:41.737 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:02 -0400 (0:00:00.032) 0:00:41.770 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:09:03 -0400 (0:00:00.378) 0:00:42.149 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23541422-b42e-41aa-a057-ea5838196516\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23541422-b42e-41aa-a057-ea5838196516" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 17:09:03 -0400 (0:00:00.036) 0:00:42.185 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:03 -0400 (0:00:00.069) 0:00:42.255 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:03 -0400 (0:00:00.062) 0:00:42.317 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:03 -0400 (0:00:00.058) 0:00:42.376 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:03 -0400 (0:00:00.035) 0:00:42.412 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:03 -0400 (0:00:00.037) 0:00:42.449 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:05 -0400 (0:00:01.754) 0:00:44.204 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.901) 0:00:45.105 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.034) 0:00:45.140 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.072) 0:00:45.213 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.032) 0:00:45.246 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.051) 0:00:45.297 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.065) 0:00:45.363 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.052) 0:00:45.415 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.062) 0:00:45.477 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.089) 0:00:45.567 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.031) 0:00:45.598 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.032) 0:00:45.631 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:06 -0400 (0:00:00.060) 0:00:45.692 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:07 -0400 (0:00:00.584) 0:00:46.276 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:07 -0400 (0:00:00.061) 0:00:46.337 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:07 -0400 (0:00:00.030) 0:00:46.369 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:07 -0400 (0:00:00.033) 0:00:46.402 ********* ok: [managed_node1] => { "_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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 23541422-b42e-41aa-a057-ea5838196516 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:07 -0400 (0:00:00.548) 0:00:46.950 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:07 -0400 (0:00:00.031) 0:00:46.982 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 23541422-b42e-41aa-a057-ea5838196516 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:07 -0400 (0:00:00.035) 0:00:47.018 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 23541422-b42e-41aa-a057-ea5838196516 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 23541422-b42e-41aa-a057-ea5838196516 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:07 -0400 (0:00:00.035) 0:00:47.054 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:08 -0400 (0:00:00.076) 0:00:47.130 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:09:08 -0400 (0:00:00.382) 0:00:47.513 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Sunday 04 August 2024 17:09:08 -0400 (0:00:00.056) 0:00:47.570 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:08 -0400 (0:00:00.068) 0:00:47.639 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:08 -0400 (0:00:00.061) 0:00:47.700 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:08 -0400 (0:00:00.056) 0:00:47.757 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:08 -0400 (0:00:00.037) 0:00:47.794 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:08 -0400 (0:00:00.036) 0:00:47.831 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:10 -0400 (0:00:01.752) 0:00:49.583 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.897) 0:00:50.481 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.035) 0:00:50.516 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.072) 0:00:50.589 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.031) 0:00:50.620 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.052) 0:00:50.673 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.061) 0:00:50.735 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.055) 0:00:50.791 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.059) 0:00:50.850 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.087) 0:00:50.938 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.032) 0:00:50.970 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.030) 0:00:51.001 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:11 -0400 (0:00:00.062) 0:00:51.064 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:12 -0400 (0:00:00.578) 0:00:51.642 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:12 -0400 (0:00:00.059) 0:00:51.702 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:12 -0400 (0:00:00.032) 0:00:51.734 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:12 -0400 (0:00:00.030) 0:00:51.765 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:13 -0400 (0:00:00.584) 0:00:52.350 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:13 -0400 (0:00:00.031) 0:00:52.381 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:13 -0400 (0:00:00.036) 0:00:52.417 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:13 -0400 (0:00:00.036) 0:00:52.454 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:13 -0400 (0:00:00.030) 0:00:52.485 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:09:13 -0400 (0:00:00.422) 0:00:52.907 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:09:13 -0400 (0:00:00.064) 0:00:52.972 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:09:13 -0400 (0:00:00.051) 0:00:53.023 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805742.39075, "block_size": 4096, "blocks": 0, "ctime": 1722805742.39075, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49443, "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": 1722805742.39075, "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:09:14 -0400 (0:00:00.367) 0:00:53.391 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 17:09:14 -0400 (0:00:00.035) 0:00:53.426 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:09:14 -0400 (0:00:00.055) 0:00:53.482 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:09:14 -0400 (0:00:00.034) 0:00:53.517 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:09:14 -0400 (0:00:00.368) 0:00:53.885 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:09:14 -0400 (0:00:00.030) 0:00:53.915 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024021", "end": "2024-08-04 17:09:15.155082", "rc": 1, "start": "2024-08-04 17:09:15.131061" } 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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.392) 0:00:54.307 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.032) 0:00:54.340 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.032) 0:00:54.373 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.031) 0:00:54.405 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.032) 0:00:54.437 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.071) 0:00:54.509 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.035) 0:00:54.544 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.050) 0:00:54.594 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.034) 0:00:54.629 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:09:15 -0400 (0:00:00.060) 0:00:54.690 ********* fatal: [managed_node1]: 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.086729", "end": "2024-08-04 17:09:15.995790", "rc": 1, "start": "2024-08-04 17:09:15.909061" } STDOUT: Connection 'statebr' (23541422-b42e-41aa-a057-ea5838196516) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.456) 0:00:55.147 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.055) 0:00:55.202 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.033) 0:00:55.236 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (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_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.067) 0:00:55.303 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.050) 0:00:55.353 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.049) 0:00:55.403 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003791", "end": "2024-08-04 17:09:16.622518", "rc": 0, "start": "2024-08-04 17:09:16.618727" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.371) 0:00:55.774 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.034) 0:00:55.809 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.032) 0:00:55.841 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.099) 0:00:55.941 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.068) 0:00:56.010 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:16 -0400 (0:00:00.061) 0:00:56.071 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:17 -0400 (0:00:00.057) 0:00:56.129 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:17 -0400 (0:00:00.035) 0:00:56.165 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:17 -0400 (0:00:00.036) 0:00:56.202 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:18 -0400 (0:00:01.728) 0:00:57.930 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:19 -0400 (0:00:00.900) 0:00:58.830 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:19 -0400 (0:00:00.034) 0:00:58.865 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:19 -0400 (0:00:00.032) 0:00:58.897 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:19 -0400 (0:00:00.030) 0:00:58.928 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:19 -0400 (0:00:00.054) 0:00:58.982 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:19 -0400 (0:00:00.103) 0:00:59.086 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.052) 0:00:59.138 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.063) 0:00:59.201 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.085) 0:00:59.286 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.033) 0:00:59.319 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.031) 0:00:59.351 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.062) 0:00:59.414 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.578) 0:00:59.992 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.060) 0:01:00.053 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:20 -0400 (0:00:00.032) 0:01:00.086 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:21 -0400 (0:00:00.032) 0:01:00.118 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:21 -0400 (0:00:00.593) 0:01:00.712 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:21 -0400 (0:00:00.032) 0:01:00.744 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:21 -0400 (0:00:00.035) 0:01:00.780 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:21 -0400 (0:00:00.037) 0:01:00.817 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:21 -0400 (0:00:00.032) 0:01:00.849 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:09:22 -0400 (0:00:00.382) 0:01:01.232 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 17:09:22 -0400 (0:00:00.035) 0:01:01.267 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:22 -0400 (0:00:00.107) 0:01:01.375 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:22 -0400 (0:00:00.062) 0:01:01.437 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:22 -0400 (0:00:00.058) 0:01:01.495 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:22 -0400 (0:00:00.035) 0:01:01.531 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:22 -0400 (0:00:00.036) 0:01:01.568 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:24 -0400 (0:00:01.760) 0:01:03.329 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.905) 0:01:04.234 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.034) 0:01:04.269 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.031) 0:01:04.301 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.031) 0:01:04.332 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.055) 0:01:04.387 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.062) 0:01:04.450 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.051) 0:01:04.501 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.101) 0:01:04.603 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.085) 0:01:04.689 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.032) 0:01:04.722 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.031) 0:01:04.753 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:25 -0400 (0:00:00.062) 0:01:04.815 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:26 -0400 (0:00:00.586) 0:01:05.402 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:26 -0400 (0:00:00.059) 0:01:05.462 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:26 -0400 (0:00:00.032) 0:01:05.494 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:26 -0400 (0:00:00.030) 0:01:05.525 ********* ok: [managed_node1] => { "_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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:26 -0400 (0:00:00.552) 0:01:06.077 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.033) 0:01:06.110 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.035) 0:01:06.146 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16ffcd3c-92bd-4abc-b77c-c5fd03aaeee1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.036) 0:01:06.183 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.032) 0:01:06.215 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.383) 0:01:06.598 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.067) 0:01:06.666 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.104) 0:01:06.771 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.058) 0:01:06.829 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.035) 0:01:06.865 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:27 -0400 (0:00:00.037) 0:01:06.902 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:29 -0400 (0:00:01.764) 0:01:08.667 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.901) 0:01:09.568 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.036) 0:01:09.605 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.030) 0:01:09.636 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.032) 0:01:09.668 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.051) 0:01:09.719 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.065) 0:01:09.785 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.051) 0:01:09.836 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.062) 0:01:09.898 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.087) 0:01:09.986 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:30 -0400 (0:00:00.031) 0:01:10.017 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:31 -0400 (0:00:00.077) 0:01:10.095 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:31 -0400 (0:00:00.060) 0:01:10.155 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:31 -0400 (0:00:00.583) 0:01:10.739 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:31 -0400 (0:00:00.061) 0:01:10.800 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:31 -0400 (0:00:00.031) 0:01:10.832 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:31 -0400 (0:00:00.032) 0:01:10.865 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:32 -0400 (0:00:00.586) 0:01:11.451 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:32 -0400 (0:00:00.032) 0:01:11.484 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:32 -0400 (0:00:00.036) 0:01:11.520 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:32 -0400 (0:00:00.036) 0:01:11.556 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:32 -0400 (0:00:00.032) 0:01:11.589 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:09:32 -0400 (0:00:00.380) 0:01:11.970 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 17:09:32 -0400 (0:00:00.057) 0:01:12.028 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:33 -0400 (0:00:00.069) 0:01:12.097 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:33 -0400 (0:00:00.108) 0:01:12.206 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:33 -0400 (0:00:00.058) 0:01:12.265 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:33 -0400 (0:00:00.037) 0:01:12.302 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:33 -0400 (0:00:00.037) 0:01:12.340 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:35 -0400 (0:00:01.760) 0:01:14.100 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:35 -0400 (0:00:00.899) 0:01:15.000 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:35 -0400 (0:00:00.035) 0:01:15.035 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:35 -0400 (0:00:00.032) 0:01:15.067 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.030) 0:01:15.098 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.056) 0:01:15.155 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.061) 0:01:15.217 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.054) 0:01:15.271 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.060) 0:01:15.332 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.086) 0:01:15.419 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.032) 0:01:15.452 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.030) 0:01:15.482 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:36 -0400 (0:00:00.159) 0:01:15.642 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:37 -0400 (0:00:00.584) 0:01:16.226 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:37 -0400 (0:00:00.059) 0:01:16.286 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:37 -0400 (0:00:00.032) 0:01:16.318 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:37 -0400 (0:00:00.031) 0:01:16.350 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:37 -0400 (0:00:00.652) 0:01:17.003 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:37 -0400 (0:00:00.032) 0:01:17.035 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:37 -0400 (0:00:00.035) 0:01:17.071 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:38 -0400 (0:00:00.036) 0:01:17.107 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:38 -0400 (0:00:00.030) 0:01:17.138 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:09:38 -0400 (0:00:00.380) 0:01:17.519 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 17:09:38 -0400 (0:00:00.058) 0:01:17.578 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:09:38 -0400 (0:00:00.056) 0:01:17.634 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:09:38 -0400 (0:00:00.034) 0:01:17.669 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:09:38 -0400 (0:00:00.364) 0:01:18.033 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.072) 0:01:18.106 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022818", "end": "2024-08-04 17:09:39.342957", "rc": 1, "start": "2024-08-04 17:09:39.320139" } 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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.388) 0:01:18.494 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.033) 0:01:18.528 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.032) 0:01:18.560 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.033) 0:01:18.594 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.033) 0:01:18.627 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.032) 0:01:18.659 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.036) 0:01:18.696 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.079) 0:01:18.775 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:09:39 -0400 (0:00:00.051) 0:01:18.827 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.364) 0:01:19.192 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.037) 0:01:19.229 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.034) 0:01:19.264 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.060) 0:01:19.324 ********* fatal: [managed_node1]: 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.044853", "end": "2024-08-04 17:09:40.584746", "rc": 1, "start": "2024-08-04 17:09:40.539893" } 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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.412) 0:01:19.736 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.099) 0:01:19.836 ********* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.035) 0:01:19.871 ********* ok: [managed_node1] => (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_node1] => (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_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.066) 0:01:19.938 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.051) 0:01:19.989 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:09:40 -0400 (0:00:00.050) 0:01:20.039 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003476", "end": "2024-08-04 17:09:41.256470", "rc": 0, "start": "2024-08-04 17:09:41.252994" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.369) 0:01:20.409 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.034) 0:01:20.443 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.036) 0:01:20.480 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.063) 0:01:20.544 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.070) 0:01:20.615 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.062) 0:01:20.677 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.057) 0:01:20.734 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.081) 0:01:20.816 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:41 -0400 (0:00:00.038) 0:01:20.854 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:43 -0400 (0:00:01.739) 0:01:22.594 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.900) 0:01:23.494 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.035) 0:01:23.530 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.033) 0:01:23.564 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.032) 0:01:23.596 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.056) 0:01:23.652 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.063) 0:01:23.715 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.051) 0:01:23.767 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.060) 0:01:23.827 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.087) 0:01:23.915 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.032) 0:01:23.947 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.031) 0:01:23.979 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:44 -0400 (0:00:00.063) 0:01:24.042 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:45 -0400 (0:00:00.680) 0:01:24.723 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:45 -0400 (0:00:00.061) 0:01:24.784 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:45 -0400 (0:00:00.032) 0:01:24.817 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:45 -0400 (0:00:00.032) 0:01:24.849 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:46 -0400 (0:00:00.601) 0:01:25.451 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:46 -0400 (0:00:00.033) 0:01:25.484 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:46 -0400 (0:00:00.035) 0:01:25.519 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:46 -0400 (0:00:00.037) 0:01:25.557 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:46 -0400 (0:00:00.031) 0:01:25.588 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Sunday 04 August 2024 17:09:46 -0400 (0:00:00.384) 0:01:25.973 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Sunday 04 August 2024 17:09:46 -0400 (0:00:00.035) 0:01:26.008 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:46 -0400 (0:00:00.069) 0:01:26.078 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:47 -0400 (0:00:00.062) 0:01:26.141 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:47 -0400 (0:00:00.057) 0:01:26.198 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:47 -0400 (0:00:00.036) 0:01:26.234 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:47 -0400 (0:00:00.080) 0:01:26.315 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:48 -0400 (0:00:01.742) 0:01:28.057 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:49 -0400 (0:00:00.900) 0:01:28.958 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:49 -0400 (0:00:00.035) 0:01:28.993 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:49 -0400 (0:00:00.033) 0:01:29.026 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:49 -0400 (0:00:00.031) 0:01:29.058 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:50 -0400 (0:00:00.055) 0:01:29.113 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:50 -0400 (0:00:00.062) 0:01:29.176 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:50 -0400 (0:00:00.055) 0:01:29.232 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:50 -0400 (0:00:00.061) 0:01:29.293 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:50 -0400 (0:00:00.086) 0:01:29.380 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:50 -0400 (0:00:00.034) 0:01:29.414 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:50 -0400 (0:00:00.032) 0:01:29.447 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:50 -0400 (0:00:00.065) 0:01:29.513 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.578) 0:01:30.091 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.059) 0:01:30.151 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.079) 0:01:30.230 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.032) 0:01:30.262 ********* ok: [managed_node1] => { "_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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.546) 0:01:30.809 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.032) 0:01:30.841 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.036) 0:01:30.878 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a4ee5a55-614e-4f9e-992e-717f7e09537e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.036) 0:01:30.914 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:51 -0400 (0:00:00.030) 0:01:30.945 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 17:09:52 -0400 (0:00:00.381) 0:01:31.327 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:52 -0400 (0:00:00.070) 0:01:31.397 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:52 -0400 (0:00:00.062) 0:01:31.460 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:52 -0400 (0:00:00.059) 0:01:31.520 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:52 -0400 (0:00:00.036) 0:01:31.556 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:52 -0400 (0:00:00.036) 0:01:31.593 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:54 -0400 (0:00:01.723) 0:01:33.317 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:09:55 -0400 (0:00:01.001) 0:01:34.318 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.035) 0:01:34.354 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.033) 0:01:34.388 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.032) 0:01:34.420 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.055) 0:01:34.476 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.063) 0:01:34.540 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.052) 0:01:34.592 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.064) 0:01:34.656 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.087) 0:01:34.743 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.032) 0:01:34.775 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.032) 0:01:34.808 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:09:55 -0400 (0:00:00.059) 0:01:34.867 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:09:56 -0400 (0:00:00.587) 0:01:35.455 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:09:56 -0400 (0:00:00.060) 0:01:35.515 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:09:56 -0400 (0:00:00.032) 0:01:35.547 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:09:56 -0400 (0:00:00.032) 0:01:35.580 ********* changed: [managed_node1] => { "_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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.697) 0:01:36.277 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.083) 0:01:36.361 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.036) 0:01:36.397 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.038) 0:01:36.435 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.032) 0:01:36.467 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.382) 0:01:36.850 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.058) 0:01:36.908 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.070) 0:01:36.978 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:09:57 -0400 (0:00:00.063) 0:01:37.042 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:09:58 -0400 (0:00:00.058) 0:01:37.100 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:09:58 -0400 (0:00:00.037) 0:01:37.138 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:09:58 -0400 (0:00:00.036) 0:01:37.175 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:09:59 -0400 (0:00:01.741) 0:01:38.916 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:10:00 -0400 (0:00:00.996) 0:01:39.912 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:10:00 -0400 (0:00:00.037) 0:01:39.950 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:10:00 -0400 (0:00:00.032) 0:01:39.982 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:10:00 -0400 (0:00:00.032) 0:01:40.014 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:10:00 -0400 (0:00:00.052) 0:01:40.067 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:10:01 -0400 (0:00:00.063) 0:01:40.130 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:10:01 -0400 (0:00:00.053) 0:01:40.183 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:10:01 -0400 (0:00:00.060) 0:01:40.244 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:10:01 -0400 (0:00:00.091) 0:01:40.336 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:10:01 -0400 (0:00:00.032) 0:01:40.368 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:10:01 -0400 (0:00:00.032) 0:01:40.401 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:10:01 -0400 (0:00:00.061) 0:01:40.463 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:10:01 -0400 (0:00:00.584) 0:01:41.047 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:10:02 -0400 (0:00:00.064) 0:01:41.112 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:10:02 -0400 (0:00:00.032) 0:01:41.144 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:10:02 -0400 (0:00:00.032) 0:01:41.176 ********* ok: [managed_node1] => { "_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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:10:02 -0400 (0:00:00.628) 0:01:41.805 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:10:02 -0400 (0:00:00.031) 0:01:41.836 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:10:02 -0400 (0:00:00.088) 0:01:41.925 ********* ok: [managed_node1] => { "__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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:10:02 -0400 (0:00:00.037) 0:01:41.962 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:10:02 -0400 (0:00:00.032) 0:01:41.994 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Sunday 04 August 2024 17:10:03 -0400 (0:00:00.382) 0:01:42.377 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 17:10:03 -0400 (0:00:00.066) 0:01:42.444 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 17:10:03 -0400 (0:00:00.055) 0:01:42.500 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 17:10:03 -0400 (0:00:00.035) 0:01:42.535 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 17:10:03 -0400 (0:00:00.366) 0:01:42.902 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 17:10:03 -0400 (0:00:00.032) 0:01:42.934 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022199", "end": "2024-08-04 17:10:04.172864", "rc": 1, "start": "2024-08-04 17:10:04.150665" } 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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 17:10:04 -0400 (0:00:00.389) 0:01:43.324 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 17:10:04 -0400 (0:00:00.034) 0:01:43.359 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 17:10:04 -0400 (0:00:00.033) 0:01:43.392 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 17:10:04 -0400 (0:00:00.034) 0:01:43.426 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 17:10:04 -0400 (0:00:00.032) 0:01:43.459 ********* skipping: [managed_node1] => { "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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 17:10:04 -0400 (0:00:00.033) 0:01:43.493 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Sunday 04 August 2024 17:10:04 -0400 (0:00:00.085) 0:01:43.578 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.332452", "end": "2024-08-04 17:10:05.127366", "rc": 0, "start": "2024-08-04 17:10:04.794914" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.701) 0:01:44.280 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.037) 0:01:44.317 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.035) 0:01:44.353 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.086) 0:01:44.440 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.051) 0:01:44.492 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.367) 0:01:44.859 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.037) 0:01:44.896 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.036) 0:01:44.933 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 04 August 2024 17:10:05 -0400 (0:00:00.067) 0:01:45.000 ********* fatal: [managed_node1]: 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.043955", "end": "2024-08-04 17:10:06.266000", "rc": 1, "start": "2024-08-04 17:10:06.222045" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Sunday 04 August 2024 17:10:06 -0400 (0:00:00.418) 0:01:45.419 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008888", "end": "2024-08-04 17:10:06.645670", "rc": 0, "start": "2024-08-04 17:10:06.636782" } 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 0a:ff:ee:dc:b7:b5 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.13.138/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2322sec preferred_lft 2322sec inet6 fe80::8ff:eeff:fedc:b7b5/64 scope link valid_lft forever preferred_lft forever 84: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ba:73:e4:06:88:97 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.12.1 dev eth0 proto dhcp src 10.31.13.138 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.138 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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Sunday 04 August 2024 17:10:06 -0400 (0:00:00.377) 0:01:45.797 ********* ok: [managed_node1] => { "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.262591", "end": "2024-08-04 17:10:07.283870", "rc": 0, "start": "2024-08-04 17:10:07.021279" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 10166 0 --:--:-- --:--:-- --:--:-- 10517 % 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 1412 0 --:--:-- --:--:-- --:--:-- 1412 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Sunday 04 August 2024 17:10:07 -0400 (0:00:00.692) 0:01:46.489 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmp.Vsr9byAk6N/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/tmp.Vsr9byAk6N/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/tmp.Vsr9byAk6N/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/tmp.Vsr9byAk6N/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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/tmp.Vsr9byAk6N/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/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.10s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26