[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.lDSWbyICfH executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 27 July 2024 09:08:24 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 27 July 2024 09:08:25 -0400 (0:00:01.112) 0:00:01.120 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 27 July 2024 09:08:25 -0400 (0:00:00.019) 0:00:01.139 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 27 July 2024 09:08:25 -0400 (0:00:00.514) 0:00:01.654 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.440) 0:00:02.094 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.023) 0:00:02.118 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.014) 0:00:02.132 ********* included: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.030) 0:00:02.162 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.014) 0:00:02.176 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.014) 0:00:02.190 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.014) 0:00:02.205 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.013) 0:00:02.218 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.013) 0:00:02.231 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 27 July 2024 09:08:26 -0400 (0:00:00.028) 0:00:02.260 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 27 July 2024 09:08:27 -0400 (0:00:00.793) 0:00:03.053 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 27 July 2024 09:08:27 -0400 (0:00:00.016) 0:00:03.070 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 09:08:27 -0400 (0:00:00.025) 0:00:03.096 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 09:08:27 -0400 (0:00:00.017) 0:00:03.113 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 09:08:27 -0400 (0:00:00.056) 0:00:03.170 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 09:08:27 -0400 (0:00:00.021) 0:00:03.191 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 09:08:27 -0400 (0:00:00.019) 0:00:03.210 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003518", "end": "2024-07-27 09:08:27.940044", "rc": 0, "start": "2024-07-27 09:08:27.936526" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 09:08:27 -0400 (0:00:00.444) 0:00:03.655 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.018) 0:00:03.673 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.017) 0:00:03.691 ********* included: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.030) 0:00:03.721 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007911", "end": "2024-07-27 09:08:28.363116", "rc": 1, "start": "2024-07-27 09:08:28.355205" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.355) 0:00:04.077 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.020) 0:00:04.097 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.343) 0:00:04.441 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.019) 0:00:04.460 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.027) 0:00:04.488 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.046) 0:00:04.535 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.034) 0:00:04.569 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.022) 0:00:04.592 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.019) 0:00:04.611 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:08:28 -0400 (0:00:00.019) 0:00:04.631 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:08:30 -0400 (0:00:01.836) 0:00:06.467 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:08:31 -0400 (0:00:01.121) 0:00:07.588 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:08:31 -0400 (0:00:00.036) 0:00:07.624 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:08:31 -0400 (0:00:00.032) 0:00:07.656 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.032) 0:00:07.688 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.038) 0:00:07.726 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.050) 0:00:07.777 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.038) 0:00:07.816 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.049) 0:00:07.865 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.080) 0:00:07.946 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.053) 0:00:07.999 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.033) 0:00:08.032 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:08:32 -0400 (0:00:00.048) 0:00:08.081 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:08:33 -0400 (0:00:00.791) 0:00:08.873 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:08:33 -0400 (0:00:00.050) 0:00:08.923 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:08:33 -0400 (0:00:00.031) 0:00:08.954 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:08:33 -0400 (0:00:00.032) 0:00:08.987 ********* 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, 35c1988b-fe85-4e63-b7de-70a11c288056 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.748) 0:00:09.736 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.032) 0:00:09.769 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c1988b-fe85-4e63-b7de-70a11c288056" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.037) 0:00:09.806 ********* 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, 35c1988b-fe85-4e63-b7de-70a11c288056\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c1988b-fe85-4e63-b7de-70a11c288056" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.037) 0:00:09.843 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.033) 0:00:09.877 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.472) 0:00:10.349 ********* 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, 35c1988b-fe85-4e63-b7de-70a11c288056\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35c1988b-fe85-4e63-b7de-70a11c288056" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.038) 0:00:10.387 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.064) 0:00:10.452 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.089) 0:00:10.542 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 09:08:34 -0400 (0:00:00.035) 0:00:10.577 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.365) 0:00:10.943 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.033) 0:00:10.977 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023752", "end": "2024-07-27 09:08:35.635039", "rc": 0, "start": "2024-07-27 09:08:35.611287" } 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.388) 0:00:11.366 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.037) 0:00:11.403 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.033) 0:00:11.437 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.033) 0:00:11.470 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.034) 0:00:11.505 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.033) 0:00:11.538 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.038) 0:00:11.576 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.037) 0:00:11.614 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 09:08:35 -0400 (0:00:00.037) 0:00:11.652 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 09:08:36 -0400 (0:00:00.072) 0:00:11.724 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 09:08:36 -0400 (0:00:00.054) 0:00:11.779 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085713.9462411, "block_size": 4096, "blocks": 0, "ctime": 1722085713.9462411, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49145, "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": 1722085713.9462411, "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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 09:08:36 -0400 (0:00:00.367) 0:00:12.146 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 09:08:36 -0400 (0:00:00.068) 0:00:12.215 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 09:08:36 -0400 (0:00:00.035) 0:00:12.250 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 09:08:36 -0400 (0:00:00.066) 0:00:12.317 ********* 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.070094", "end": "2024-07-27 09:08:37.022977", "rc": 1, "start": "2024-07-27 09:08:36.952883" } STDOUT: Connection 'statebr' (35c1988b-fe85-4e63-b7de-70a11c288056) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.436) 0:00:12.753 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.061) 0:00:12.814 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.036) 0:00:12.851 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.074) 0:00:12.925 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.055) 0:00:12.981 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.054) 0:00:13.035 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003445", "end": "2024-07-27 09:08:37.676255", "rc": 0, "start": "2024-07-27 09:08:37.672810" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.373) 0:00:13.408 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.037) 0:00:13.445 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.035) 0:00:13.481 ********* included: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 27 July 2024 09:08:37 -0400 (0:00:00.064) 0:00:13.546 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006194", "end": "2024-07-27 09:08:38.189172", "rc": 1, "start": "2024-07-27 09:08:38.182978" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 09:08:38 -0400 (0:00:00.402) 0:00:13.949 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 09:08:38 -0400 (0:00:00.055) 0:00:14.004 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 09:08:38 -0400 (0:00:00.368) 0:00:14.373 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 09:08:38 -0400 (0:00:00.037) 0:00:14.410 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 27 July 2024 09:08:38 -0400 (0:00:00.062) 0:00:14.473 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:08:38 -0400 (0:00:00.076) 0:00:14.550 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:08:38 -0400 (0:00:00.068) 0:00:14.618 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:08:39 -0400 (0:00:00.047) 0:00:14.666 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:08:39 -0400 (0:00:00.038) 0:00:14.705 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:08:39 -0400 (0:00:00.037) 0:00:14.743 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:08:40 -0400 (0:00:01.761) 0:00:16.505 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:08:41 -0400 (0:00:00.978) 0:00:17.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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:08:41 -0400 (0:00:00.037) 0:00:17.522 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:08:41 -0400 (0:00:00.033) 0:00:17.555 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:08:41 -0400 (0:00:00.034) 0:00:17.589 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:08:41 -0400 (0:00:00.039) 0:00:17.629 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.055) 0:00:17.685 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.040) 0:00:17.726 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.049) 0:00:17.775 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.085) 0:00:17.861 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.033) 0:00:17.895 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.034) 0:00:17.929 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.050) 0:00:17.979 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.581) 0:00:18.560 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.051) 0:00:18.611 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:08:42 -0400 (0:00:00.032) 0:00:18.644 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:08:43 -0400 (0:00:00.033) 0:00:18.678 ********* 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, 8eaf68f9-f45e-48cd-91ea-e22bf6a5a541 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:08:43 -0400 (0:00:00.595) 0:00:19.273 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:08:43 -0400 (0:00:00.032) 0:00:19.306 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eaf68f9-f45e-48cd-91ea-e22bf6a5a541" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:08:43 -0400 (0:00:00.072) 0:00:19.379 ********* 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, 8eaf68f9-f45e-48cd-91ea-e22bf6a5a541\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eaf68f9-f45e-48cd-91ea-e22bf6a5a541" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:08:43 -0400 (0:00:00.038) 0:00:19.417 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:08:43 -0400 (0:00:00.033) 0:00:19.451 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 27 July 2024 09:08:44 -0400 (0:00:00.377) 0:00:19.829 ********* 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, 8eaf68f9-f45e-48cd-91ea-e22bf6a5a541\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eaf68f9-f45e-48cd-91ea-e22bf6a5a541" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 09:08:44 -0400 (0:00:00.038) 0:00:19.867 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 09:08:44 -0400 (0:00:00.068) 0:00:19.936 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 09:08:44 -0400 (0:00:00.054) 0:00:19.991 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 09:08:44 -0400 (0:00:00.363) 0:00:20.354 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 July 2024 09:08:44 -0400 (0:00:00.038) 0:00:20.392 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 09:08:44 -0400 (0:00:00.061) 0:00:20.454 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 09:08:44 -0400 (0:00:00.036) 0:00:20.490 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.366) 0:00:20.857 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.033) 0:00:20.890 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022504", "end": "2024-07-27 09:08:45.549085", "rc": 0, "start": "2024-07-27 09:08:45.526581" } 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.390) 0:00:21.280 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.071) 0:00:21.351 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.034) 0:00:21.386 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.035) 0:00:21.421 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.033) 0:00:21.455 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.035) 0:00:21.491 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.040) 0:00:21.531 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.039) 0:00:21.571 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.038) 0:00:21.610 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 09:08:45 -0400 (0:00:00.037) 0:00:21.647 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 09:08:46 -0400 (0:00:00.037) 0:00:21.684 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 09:08:46 -0400 (0:00:00.066) 0:00:21.751 ********* 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.045956", "end": "2024-07-27 09:08:46.434239", "rc": 1, "start": "2024-07-27 09:08:46.388283" } STDOUT: Connection 'statebr' (8eaf68f9-f45e-48cd-91ea-e22bf6a5a541) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 27 July 2024 09:08:46 -0400 (0:00:00.414) 0:00:22.165 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 09:08:46 -0400 (0:00:00.059) 0:00:22.225 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 09:08:46 -0400 (0:00:00.037) 0:00:22.262 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 09:08:46 -0400 (0:00:00.072) 0:00:22.334 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 09:08:46 -0400 (0:00:00.090) 0:00:22.424 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 09:08:46 -0400 (0:00:00.053) 0:00:22.478 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003464", "end": "2024-07-27 09:08:47.121364", "rc": 0, "start": "2024-07-27 09:08:47.117900" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.374) 0:00:22.853 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.037) 0:00:22.891 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.037) 0:00:22.928 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.060) 0:00:22.988 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.076) 0:00:23.065 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.069) 0:00:23.134 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.046) 0:00:23.181 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.039) 0:00:23.221 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:08:47 -0400 (0:00:00.038) 0:00:23.259 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:08:49 -0400 (0:00:01.759) 0:00:25.019 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.986) 0:00:26.005 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.038) 0:00:26.044 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.034) 0:00:26.078 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.035) 0:00:26.114 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.041) 0:00:26.156 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.052) 0:00:26.209 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.041) 0:00:26.250 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.049) 0:00:26.300 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.084) 0:00:26.385 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.033) 0:00:26.418 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.033) 0:00:26.452 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:08:50 -0400 (0:00:00.050) 0:00:26.502 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:08:51 -0400 (0:00:00.574) 0:00:27.076 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:08:51 -0400 (0:00:00.051) 0:00:27.128 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:08:51 -0400 (0:00:00.032) 0:00:27.161 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:08:51 -0400 (0:00:00.033) 0:00:27.195 ********* 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, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.645) 0:00:27.840 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.033) 0:00:27.873 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.073) 0:00:27.947 ********* 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, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.039) 0:00:27.986 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.034) 0:00:28.020 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.387) 0:00:28.408 ********* 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, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9" ] } } TASK [Test] ******************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.039) 0:00:28.448 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.061) 0:00:28.509 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.077) 0:00:28.587 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:08:52 -0400 (0:00:00.069) 0:00:28.657 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:08:53 -0400 (0:00:00.047) 0:00:28.704 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:08:53 -0400 (0:00:00.039) 0:00:28.744 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:08:53 -0400 (0:00:00.040) 0:00:28.784 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:08:54 -0400 (0:00:01.738) 0:00:30.523 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:08:55 -0400 (0:00:00.985) 0:00:31.508 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:08:55 -0400 (0:00:00.038) 0:00:31.546 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:08:55 -0400 (0:00:00.034) 0:00:31.581 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:08:55 -0400 (0:00:00.033) 0:00:31.614 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:08:55 -0400 (0:00:00.041) 0:00:31.655 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.052) 0:00:31.708 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.041) 0:00:31.749 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.050) 0:00:31.799 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.084) 0:00:31.883 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.034) 0:00:31.918 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.033) 0:00:31.951 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.050) 0:00:32.002 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.575) 0:00:32.577 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.053) 0:00:32.631 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:08:56 -0400 (0:00:00.034) 0:00:32.665 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:08:57 -0400 (0:00:00.032) 0:00:32.698 ********* 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, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:08:57 -0400 (0:00:00.583) 0:00:33.282 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:08:57 -0400 (0:00:00.033) 0:00:33.315 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:08:57 -0400 (0:00:00.076) 0:00:33.391 ********* 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, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:08:57 -0400 (0:00:00.039) 0:00:33.431 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:08:57 -0400 (0:00:00.033) 0:00:33.465 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 09:08:58 -0400 (0:00:00.386) 0:00:33.851 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 09:08:58 -0400 (0:00:00.069) 0:00:33.921 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 09:08:58 -0400 (0:00:00.055) 0:00:33.976 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085732.0479586, "block_size": 4096, "blocks": 0, "ctime": 1722085732.0479586, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49276, "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": 1722085732.0479586, "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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 09:08:58 -0400 (0:00:00.367) 0:00:34.343 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 July 2024 09:08:58 -0400 (0:00:00.037) 0:00:34.381 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 09:08:58 -0400 (0:00:00.062) 0:00:34.444 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 09:08:58 -0400 (0:00:00.036) 0:00:34.481 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.369) 0:00:34.851 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.033) 0:00:34.884 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023646", "end": "2024-07-27 09:08:59.548537", "rc": 0, "start": "2024-07-27 09:08:59.524891" } 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.397) 0:00:35.281 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.037) 0:00:35.319 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.067) 0:00:35.387 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.034) 0:00:35.421 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.035) 0:00:35.457 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.036) 0:00:35.493 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.039) 0:00:35.533 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.039) 0:00:35.573 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.037) 0:00:35.610 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 09:08:59 -0400 (0:00:00.039) 0:00:35.650 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 09:09:00 -0400 (0:00:00.037) 0:00:35.688 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 09:09:00 -0400 (0:00:00.065) 0:00:35.754 ********* 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.087623", "end": "2024-07-27 09:09:00.480659", "rc": 1, "start": "2024-07-27 09:09:00.393036" } STDOUT: Connection 'statebr' (bf70f2e6-a5ac-403a-b9ad-1c9ab2b2abc9) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 27 July 2024 09:09:00 -0400 (0:00:00.457) 0:00:36.211 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 09:09:00 -0400 (0:00:00.061) 0:00:36.273 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 09:09:00 -0400 (0:00:00.036) 0:00:36.310 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 09:09:00 -0400 (0:00:00.074) 0:00:36.384 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 09:09:00 -0400 (0:00:00.055) 0:00:36.440 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 09:09:00 -0400 (0:00:00.087) 0:00:36.528 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003573", "end": "2024-07-27 09:09:01.167178", "rc": 0, "start": "2024-07-27 09:09:01.163605" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.371) 0:00:36.899 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.038) 0:00:36.938 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.037) 0:00:36.975 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.065) 0:00:37.040 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.077) 0:00:37.117 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.070) 0:00:37.187 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.049) 0:00:37.237 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.039) 0:00:37.276 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:01 -0400 (0:00:00.040) 0:00:37.317 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:03 -0400 (0:00:01.743) 0:00:39.061 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.982) 0:00:40.044 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.037) 0:00:40.081 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.034) 0:00:40.116 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.034) 0:00:40.150 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.039) 0:00:40.189 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.053) 0:00:40.243 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.039) 0:00:40.283 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.050) 0:00:40.334 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.082) 0:00:40.417 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.033) 0:00:40.451 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.034) 0:00:40.485 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:04 -0400 (0:00:00.050) 0:00:40.535 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:05 -0400 (0:00:00.575) 0:00:41.111 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:05 -0400 (0:00:00.051) 0:00:41.163 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:05 -0400 (0:00:00.032) 0:00:41.195 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:05 -0400 (0:00:00.033) 0:00:41.229 ********* 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, 14aebffc-6c59-46b2-8199-e5320ba9aec2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.599) 0:00:41.828 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.034) 0:00:41.863 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14aebffc-6c59-46b2-8199-e5320ba9aec2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.038) 0:00:41.901 ********* 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, 14aebffc-6c59-46b2-8199-e5320ba9aec2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14aebffc-6c59-46b2-8199-e5320ba9aec2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.072) 0:00:41.973 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.034) 0:00:42.008 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.381) 0:00:42.390 ********* 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, 14aebffc-6c59-46b2-8199-e5320ba9aec2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14aebffc-6c59-46b2-8199-e5320ba9aec2" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.038) 0:00:42.428 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.076) 0:00:42.505 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.070) 0:00:42.575 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.048) 0:00:42.624 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:06 -0400 (0:00:00.039) 0:00:42.664 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:07 -0400 (0:00:00.040) 0:00:42.704 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:08 -0400 (0:00:01.755) 0:00:44.460 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:09 -0400 (0:00:00.917) 0:00:45.377 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:09 -0400 (0:00:00.037) 0:00:45.415 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:09 -0400 (0:00:00.070) 0:00:45.485 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:09 -0400 (0:00:00.035) 0:00:45.521 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:09 -0400 (0:00:00.040) 0:00:45.561 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:09 -0400 (0:00:00.053) 0:00:45.615 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:09 -0400 (0:00:00.040) 0:00:45.655 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.054) 0:00:45.710 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.084) 0:00:45.795 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.033) 0:00:45.828 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.035) 0:00:45.863 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.050) 0:00:45.914 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.579) 0:00:46.493 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.052) 0:00:46.546 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.034) 0:00:46.581 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:10 -0400 (0:00:00.035) 0:00:46.616 ********* 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, 14aebffc-6c59-46b2-8199-e5320ba9aec2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:11 -0400 (0:00:00.547) 0:00:47.163 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:11 -0400 (0:00:00.035) 0:00:47.199 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 14aebffc-6c59-46b2-8199-e5320ba9aec2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:11 -0400 (0:00:00.039) 0:00:47.239 ********* 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, 14aebffc-6c59-46b2-8199-e5320ba9aec2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 14aebffc-6c59-46b2-8199-e5320ba9aec2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:11 -0400 (0:00:00.039) 0:00:47.278 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:11 -0400 (0:00:00.071) 0:00:47.349 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 09:09:12 -0400 (0:00:00.385) 0:00:47.735 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 27 July 2024 09:09:12 -0400 (0:00:00.062) 0:00:47.797 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:12 -0400 (0:00:00.077) 0:00:47.875 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:12 -0400 (0:00:00.069) 0:00:47.944 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:12 -0400 (0:00:00.047) 0:00:47.992 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:12 -0400 (0:00:00.040) 0:00:48.032 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:12 -0400 (0:00:00.040) 0:00:48.073 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:14 -0400 (0:00:01.758) 0:00:49.832 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.901) 0:00:50.733 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.036) 0:00:50.770 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.066) 0:00:50.836 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.033) 0:00:50.870 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.040) 0:00:50.910 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.051) 0:00:50.961 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.040) 0:00:51.001 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.049) 0:00:51.050 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.083) 0:00:51.133 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.033) 0:00:51.167 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.032) 0:00:51.199 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:15 -0400 (0:00:00.049) 0:00:51.249 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.575) 0:00:51.824 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.049) 0:00:51.874 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.032) 0:00:51.907 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.032) 0:00:51.939 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.578) 0:00:52.517 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.032) 0:00:52.550 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.037) 0:00:52.588 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.037) 0:00:52.626 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:16 -0400 (0:00:00.032) 0:00:52.658 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 09:09:17 -0400 (0:00:00.412) 0:00:53.070 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 09:09:17 -0400 (0:00:00.069) 0:00:53.140 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 09:09:17 -0400 (0:00:00.054) 0:00:53.194 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085746.042216, "block_size": 4096, "blocks": 0, "ctime": 1722085746.042216, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49407, "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": 1722085746.042216, "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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 09:09:17 -0400 (0:00:00.363) 0:00:53.558 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 July 2024 09:09:17 -0400 (0:00:00.036) 0:00:53.595 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 09:09:17 -0400 (0:00:00.060) 0:00:53.655 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 09:09:18 -0400 (0:00:00.036) 0:00:53.691 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 09:09:18 -0400 (0:00:00.362) 0:00:54.054 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 09:09:18 -0400 (0:00:00.032) 0:00:54.086 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023995", "end": "2024-07-27 09:09:18.743122", "rc": 1, "start": "2024-07-27 09:09:18.719127" } 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 09:09:18 -0400 (0:00:00.388) 0:00:54.474 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 09:09:18 -0400 (0:00:00.033) 0:00:54.508 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 09:09:18 -0400 (0:00:00.034) 0:00:54.543 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 09:09:18 -0400 (0:00:00.032) 0:00:54.575 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 09:09:18 -0400 (0:00:00.034) 0:00:54.610 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.066) 0:00:54.676 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.037) 0:00:54.714 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.039) 0:00:54.753 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.036) 0:00:54.789 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.064) 0:00:54.854 ********* 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.067926", "end": "2024-07-27 09:09:19.560286", "rc": 1, "start": "2024-07-27 09:09:19.492360" } STDOUT: Connection 'statebr' (14aebffc-6c59-46b2-8199-e5320ba9aec2) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.442) 0:00:55.296 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.060) 0:00:55.356 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.035) 0:00:55.392 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.073) 0:00:55.466 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.056) 0:00:55.522 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 09:09:19 -0400 (0:00:00.053) 0:00:55.576 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2024-07-27 09:09:20.216003", "rc": 0, "start": "2024-07-27 09:09:20.212579" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.372) 0:00:55.949 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.036) 0:00:55.985 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.034) 0:00:56.020 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.099) 0:00:56.120 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.076) 0:00:56.196 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.067) 0:00:56.263 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.047) 0:00:56.311 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.037) 0:00:56.348 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:20 -0400 (0:00:00.038) 0:00:56.386 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:22 -0400 (0:00:01.744) 0:00:58.131 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.911) 0:00:59.042 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.036) 0:00:59.079 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.033) 0:00:59.113 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.032) 0:00:59.146 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.042) 0:00:59.189 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.087) 0:00:59.276 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.039) 0:00:59.316 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.050) 0:00:59.366 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.082) 0:00:59.448 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.034) 0:00:59.482 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.033) 0:00:59.516 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.052) 0:00:59.568 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.577) 0:01:00.146 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.050) 0:01:00.196 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.033) 0:01:00.229 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.032) 0:01:00.262 ********* 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, 7ce2a478-1c71-42bf-b8e1-801e565ef438 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.589) 0:01:00.852 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.033) 0:01:00.885 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ce2a478-1c71-42bf-b8e1-801e565ef438" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.036) 0:01:00.921 ********* 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, 7ce2a478-1c71-42bf-b8e1-801e565ef438\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ce2a478-1c71-42bf-b8e1-801e565ef438" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.038) 0:01:00.960 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.034) 0:01:00.995 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.377) 0:01:01.372 ********* 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, 7ce2a478-1c71-42bf-b8e1-801e565ef438\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ce2a478-1c71-42bf-b8e1-801e565ef438" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.037) 0:01:01.410 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.108) 0:01:01.518 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.067) 0:01:01.586 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.047) 0:01:01.633 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:26 -0400 (0:00:00.038) 0:01:01.671 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:26 -0400 (0:00:00.039) 0:01:01.711 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:27 -0400 (0:00:01.724) 0:01:03.436 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.916) 0:01:04.352 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.036) 0:01:04.388 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.032) 0:01:04.421 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.031) 0:01:04.453 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.039) 0:01:04.492 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.052) 0:01:04.544 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.039) 0:01:04.583 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.083) 0:01:04.667 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.082) 0:01:04.749 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.034) 0:01:04.784 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.032) 0:01:04.816 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.052) 0:01:04.868 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.577) 0:01:05.446 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.051) 0:01:05.497 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.034) 0:01:05.532 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.031) 0:01:05.564 ********* 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, 7ce2a478-1c71-42bf-b8e1-801e565ef438 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.543) 0:01:06.107 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.033) 0:01:06.141 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ce2a478-1c71-42bf-b8e1-801e565ef438 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.036) 0:01:06.177 ********* 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, 7ce2a478-1c71-42bf-b8e1-801e565ef438 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ce2a478-1c71-42bf-b8e1-801e565ef438 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.038) 0:01:06.216 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.032) 0:01:06.248 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.380) 0:01:06.629 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.076) 0:01:06.706 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.107) 0:01:06.813 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.048) 0:01:06.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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.038) 0:01:06.899 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.039) 0:01:06.938 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:33 -0400 (0:00:01.762) 0:01:08.701 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:33 -0400 (0:00:00.908) 0:01:09.610 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:33 -0400 (0:00:00.037) 0:01:09.648 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.032) 0:01:09.681 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.034) 0:01:09.715 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.039) 0:01:09.754 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.053) 0:01:09.808 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.039) 0:01:09.847 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.052) 0:01:09.900 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.083) 0:01:09.984 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.033) 0:01:10.017 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.071) 0:01:10.089 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:34 -0400 (0:00:00.050) 0:01:10.139 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.582) 0:01:10.723 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.051) 0:01:10.774 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.033) 0:01:10.808 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.034) 0:01:10.842 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.593) 0:01:11.436 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.034) 0:01:11.470 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.038) 0:01:11.509 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.037) 0:01:11.547 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:35 -0400 (0:00:00.034) 0:01:11.582 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 09:09:36 -0400 (0:00:00.378) 0:01:11.961 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 July 2024 09:09:36 -0400 (0:00:00.064) 0:01:12.025 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:36 -0400 (0:00:00.077) 0:01:12.102 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:36 -0400 (0:00:00.108) 0:01:12.210 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:36 -0400 (0:00:00.047) 0:01:12.258 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:36 -0400 (0:00:00.040) 0:01:12.299 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:36 -0400 (0:00:00.040) 0:01:12.340 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:38 -0400 (0:00:01.768) 0:01:14.108 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.917) 0:01:15.026 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.038) 0:01:15.064 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.035) 0:01:15.100 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.033) 0:01:15.134 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.041) 0:01:15.175 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.052) 0:01:15.227 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.043) 0:01:15.271 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.051) 0:01:15.322 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.082) 0:01:15.405 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.035) 0:01:15.440 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.033) 0:01:15.473 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:39 -0400 (0:00:00.089) 0:01:15.563 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:40 -0400 (0:00:00.579) 0:01:16.143 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:40 -0400 (0:00:00.051) 0:01:16.194 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:40 -0400 (0:00:00.034) 0:01:16.229 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:40 -0400 (0:00:00.033) 0:01:16.263 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.639) 0:01:16.902 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.035) 0:01:16.937 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.039) 0:01:16.977 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.040) 0:01:17.017 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.033) 0:01:17.051 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.383) 0:01:17.434 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.064) 0:01:17.499 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.059) 0:01:17.558 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 09:09:41 -0400 (0:00:00.036) 0:01:17.595 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.366) 0:01:17.962 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.067) 0:01:18.029 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022776", "end": "2024-07-27 09:09:42.691920", "rc": 1, "start": "2024-07-27 09:09:42.669144" } 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.393) 0:01:18.423 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.035) 0:01:18.458 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.035) 0:01:18.494 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.035) 0:01:18.530 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.034) 0:01:18.564 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.032) 0:01:18.597 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 09:09:42 -0400 (0:00:00.037) 0:01:18.635 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 09:09:43 -0400 (0:00:00.071) 0:01:18.706 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 09:09:43 -0400 (0:00:00.054) 0:01:18.761 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 09:09:43 -0400 (0:00:00.367) 0:01:19.128 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 09:09:43 -0400 (0:00:00.038) 0:01:19.167 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 09:09:43 -0400 (0:00:00.035) 0:01:19.203 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 09:09:43 -0400 (0:00:00.065) 0:01:19.268 ********* 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.045301", "end": "2024-07-27 09:09:43.947578", "rc": 1, "start": "2024-07-27 09:09:43.902277" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.411) 0:01:19.679 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.094) 0:01:19.773 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.037) 0:01:19.810 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.073) 0:01:19.884 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.055) 0:01:19.939 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.053) 0:01:19.993 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003507", "end": "2024-07-27 09:09:44.632317", "rc": 0, "start": "2024-07-27 09:09:44.628810" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.371) 0:01:20.365 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.036) 0:01:20.401 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.037) 0:01:20.438 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.068) 0:01:20.507 ********* redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.078) 0:01:20.586 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:44 -0400 (0:00:00.070) 0:01:20.656 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:45 -0400 (0:00:00.046) 0:01:20.703 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:45 -0400 (0:00:00.073) 0:01:20.777 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:45 -0400 (0:00:00.040) 0:01:20.818 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:46 -0400 (0:00:01.786) 0:01:22.604 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:47 -0400 (0:00:00.919) 0:01:23.524 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:47 -0400 (0:00:00.038) 0:01:23.562 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:47 -0400 (0:00:00.035) 0:01:23.597 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:47 -0400 (0:00:00.033) 0:01:23.631 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.041) 0:01:23.673 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.054) 0:01:23.728 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.040) 0:01:23.768 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.051) 0:01:23.820 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.083) 0:01:23.903 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.034) 0:01:23.938 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.033) 0:01:23.972 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.054) 0:01:24.026 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:48 -0400 (0:00:00.623) 0:01:24.649 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:49 -0400 (0:00:00.052) 0:01:24.702 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:49 -0400 (0:00:00.035) 0:01:24.738 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:49 -0400 (0:00:00.033) 0:01:24.772 ********* 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, 294a8f42-103d-4159-a280-f429d4656ef7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:49 -0400 (0:00:00.606) 0:01:25.378 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:49 -0400 (0:00:00.035) 0:01:25.414 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 294a8f42-103d-4159-a280-f429d4656ef7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:49 -0400 (0:00:00.039) 0:01:25.453 ********* 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, 294a8f42-103d-4159-a280-f429d4656ef7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 294a8f42-103d-4159-a280-f429d4656ef7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:49 -0400 (0:00:00.041) 0:01:25.494 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:49 -0400 (0:00:00.035) 0:01:25.529 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 July 2024 09:09:50 -0400 (0:00:00.391) 0:01:25.920 ********* 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, 294a8f42-103d-4159-a280-f429d4656ef7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 294a8f42-103d-4159-a280-f429d4656ef7" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 27 July 2024 09:09:50 -0400 (0:00:00.038) 0:01:25.959 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:50 -0400 (0:00:00.077) 0:01:26.036 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:50 -0400 (0:00:00.069) 0:01:26.106 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:50 -0400 (0:00:00.047) 0:01:26.153 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:50 -0400 (0:00:00.039) 0:01:26.193 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:50 -0400 (0:00:00.077) 0:01:26.271 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:52 -0400 (0:00:01.749) 0:01:28.020 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.919) 0:01:28.939 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.037) 0:01:28.977 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.034) 0:01:29.011 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.033) 0:01:29.044 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.041) 0:01:29.086 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.052) 0:01:29.138 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.043) 0:01:29.182 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.052) 0:01:29.235 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.084) 0:01:29.319 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.035) 0:01:29.355 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.034) 0:01:29.389 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:53 -0400 (0:00:00.055) 0:01:29.444 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:54 -0400 (0:00:00.580) 0:01:30.025 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:54 -0400 (0:00:00.051) 0:01:30.077 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:54 -0400 (0:00:00.072) 0:01:30.149 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:54 -0400 (0:00:00.033) 0:01:30.183 ********* 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, 294a8f42-103d-4159-a280-f429d4656ef7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.541) 0:01:30.724 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.033) 0:01:30.757 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 294a8f42-103d-4159-a280-f429d4656ef7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.037) 0:01:30.795 ********* 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, 294a8f42-103d-4159-a280-f429d4656ef7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 294a8f42-103d-4159-a280-f429d4656ef7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.038) 0:01:30.834 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.032) 0:01:30.867 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.376) 0:01:31.243 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.076) 0:01:31.319 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.068) 0:01:31.388 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.047) 0:01:31.435 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.037) 0:01:31.473 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:09:55 -0400 (0:00:00.040) 0:01:31.513 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:09:57 -0400 (0:00:01.729) 0:01:33.243 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:09:58 -0400 (0:00:01.002) 0:01:34.245 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:09:58 -0400 (0:00:00.038) 0:01:34.284 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:09:58 -0400 (0:00:00.035) 0:01:34.319 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:09:58 -0400 (0:00:00.034) 0:01:34.353 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:09:58 -0400 (0:00:00.045) 0:01:34.399 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:09:58 -0400 (0:00:00.055) 0:01:34.454 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:09:58 -0400 (0:00:00.040) 0:01:34.495 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:09:58 -0400 (0:00:00.052) 0:01:34.548 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:09:58 -0400 (0:00:00.084) 0:01:34.632 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.035) 0:01:34.667 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.035) 0:01:34.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 : Enable and start NetworkManager] ***** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.051) 0:01:34.754 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.586) 0:01:35.340 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.052) 0:01:35.392 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.035) 0:01:35.427 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.035) 0:01:35.462 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:10:00 -0400 (0:00:00.709) 0:01:36.172 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:10:00 -0400 (0:00:00.078) 0:01:36.251 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:10:00 -0400 (0:00:00.039) 0:01:36.290 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:10:00 -0400 (0:00:00.041) 0:01:36.332 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:10:00 -0400 (0:00:00.034) 0:01:36.366 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.382) 0:01:36.749 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.063) 0:01:36.813 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.079) 0:01:36.893 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.072) 0:01:36.965 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.048) 0:01:37.014 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.041) 0:01:37.056 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.040) 0:01:37.096 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 09:10:03 -0400 (0:00:01.763) 0:01:38.860 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.998) 0:01:39.858 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.040) 0:01:39.898 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.035) 0:01:39.934 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.035) 0:01:39.969 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.042) 0:01:40.012 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.053) 0:01:40.066 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.042) 0:01:40.108 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.051) 0:01:40.160 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.087) 0:01:40.247 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.034) 0:01:40.281 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.034) 0:01:40.316 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.052) 0:01:40.369 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.574) 0:01:40.944 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.052) 0:01:40.996 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.033) 0:01:41.030 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.034) 0:01:41.065 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.614) 0:01:41.679 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.034) 0:01:41.713 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.081) 0:01:41.795 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.040) 0:01:41.835 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.035) 0:01:41.871 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.385) 0:01:42.256 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.072) 0:01:42.329 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.062) 0:01:42.391 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.036) 0:01:42.428 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.366) 0:01:42.795 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.034) 0:01:42.829 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021843", "end": "2024-07-27 09:10:07.487814", "rc": 1, "start": "2024-07-27 09:10:07.465971" } 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.389) 0:01:43.219 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.036) 0:01:43.255 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.034) 0:01:43.290 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.035) 0:01:43.326 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.035) 0:01:43.361 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.036) 0:01:43.398 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.079) 0:01:43.477 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.332971", "end": "2024-07-27 09:10:08.448682", "rc": 0, "start": "2024-07-27 09:10:08.115711" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.702) 0:01:44.180 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.039) 0:01:44.220 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.037) 0:01:44.257 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.077) 0:01:44.335 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.056) 0:01:44.392 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.368) 0:01:44.761 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.039) 0:01:44.800 ********* 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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.039) 0:01:44.840 ********* included: /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.074) 0:01:44.914 ********* 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.043999", "end": "2024-07-27 09:10:09.597973", "rc": 1, "start": "2024-07-27 09:10:09.553974" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.416) 0:01:45.330 ********* 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.008813", "end": "2024-07-27 09:10:09.975480", "rc": 0, "start": "2024-07-27 09:10:09.966667" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:1a:62:33:12:83 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.47.55/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2370sec preferred_lft 2370sec inet6 fe80::1a:62ff:fe33:1283/64 scope link valid_lft forever preferred_lft forever 84: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 3e:7a:3b:a9:f5:a5 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.44.1 dev eth0 proto dhcp src 10.31.47.55 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.55 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 27 July 2024 09:10:10 -0400 (0:00:00.376) 0:01:45.707 ********* 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.134630", "end": "2024-07-27 09:10:10.487323", "rc": 0, "start": "2024-07-27 09:10:10.352693" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 11730 0 --:--:-- --:--:-- --:--:-- 12200 % 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 3464 0 --:--:-- --:--:-- --:--:-- 3464 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Saturday 27 July 2024 09:10:10 -0400 (0:00:00.569) 0:01:46.277 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/tmp.lDSWbyICfH/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.lDSWbyICfH/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.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmp.lDSWbyICfH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26