[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.0iFxjfmP4M executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 03 August 2024 08:52:23 -0400 (0:00:00.017) 0:00:00.017 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 03 August 2024 08:52:24 -0400 (0:00:01.069) 0:00:01.087 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 03 August 2024 08:52:24 -0400 (0:00:00.017) 0:00:01.104 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 03 August 2024 08:52:24 -0400 (0:00:00.475) 0:00:01.580 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.402) 0:00:01.983 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.020) 0:00:02.004 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.013) 0:00:02.017 ******* included: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.041) 0:00:02.059 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.013) 0:00:02.073 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.013) 0:00:02.086 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.012) 0:00:02.098 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.011) 0:00:02.110 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.011) 0:00:02.122 ******* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.024) 0:00:02.146 ******* ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.833) 0:00:02.979 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.016) 0:00:02.996 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.024) 0:00:03.020 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.016) 0:00:03.036 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.045) 0:00:03.082 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.018) 0:00:03.101 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.017) 0:00:03.118 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003339", "end": "2024-08-03 08:52:26.878084", "rc": 0, "start": "2024-08-03 08:52:26.874745" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.407) 0:00:03.526 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.018) 0:00:03.544 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.017) 0:00:03.561 ******* included: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.028) 0:00:03.589 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007590", "end": "2024-08-03 08:52:27.276896", "rc": 1, "start": "2024-08-03 08:52:27.269306" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.335) 0:00:03.924 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.020) 0:00:03.944 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.331) 0:00:04.276 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.017) 0:00:04.294 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.024) 0:00:04.318 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.039) 0:00:04.358 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.030) 0:00:04.389 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.036) 0:00:04.425 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.019) 0:00:04.444 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.019) 0:00:04.464 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:52:29 -0400 (0:00:01.806) 0:00:06.270 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:52:30 -0400 (0:00:00.912) 0:00:07.182 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:52:30 -0400 (0:00:00.033) 0:00:07.216 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:52:30 -0400 (0:00:00.028) 0:00:07.245 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:52:30 -0400 (0:00:00.029) 0:00:07.274 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:52:30 -0400 (0:00:00.054) 0:00:07.329 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:52:30 -0400 (0:00:00.058) 0:00:07.387 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:52:30 -0400 (0:00:00.046) 0:00:07.433 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:52:30 -0400 (0:00:00.054) 0:00:07.488 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:52:31 -0400 (0:00:00.140) 0:00:07.629 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:52:31 -0400 (0:00:00.028) 0:00:07.657 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:52:31 -0400 (0:00:00.028) 0:00:07.685 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:52:31 -0400 (0:00:00.052) 0:00:07.738 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:52:31 -0400 (0:00:00.721) 0:00:08.460 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:52:31 -0400 (0:00:00.057) 0:00:08.517 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:52:31 -0400 (0:00:00.028) 0:00:08.546 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:52:31 -0400 (0:00:00.029) 0:00:08.576 ******* 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, e08e967d-adab-4bde-a555-d94274d5aef5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:52:32 -0400 (0:00:00.685) 0:00:09.262 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:52:32 -0400 (0:00:00.028) 0:00:09.291 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e08e967d-adab-4bde-a555-d94274d5aef5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:52:32 -0400 (0:00:00.033) 0:00:09.324 ******* 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, e08e967d-adab-4bde-a555-d94274d5aef5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e08e967d-adab-4bde-a555-d94274d5aef5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:52:32 -0400 (0:00:00.033) 0:00:09.357 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:52:32 -0400 (0:00:00.029) 0:00:09.387 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:52:33 -0400 (0:00:00.435) 0:00:09.822 ******* 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, e08e967d-adab-4bde-a555-d94274d5aef5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e08e967d-adab-4bde-a555-d94274d5aef5" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:52:33 -0400 (0:00:00.034) 0:00:09.857 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:52:33 -0400 (0:00:00.054) 0:00:09.911 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:52:33 -0400 (0:00:00.090) 0:00:10.002 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:52:33 -0400 (0:00:00.032) 0:00:10.034 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:52:33 -0400 (0:00:00.340) 0:00:10.375 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:52:33 -0400 (0:00:00.029) 0:00:10.404 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019360", "end": "2024-08-03 08:52:34.103524", "rc": 0, "start": "2024-08-03 08:52:34.084164" } 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.362) 0:00:10.767 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.033) 0:00:10.800 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.030) 0:00:10.831 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.029) 0:00:10.861 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.031) 0:00:10.892 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.029) 0:00:10.921 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.034) 0:00:10.955 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.034) 0:00:10.989 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.032) 0:00:11.022 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.078) 0:00:11.101 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.047) 0:00:11.149 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689552.5524368, "block_size": 4096, "blocks": 0, "ctime": 1722689552.5524368, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42849, "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": 1722689552.5524368, "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.341) 0:00:11.491 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.072) 0:00:11.563 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:52:34 -0400 (0:00:00.032) 0:00:11.596 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:52:35 -0400 (0:00:00.056) 0:00:11.652 ******* 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.051457", "end": "2024-08-03 08:52:35.383214", "rc": 1, "start": "2024-08-03 08:52:35.331757" } STDOUT: Connection 'statebr' (e08e967d-adab-4bde-a555-d94274d5aef5) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 03 August 2024 08:52:35 -0400 (0:00:00.392) 0:00:12.044 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:52:35 -0400 (0:00:00.051) 0:00:12.096 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:52:35 -0400 (0:00:00.033) 0:00:12.130 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:52:35 -0400 (0:00:00.064) 0:00:12.194 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:52:35 -0400 (0:00:00.048) 0:00:12.242 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:52:35 -0400 (0:00:00.047) 0:00:12.290 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2024-08-03 08:52:35.975144", "rc": 0, "start": "2024-08-03 08:52:35.971800" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:52:36 -0400 (0:00:00.347) 0:00:12.638 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:52:36 -0400 (0:00:00.034) 0:00:12.672 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:52:36 -0400 (0:00:00.033) 0:00:12.705 ******* included: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 03 August 2024 08:52:36 -0400 (0:00:00.055) 0:00:12.761 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006009", "end": "2024-08-03 08:52:36.450566", "rc": 1, "start": "2024-08-03 08:52:36.444557" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:52:36 -0400 (0:00:00.379) 0:00:13.141 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:52:36 -0400 (0:00:00.047) 0:00:13.188 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:52:36 -0400 (0:00:00.345) 0:00:13.533 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:52:36 -0400 (0:00:00.035) 0:00:13.569 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 03 August 2024 08:52:37 -0400 (0:00:00.054) 0:00:13.623 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:52:37 -0400 (0:00:00.065) 0:00:13.688 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:52:37 -0400 (0:00:00.058) 0:00:13.747 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:52:37 -0400 (0:00:00.053) 0:00:13.800 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:52:37 -0400 (0:00:00.035) 0:00:13.836 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:52:37 -0400 (0:00:00.033) 0:00:13.870 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:52:38 -0400 (0:00:01.715) 0:00:15.585 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:52:39 -0400 (0:00:00.770) 0:00:16.356 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:52:39 -0400 (0:00:00.034) 0:00:16.391 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:52:39 -0400 (0:00:00.030) 0:00:16.422 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:52:39 -0400 (0:00:00.030) 0:00:16.453 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:52:39 -0400 (0:00:00.059) 0:00:16.513 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:52:39 -0400 (0:00:00.058) 0:00:16.571 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.049) 0:00:16.621 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.056) 0:00:16.678 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.084) 0:00:16.762 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.029) 0:00:16.791 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.029) 0:00:16.821 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.056) 0:00:16.877 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.545) 0:00:17.422 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.058) 0:00:17.481 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.028) 0:00:17.510 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:52:40 -0400 (0:00:00.028) 0:00:17.538 ******* 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, 6b179dda-7753-40b2-a712-49fb17bc3a64 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:52:41 -0400 (0:00:00.569) 0:00:18.108 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:52:41 -0400 (0:00:00.029) 0:00:18.137 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b179dda-7753-40b2-a712-49fb17bc3a64" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:52:41 -0400 (0:00:00.069) 0:00:18.206 ******* 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, 6b179dda-7753-40b2-a712-49fb17bc3a64\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b179dda-7753-40b2-a712-49fb17bc3a64" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:52:41 -0400 (0:00:00.034) 0:00:18.241 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:52:41 -0400 (0:00:00.030) 0:00:18.271 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.356) 0:00:18.628 ******* 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, 6b179dda-7753-40b2-a712-49fb17bc3a64\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b179dda-7753-40b2-a712-49fb17bc3a64" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.033) 0:00:18.662 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.058) 0:00:18.721 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.047) 0:00:18.769 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.343) 0:00:19.112 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.034) 0:00:19.147 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.052) 0:00:19.199 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.031) 0:00:19.230 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:52:42 -0400 (0:00:00.345) 0:00:19.576 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.030) 0:00:19.606 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018596", "end": "2024-08-03 08:52:43.310309", "rc": 0, "start": "2024-08-03 08:52:43.291713" } 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.366) 0:00:19.973 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.073) 0:00:20.046 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.030) 0:00:20.076 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.031) 0:00:20.108 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.030) 0:00:20.139 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.031) 0:00:20.170 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.036) 0:00:20.207 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.034) 0:00:20.241 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.034) 0:00:20.275 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.046) 0:00:20.322 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.034) 0:00:20.356 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:52:43 -0400 (0:00:00.057) 0:00:20.413 ******* 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.037626", "end": "2024-08-03 08:52:44.138585", "rc": 1, "start": "2024-08-03 08:52:44.100959" } STDOUT: Connection 'statebr' (6b179dda-7753-40b2-a712-49fb17bc3a64) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.390) 0:00:20.804 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.051) 0:00:20.856 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.033) 0:00:20.889 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.063) 0:00:20.952 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.088) 0:00:21.041 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.046) 0:00:21.088 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003432", "end": "2024-08-03 08:52:44.781195", "rc": 0, "start": "2024-08-03 08:52:44.777763" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.356) 0:00:21.445 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.034) 0:00:21.479 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.034) 0:00:21.514 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:52:44 -0400 (0:00:00.051) 0:00:21.565 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:52:45 -0400 (0:00:00.064) 0:00:21.629 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:52:45 -0400 (0:00:00.058) 0:00:21.688 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:52:45 -0400 (0:00:00.054) 0:00:21.742 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:52:45 -0400 (0:00:00.036) 0:00:21.779 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:52:45 -0400 (0:00:00.035) 0:00:21.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 : Check which packages are installed] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:52:46 -0400 (0:00:01.726) 0:00:23.541 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:52:47 -0400 (0:00:00.765) 0:00:24.306 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:52:47 -0400 (0:00:00.034) 0:00:24.341 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:52:47 -0400 (0:00:00.030) 0:00:24.371 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:52:47 -0400 (0:00:00.030) 0:00:24.402 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:52:47 -0400 (0:00:00.058) 0:00:24.461 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:52:47 -0400 (0:00:00.059) 0:00:24.520 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:52:47 -0400 (0:00:00.050) 0:00:24.571 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.055) 0:00:24.627 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.085) 0:00:24.712 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.030) 0:00:24.742 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.030) 0:00:24.773 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.057) 0:00:24.830 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.547) 0:00:25.378 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.061) 0:00:25.439 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.029) 0:00:25.469 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:52:48 -0400 (0:00:00.030) 0:00:25.500 ******* 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, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:52:49 -0400 (0:00:00.603) 0:00:26.104 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:52:49 -0400 (0:00:00.029) 0:00:26.133 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:52:49 -0400 (0:00:00.079) 0:00:26.212 ******* 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, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:52:49 -0400 (0:00:00.035) 0:00:26.247 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:52:49 -0400 (0:00:00.031) 0:00:26.279 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:52:50 -0400 (0:00:00.354) 0:00:26.634 ******* 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, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:52:50 -0400 (0:00:00.035) 0:00:26.670 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 03 August 2024 08:52:50 -0400 (0:00:00.053) 0:00:26.723 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:52:50 -0400 (0:00:00.065) 0:00:26.789 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:52:50 -0400 (0:00:00.058) 0:00:26.848 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:52:50 -0400 (0:00:00.053) 0:00:26.901 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:52:50 -0400 (0:00:00.034) 0:00:26.936 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:52:50 -0400 (0:00:00.035) 0:00:26.972 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:52:52 -0400 (0:00:01.714) 0:00:28.686 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:52:52 -0400 (0:00:00.773) 0:00:29.459 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:52:52 -0400 (0:00:00.035) 0:00:29.495 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:52:52 -0400 (0:00:00.030) 0:00:29.525 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:52:52 -0400 (0:00:00.030) 0:00:29.556 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.058) 0:00:29.615 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.057) 0:00:29.673 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.051) 0:00:29.725 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.057) 0:00:29.782 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.085) 0:00:29.867 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.031) 0:00:29.899 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.028) 0:00:29.927 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.055) 0:00:29.983 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.548) 0:00:30.531 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:52:53 -0400 (0:00:00.061) 0:00:30.592 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:52:54 -0400 (0:00:00.030) 0:00:30.623 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:52:54 -0400 (0:00:00.029) 0:00:30.653 ******* 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, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:52:54 -0400 (0:00:00.570) 0:00:31.223 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:52:54 -0400 (0:00:00.031) 0:00:31.254 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:52:54 -0400 (0:00:00.083) 0:00:31.337 ******* 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, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 32cdd13b-fbed-4d18-b761-7d47c3ad3be2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:52:54 -0400 (0:00:00.035) 0:00:31.373 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:52:54 -0400 (0:00:00.031) 0:00:31.404 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:52:55 -0400 (0:00:00.354) 0:00:31.759 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:52:55 -0400 (0:00:00.060) 0:00:31.820 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:52:55 -0400 (0:00:00.048) 0:00:31.868 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689569.3925338, "block_size": 4096, "blocks": 0, "ctime": 1722689569.3925338, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42974, "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": 1722689569.3925338, "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:52:55 -0400 (0:00:00.354) 0:00:32.222 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:52:55 -0400 (0:00:00.034) 0:00:32.257 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:52:55 -0400 (0:00:00.053) 0:00:32.311 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:52:55 -0400 (0:00:00.032) 0:00:32.343 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.343) 0:00:32.686 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.030) 0:00:32.717 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019405", "end": "2024-08-03 08:52:56.416464", "rc": 0, "start": "2024-08-03 08:52:56.397059" } 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.361) 0:00:33.079 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.033) 0:00:33.112 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.071) 0:00:33.183 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.031) 0:00:33.215 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.031) 0:00:33.247 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.030) 0:00:33.277 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.035) 0:00:33.313 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.035) 0:00:33.349 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.033) 0:00:33.382 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.046) 0:00:33.429 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.032) 0:00:33.461 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.057) 0:00:33.519 ******* 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.060602", "end": "2024-08-03 08:52:57.263225", "rc": 1, "start": "2024-08-03 08:52:57.202623" } STDOUT: Connection 'statebr' (32cdd13b-fbed-4d18-b761-7d47c3ad3be2) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.406) 0:00:33.925 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.052) 0:00:33.978 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.032) 0:00:34.010 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.064) 0:00:34.075 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.048) 0:00:34.124 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.082) 0:00:34.206 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003317", "end": "2024-08-03 08:52:57.892935", "rc": 0, "start": "2024-08-03 08:52:57.889618" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.350) 0:00:34.556 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:52:57 -0400 (0:00:00.033) 0:00:34.590 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:52:58 -0400 (0:00:00.033) 0:00:34.623 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:52:58 -0400 (0:00:00.056) 0:00:34.680 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:52:58 -0400 (0:00:00.065) 0:00:34.746 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:52:58 -0400 (0:00:00.059) 0:00:34.805 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:52:58 -0400 (0:00:00.055) 0:00:34.861 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:52:58 -0400 (0:00:00.033) 0:00:34.894 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:52:58 -0400 (0:00:00.034) 0:00:34.929 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:00 -0400 (0:00:01.746) 0:00:36.676 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.785) 0:00:37.461 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.034) 0:00:37.496 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.031) 0:00:37.528 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.030) 0:00:37.558 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.062) 0:00:37.621 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.061) 0:00:37.682 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.050) 0:00:37.732 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.062) 0:00:37.795 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.083) 0:00:37.878 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.031) 0:00:37.910 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.029) 0:00:37.939 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.059) 0:00:37.999 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.566) 0:00:38.565 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.057) 0:00:38.623 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.031) 0:00:38.655 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.031) 0:00:38.686 ******* 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, 4a05585c-8967-4414-848a-25d83b52cdef TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.611) 0:00:39.297 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.032) 0:00:39.329 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a05585c-8967-4414-848a-25d83b52cdef" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.034) 0:00:39.364 ******* 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, 4a05585c-8967-4414-848a-25d83b52cdef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a05585c-8967-4414-848a-25d83b52cdef" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.078) 0:00:39.442 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.030) 0:00:39.473 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.365) 0:00:39.838 ******* 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, 4a05585c-8967-4414-848a-25d83b52cdef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a05585c-8967-4414-848a-25d83b52cdef" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.034) 0:00:39.872 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.066) 0:00:39.939 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.060) 0:00:39.999 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.053) 0:00:40.053 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.035) 0:00:40.088 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.034) 0:00:40.123 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:05 -0400 (0:00:01.712) 0:00:41.835 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.696) 0:00:42.531 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.033) 0:00:42.565 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.070) 0:00:42.635 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.030) 0:00:42.666 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.063) 0:00:42.729 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.060) 0:00:42.790 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.053) 0:00:42.843 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.058) 0:00:42.902 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.083) 0:00:42.985 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.032) 0:00:43.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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.031) 0:00:43.049 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.061) 0:00:43.111 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.545) 0:00:43.657 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.056) 0:00:43.713 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.031) 0:00:43.744 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.029) 0:00:43.773 ******* 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, 4a05585c-8967-4414-848a-25d83b52cdef skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.513) 0:00:44.287 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.031) 0:00:44.318 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a05585c-8967-4414-848a-25d83b52cdef skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.033) 0:00:44.352 ******* 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, 4a05585c-8967-4414-848a-25d83b52cdef skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a05585c-8967-4414-848a-25d83b52cdef skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.035) 0:00:44.388 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.030) 0:00:44.419 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.404) 0:00:44.823 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.056) 0:00:44.879 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.064) 0:00:44.944 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.059) 0:00:45.004 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.056) 0:00:45.060 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.037) 0:00:45.097 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.036) 0:00:45.134 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:10 -0400 (0:00:01.708) 0:00:46.842 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.695) 0:00:47.538 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.034) 0:00:47.573 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.029) 0:00:47.602 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.071) 0:00:47.674 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.057) 0:00:47.732 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.062) 0:00:47.795 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.049) 0:00:47.845 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.060) 0:00:47.906 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.084) 0:00:47.991 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.030) 0:00:48.021 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.031) 0:00:48.053 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.056) 0:00:48.109 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.549) 0:00:48.659 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.057) 0:00:48.717 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.030) 0:00:48.748 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.032) 0:00:48.780 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.538) 0:00:49.318 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.031) 0:00:49.350 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.035) 0:00:49.385 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.034) 0:00:49.420 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:12 -0400 (0:00:00.030) 0:00:49.451 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.399) 0:00:49.850 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.060) 0:00:49.910 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.048) 0:00:49.959 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689582.5876274, "block_size": 4096, "blocks": 0, "ctime": 1722689582.5876274, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43099, "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": 1722689582.5876274, "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.347) 0:00:50.307 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.034) 0:00:50.342 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.052) 0:00:50.394 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.031) 0:00:50.426 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.342) 0:00:50.768 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.031) 0:00:50.799 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019329", "end": "2024-08-03 08:53:14.506176", "rc": 1, "start": "2024-08-03 08:53:14.486847" } 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.370) 0:00:51.170 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.031) 0:00:51.201 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.030) 0:00:51.232 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.031) 0:00:51.264 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.030) 0:00:51.294 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.029) 0:00:51.324 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.080) 0:00:51.405 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.046) 0:00:51.452 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.034) 0:00:51.486 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.056) 0:00:51.543 ******* ok: [managed_node1] => { "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.057389", "end": "2024-08-03 08:53:15.288617", "rc": 0, "start": "2024-08-03 08:53:15.231228" } STDOUT: Connection 'statebr' (4a05585c-8967-4414-848a-25d83b52cdef) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.420) 0:00:51.963 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.053) 0:00:52.017 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.034) 0:00:52.051 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.064) 0:00:52.116 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.050) 0:00:52.167 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.048) 0:00:52.216 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2024-08-03 08:53:15.897792", "rc": 0, "start": "2024-08-03 08:53:15.894519" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.344) 0:00:52.560 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.033) 0:00:52.594 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.033) 0:00:52.628 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.099) 0:00:52.728 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.067) 0:00:52.795 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.062) 0:00:52.858 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.055) 0:00:52.913 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.036) 0:00:52.950 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.034) 0:00:52.985 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:18 -0400 (0:00:01.714) 0:00:54.699 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.695) 0:00:55.394 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.033) 0:00:55.428 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.029) 0:00:55.457 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.029) 0:00:55.487 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.060) 0:00:55.547 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.058) 0:00:55.606 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.094) 0:00:55.700 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.057) 0:00:55.757 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.085) 0:00:55.843 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.031) 0:00:55.874 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.032) 0:00:55.907 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.058) 0:00:55.965 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.545) 0:00:56.510 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:19 -0400 (0:00:00.061) 0:00:56.572 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.030) 0:00:56.603 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.031) 0:00:56.634 ******* 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, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.557) 0:00:57.191 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.030) 0:00:57.222 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.036) 0:00:57.258 ******* 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, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.034) 0:00:57.293 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:20 -0400 (0:00:00.030) 0:00:57.324 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.359) 0:00:57.684 ******* 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, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.035) 0:00:57.719 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.107) 0:00:57.826 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.060) 0:00:57.887 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.057) 0:00:57.945 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.035) 0:00:57.981 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:21 -0400 (0:00:00.035) 0:00:58.016 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:23 -0400 (0:00:01.715) 0:00:59.731 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.700) 0:01:00.432 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.035) 0:01:00.467 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.030) 0:01:00.498 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.031) 0:01:00.529 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:23 -0400 (0:00:00.058) 0:01:00.588 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:24 -0400 (0:00:00.064) 0:01:00.652 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:24 -0400 (0:00:00.050) 0:01:00.703 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:24 -0400 (0:00:00.056) 0:01:00.760 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:24 -0400 (0:00:00.193) 0:01:00.953 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:24 -0400 (0:00:00.031) 0:01:00.984 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:24 -0400 (0:00:00.032) 0:01:01.017 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:24 -0400 (0:00:00.058) 0:01:01.075 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.552) 0:01:01.627 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.060) 0:01:01.687 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.031) 0:01:01.719 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.032) 0:01:01.751 ******* 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, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.512) 0:01:02.264 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.032) 0:01:02.296 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.035) 0:01:02.332 ******* 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, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe2d7fb8-eebc-411a-8113-d1d4e647c3f9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.034) 0:01:02.367 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:25 -0400 (0:00:00.031) 0:01:02.398 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.356) 0:01:02.755 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.067) 0:01:02.822 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.111) 0:01:02.934 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.055) 0:01:02.989 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.037) 0:01:03.027 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:26 -0400 (0:00:00.035) 0:01:03.063 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:28 -0400 (0:00:01.718) 0:01:04.781 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.703) 0:01:05.484 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.036) 0:01:05.521 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.030) 0:01:05.551 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:28 -0400 (0:00:00.031) 0:01:05.582 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.059) 0:01:05.642 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.059) 0:01:05.702 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.054) 0:01:05.756 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.057) 0:01:05.814 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.085) 0:01:05.899 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.031) 0:01:05.931 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.029) 0:01:05.961 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:29 -0400 (0:00:00.105) 0:01:06.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 : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.556) 0:01:06.623 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.060) 0:01:06.683 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.031) 0:01:06.715 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.031) 0:01:06.746 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.547) 0:01:07.293 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.030) 0:01:07.324 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.035) 0:01:07.359 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.034) 0:01:07.394 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:30 -0400 (0:00:00.030) 0:01:07.425 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.358) 0:01:07.784 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.057) 0:01:07.841 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.067) 0:01:07.908 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.061) 0:01:07.970 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.155) 0:01:08.126 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.036) 0:01:08.162 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:31 -0400 (0:00:00.036) 0:01:08.199 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:33 -0400 (0:00:01.730) 0:01:09.929 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.699) 0:01:10.628 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.035) 0:01:10.664 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.032) 0:01:10.696 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.032) 0:01:10.729 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.058) 0:01:10.787 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.064) 0:01:10.852 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.049) 0:01:10.901 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.062) 0:01:10.964 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.084) 0:01:11.048 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.032) 0:01:11.080 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.031) 0:01:11.112 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:34 -0400 (0:00:00.056) 0:01:11.169 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.659) 0:01:11.829 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.059) 0:01:11.888 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.032) 0:01:11.920 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.032) 0:01:11.953 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.595) 0:01:12.549 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:35 -0400 (0:00:00.032) 0:01:12.582 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.035) 0:01:12.617 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.037) 0:01:12.655 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.032) 0:01:12.687 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.358) 0:01:13.046 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.057) 0:01:13.104 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.055) 0:01:13.159 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.034) 0:01:13.193 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.342) 0:01:13.536 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:53:36 -0400 (0:00:00.031) 0:01:13.568 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018603", "end": "2024-08-03 08:53:37.269478", "rc": 1, "start": "2024-08-03 08:53:37.250875" } 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.366) 0:01:13.934 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.090) 0:01:14.024 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.033) 0:01:14.058 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.031) 0:01:14.089 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.032) 0:01:14.122 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.031) 0:01:14.153 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.035) 0:01:14.189 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.079) 0:01:14.268 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:53:37 -0400 (0:00:00.050) 0:01:14.319 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.342) 0:01:14.662 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.036) 0:01:14.699 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.034) 0:01:14.733 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.058) 0:01:14.791 ******* 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.035758", "end": "2024-08-03 08:53:38.509194", "rc": 1, "start": "2024-08-03 08:53:38.473436" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.379) 0:01:15.170 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.054) 0:01:15.225 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.077) 0:01:15.302 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.066) 0:01:15.369 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.049) 0:01:15.419 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:53:38 -0400 (0:00:00.050) 0:01:15.469 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003324", "end": "2024-08-03 08:53:39.155462", "rc": 0, "start": "2024-08-03 08:53:39.152138" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.350) 0:01:15.820 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.035) 0:01:15.856 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.033) 0:01:15.889 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.061) 0:01:15.951 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.068) 0:01:16.019 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.061) 0:01:16.081 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.057) 0:01:16.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 : Set flag to indicate system is ostree] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.035) 0:01:16.174 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:39 -0400 (0:00:00.083) 0:01:16.257 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:41 -0400 (0:00:01.713) 0:01:17.970 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.698) 0:01:18.669 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.034) 0:01:18.703 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.031) 0:01:18.734 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.030) 0:01:18.765 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.063) 0:01:18.828 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.062) 0:01:18.891 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.050) 0:01:18.942 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.063) 0:01:19.005 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.083) 0:01:19.088 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.032) 0:01:19.120 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.032) 0:01:19.153 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:42 -0400 (0:00:00.058) 0:01:19.212 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.556) 0:01:19.769 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.058) 0:01:19.827 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.075) 0:01:19.902 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.031) 0:01:19.934 ******* 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, d0a3abc6-81ca-47ff-861b-767bc9cf9d63 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.570) 0:01:20.504 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.032) 0:01:20.536 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0a3abc6-81ca-47ff-861b-767bc9cf9d63" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:43 -0400 (0:00:00.034) 0:01:20.570 ******* 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, d0a3abc6-81ca-47ff-861b-767bc9cf9d63\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0a3abc6-81ca-47ff-861b-767bc9cf9d63" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.036) 0:01:20.607 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.030) 0:01:20.638 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.370) 0:01:21.008 ******* 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, d0a3abc6-81ca-47ff-861b-767bc9cf9d63\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0a3abc6-81ca-47ff-861b-767bc9cf9d63" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.035) 0:01:21.044 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.069) 0:01:21.114 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.061) 0:01:21.175 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.057) 0:01:21.233 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.035) 0:01:21.268 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:44 -0400 (0:00:00.036) 0:01:21.305 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:46 -0400 (0:00:01.777) 0:01:23.083 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.699) 0:01:23.783 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.033) 0:01:23.816 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.031) 0:01:23.848 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.031) 0:01:23.879 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.058) 0:01:23.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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.065) 0:01:24.003 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.049) 0:01:24.053 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.061) 0:01:24.115 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.082) 0:01:24.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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.030) 0:01:24.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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.031) 0:01:24.259 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:47 -0400 (0:00:00.058) 0:01:24.318 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.550) 0:01:24.868 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.057) 0:01:24.926 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.032) 0:01:24.958 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.085) 0:01:25.044 ******* 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, d0a3abc6-81ca-47ff-861b-767bc9cf9d63 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.514) 0:01:25.558 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:48 -0400 (0:00:00.033) 0:01:25.592 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d0a3abc6-81ca-47ff-861b-767bc9cf9d63 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.036) 0:01:25.628 ******* 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, d0a3abc6-81ca-47ff-861b-767bc9cf9d63 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d0a3abc6-81ca-47ff-861b-767bc9cf9d63 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.036) 0:01:25.665 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.032) 0:01:25.698 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.359) 0:01:26.057 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.068) 0:01:26.126 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.062) 0:01:26.188 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.056) 0:01:26.245 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.035) 0:01:26.281 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.035) 0:01:26.316 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:51 -0400 (0:00:01.712) 0:01:28.029 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.807) 0:01:28.837 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.036) 0:01:28.873 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.031) 0:01:28.904 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.031) 0:01:28.936 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.058) 0:01:28.994 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.065) 0:01:29.060 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.051) 0:01:29.111 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.057) 0:01:29.169 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.085) 0:01:29.255 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.031) 0:01:29.286 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.033) 0:01:29.320 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:52 -0400 (0:00:00.058) 0:01:29.378 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:53 -0400 (0:00:00.550) 0:01:29.928 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:53 -0400 (0:00:00.060) 0:01:29.989 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:53 -0400 (0:00:00.030) 0:01:30.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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:53 -0400 (0:00:00.031) 0:01:30.051 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.664) 0:01:30.716 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.030) 0:01:30.746 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.083) 0:01:30.830 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.036) 0:01:30.867 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.032) 0:01:30.899 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.354) 0:01:31.253 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.058) 0:01:31.312 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.068) 0:01:31.381 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.060) 0:01:31.441 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.056) 0:01:31.498 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.036) 0:01:31.535 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:53:54 -0400 (0:00:00.037) 0:01:31.572 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:53:56 -0400 (0:00:01.712) 0:01:33.285 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.799) 0:01:34.084 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.035) 0:01:34.120 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.033) 0:01:34.153 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.032) 0:01:34.186 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.063) 0:01:34.250 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.061) 0:01:34.311 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.049) 0:01:34.361 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.067) 0:01:34.428 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.084) 0:01:34.513 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.032) 0:01:34.545 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:53:57 -0400 (0:00:00.031) 0:01:34.577 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:53:58 -0400 (0:00:00.062) 0:01:34.639 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:53:58 -0400 (0:00:00.548) 0:01:35.188 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:53:58 -0400 (0:00:00.057) 0:01:35.246 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:53:58 -0400 (0:00:00.030) 0:01:35.276 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:53:58 -0400 (0:00:00.029) 0:01:35.306 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.591) 0:01:35.898 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.032) 0:01:35.931 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.035) 0:01:35.966 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.087) 0:01:36.053 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.031) 0:01:36.085 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.365) 0:01:36.450 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.062) 0:01:36.513 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:53:59 -0400 (0:00:00.054) 0:01:36.568 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.034) 0:01:36.602 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.346) 0:01:36.948 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.032) 0:01:36.981 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018563", "end": "2024-08-03 08:54:00.683769", "rc": 1, "start": "2024-08-03 08:54:00.665206" } 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.364) 0:01:37.345 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.033) 0:01:37.378 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.032) 0:01:37.411 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.031) 0:01:37.443 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.032) 0:01:37.475 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.031) 0:01:37.506 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 03 August 2024 08:54:00 -0400 (0:00:00.035) 0:01:37.542 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.165497", "end": "2024-08-03 08:54:01.397786", "rc": 0, "start": "2024-08-03 08:54:01.232289" } STDOUT: NetworkManager-1.48.4-1.el10.1 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.522) 0:01:38.065 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.4-1.el10.1" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.076) 0:01:38.141 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.4-1.el10.1" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.035) 0:01:38.176 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.078) 0:01:38.255 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.050) 0:01:38.305 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.347) 0:01:38.652 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.036) 0:01:38.689 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.035) 0:01:38.724 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.064) 0:01:38.789 ******* 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.036767", "end": "2024-08-03 08:54:02.510870", "rc": 1, "start": "2024-08-03 08:54:02.474103" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.387) 0:01:39.176 ******* 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.008834", "end": "2024-08-03 08:54:02.870078", "rc": 0, "start": "2024-08-03 08:54:02.861244" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:2c:5e:90:55:3d brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.43.140/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2429sec preferred_lft 2429sec inet6 fe80::c2c:5eff:fe90:553d/64 scope link noprefixroute valid_lft forever preferred_lft forever 84: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a2:16:dd:4d:e3:51 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.140 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.140 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 03 August 2024 08:54:02 -0400 (0:00:00.357) 0:01:39.533 ******* 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.091632", "end": "2024-08-03 08:54:03.317587", "rc": 0, "start": "2024-08-03 08:54:03.225955" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 6636 0 --:--:-- --:--:-- --:--:-- 6630 % 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 14312 0 --:--:-- --:--:-- --:--:-- 14550 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Saturday 03 August 2024 08:54:03 -0400 (0:00:00.497) 0:01:40.031 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 0.91s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.80s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26