ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-CyQ executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 14 December 2024 07:49:03 -0500 (0:00:00.007) 0:00:00.007 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 14 December 2024 07:49:04 -0500 (0:00:01.098) 0:00:01.106 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 14 December 2024 07:49:04 -0500 (0:00:00.029) 0:00:01.135 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 14 December 2024 07:49:04 -0500 (0:00:00.084) 0:00:01.220 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.465) 0:00:01.685 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.023) 0:00:01.709 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.020) 0:00:01.729 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.081) 0:00:01.810 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.023) 0:00:01.833 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.018) 0:00:01.852 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.024) 0:00:01.877 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.018) 0:00:01.895 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.022) 0:00:01.917 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 14 December 2024 07:49:05 -0500 (0:00:00.027) 0:00:01.945 ***** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 14 December 2024 07:49:06 -0500 (0:00:00.790) 0:00:02.736 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 14 December 2024 07:49:06 -0500 (0:00:00.023) 0:00:02.759 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:49:06 -0500 (0:00:00.039) 0:00:02.799 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:49:06 -0500 (0:00:00.023) 0:00:02.823 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:49:06 -0500 (0:00:00.076) 0:00:02.899 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:49:06 -0500 (0:00:00.033) 0:00:02.933 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:49:06 -0500 (0:00:00.028) 0:00:02.961 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003729", "end": "2024-12-14 07:49:06.924509", "rc": 0, "start": "2024-12-14 07:49:06.920780" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:49:06 -0500 (0:00:00.536) 0:00:03.498 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.027) 0:00:03.525 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.030) 0:00:03.556 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.050) 0:00:03.606 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008136", "end": "2024-12-14 07:49:07.421397", "rc": 1, "start": "2024-12-14 07:49:07.413261" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.378) 0:00:03.984 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.019) 0:00:04.004 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.352) 0:00:04.357 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.022) 0:00:04.379 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.033) 0:00:04.413 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:49:07 -0500 (0:00:00.071) 0:00:04.484 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:49:08 -0500 (0:00:00.055) 0:00:04.539 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:49:08 -0500 (0:00:00.059) 0:00:04.598 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:49:08 -0500 (0:00:00.031) 0:00:04.630 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:49:08 -0500 (0:00:00.032) 0:00:04.663 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:49:11 -0500 (0:00:02.958) 0:00:07.621 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:49:12 -0500 (0:00:01.223) 0:00:08.845 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:49:12 -0500 (0:00:00.056) 0:00:08.901 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:49:12 -0500 (0:00:00.035) 0:00:08.937 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:49:12 -0500 (0:00:00.045) 0:00:08.982 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:49:12 -0500 (0:00:00.123) 0:00:09.106 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:49:12 -0500 (0:00:00.113) 0:00:09.219 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:49:12 -0500 (0:00:00.065) 0:00:09.285 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:49:12 -0500 (0:00:00.073) 0:00:09.358 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:49:12 -0500 (0:00:00.122) 0:00:09.481 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:49:13 -0500 (0:00:00.052) 0:00:09.534 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:49:13 -0500 (0:00:00.071) 0:00:09.605 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:49:13 -0500 (0:00:00.073) 0:00:09.678 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:49:14 -0500 (0:00:00.911) 0:00:10.589 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:49:14 -0500 (0:00:00.079) 0:00:10.669 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:49:14 -0500 (0:00:00.039) 0:00:10.708 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:49:14 -0500 (0:00:00.042) 0:00:10.751 ***** 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, 084340aa-9ff4-41c2-aba5-6bd1b0a383a6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:49:14 -0500 (0:00:00.719) 0:00:11.470 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:49:14 -0500 (0:00:00.033) 0:00:11.503 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 084340aa-9ff4-41c2-aba5-6bd1b0a383a6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:49:15 -0500 (0:00:00.034) 0:00:11.537 ***** 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, 084340aa-9ff4-41c2-aba5-6bd1b0a383a6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 084340aa-9ff4-41c2-aba5-6bd1b0a383a6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:49:15 -0500 (0:00:00.035) 0:00:11.573 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:49:15 -0500 (0:00:00.040) 0:00:11.613 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:49:15 -0500 (0:00:00.467) 0:00:12.081 ***** 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, 084340aa-9ff4-41c2-aba5-6bd1b0a383a6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 084340aa-9ff4-41c2-aba5-6bd1b0a383a6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:49:15 -0500 (0:00:00.036) 0:00:12.118 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:49:15 -0500 (0:00:00.077) 0:00:12.195 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:49:15 -0500 (0:00:00.089) 0:00:12.284 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:49:15 -0500 (0:00:00.038) 0:00:12.323 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:49:16 -0500 (0:00:00.430) 0:00:12.753 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:49:16 -0500 (0:00:00.054) 0:00:12.807 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019163", "end": "2024-12-14 07:49:16.648900", "rc": 0, "start": "2024-12-14 07:49:16.629737" } 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:49:16 -0500 (0:00:00.453) 0:00:13.261 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:49:16 -0500 (0:00:00.063) 0:00:13.325 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:49:16 -0500 (0:00:00.069) 0:00:13.395 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:49:16 -0500 (0:00:00.111) 0:00:13.507 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:49:17 -0500 (0:00:00.103) 0:00:13.610 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:49:17 -0500 (0:00:00.103) 0:00:13.713 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:49:17 -0500 (0:00:00.078) 0:00:13.792 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:49:17 -0500 (0:00:00.114) 0:00:13.907 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:49:17 -0500 (0:00:00.081) 0:00:13.988 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:49:17 -0500 (0:00:00.189) 0:00:14.178 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:49:17 -0500 (0:00:00.125) 0:00:14.304 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180554.8344855, "block_size": 4096, "blocks": 0, "ctime": 1734180554.8344855, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29891, "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": 1734180554.8344855, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:49:18 -0500 (0:00:00.433) 0:00:14.737 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:49:18 -0500 (0:00:00.049) 0:00:14.787 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:49:18 -0500 (0:00:00.033) 0:00:14.820 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:49:18 -0500 (0:00:00.117) 0:00:14.938 ***** 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.057768", "end": "2024-12-14 07:49:18.840787", "rc": 1, "start": "2024-12-14 07:49:18.783019" } STDOUT: Connection 'statebr' (084340aa-9ff4-41c2-aba5-6bd1b0a383a6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 14 December 2024 07:49:18 -0500 (0:00:00.526) 0:00:15.465 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.081) 0:00:15.547 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.043) 0:00:15.590 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.081) 0:00:15.672 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.052) 0:00:15.724 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.051) 0:00:15.775 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003472", "end": "2024-12-14 07:49:19.590432", "rc": 0, "start": "2024-12-14 07:49:19.586960" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.439) 0:00:16.215 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.066) 0:00:16.282 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.056) 0:00:16.339 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 December 2024 07:49:19 -0500 (0:00:00.066) 0:00:16.405 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007365", "end": "2024-12-14 07:49:20.219227", "rc": 1, "start": "2024-12-14 07:49:20.211862" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:49:20 -0500 (0:00:00.400) 0:00:16.806 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:49:20 -0500 (0:00:00.116) 0:00:16.922 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:49:20 -0500 (0:00:00.371) 0:00:17.294 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:49:20 -0500 (0:00:00.062) 0:00:17.357 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 14 December 2024 07:49:20 -0500 (0:00:00.101) 0:00:17.458 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:49:21 -0500 (0:00:00.144) 0:00:17.603 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:49:21 -0500 (0:00:00.146) 0:00:17.749 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:49:21 -0500 (0:00:00.092) 0:00:17.842 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:49:21 -0500 (0:00:00.064) 0:00:17.907 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:49:21 -0500 (0:00:00.041) 0:00:17.948 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:49:23 -0500 (0:00:01.593) 0:00:19.542 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:49:23 -0500 (0:00:00.834) 0:00:20.376 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:49:23 -0500 (0:00:00.033) 0:00:20.410 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:49:23 -0500 (0:00:00.069) 0:00:20.480 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:49:23 -0500 (0:00:00.030) 0:00:20.510 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:49:24 -0500 (0:00:00.049) 0:00:20.559 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:49:24 -0500 (0:00:00.058) 0:00:20.617 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:49:24 -0500 (0:00:00.051) 0:00:20.669 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:49:24 -0500 (0:00:00.065) 0:00:20.734 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:49:24 -0500 (0:00:00.124) 0:00:20.859 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:49:24 -0500 (0:00:00.035) 0:00:20.894 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:49:24 -0500 (0:00:00.054) 0:00:20.948 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:49:24 -0500 (0:00:00.129) 0:00:21.078 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:49:25 -0500 (0:00:00.683) 0:00:21.762 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:49:25 -0500 (0:00:00.148) 0:00:21.910 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:49:25 -0500 (0:00:00.073) 0:00:21.984 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:49:25 -0500 (0:00:00.052) 0:00:22.037 ***** 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, a9b18ce3-f6e4-415e-af6f-23d74b4d87b9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:49:26 -0500 (0:00:00.661) 0:00:22.699 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:49:26 -0500 (0:00:00.052) 0:00:22.751 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b18ce3-f6e4-415e-af6f-23d74b4d87b9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:49:26 -0500 (0:00:00.059) 0:00:22.810 ***** 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, a9b18ce3-f6e4-415e-af6f-23d74b4d87b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b18ce3-f6e4-415e-af6f-23d74b4d87b9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:49:26 -0500 (0:00:00.051) 0:00:22.862 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:49:26 -0500 (0:00:00.050) 0:00:22.912 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 14 December 2024 07:49:26 -0500 (0:00:00.448) 0:00:23.360 ***** 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, a9b18ce3-f6e4-415e-af6f-23d74b4d87b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b18ce3-f6e4-415e-af6f-23d74b4d87b9" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:49:26 -0500 (0:00:00.056) 0:00:23.417 ***** included: /tmp/collections-CyQ/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/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:49:27 -0500 (0:00:00.107) 0:00:23.524 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:49:27 -0500 (0:00:00.109) 0:00:23.634 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:49:27 -0500 (0:00:00.461) 0:00:24.096 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:49:27 -0500 (0:00:00.053) 0:00:24.150 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:49:27 -0500 (0:00:00.097) 0:00:24.247 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:49:27 -0500 (0:00:00.056) 0:00:24.304 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:49:28 -0500 (0:00:00.507) 0:00:24.811 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:49:28 -0500 (0:00:00.071) 0:00:24.882 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019409", "end": "2024-12-14 07:49:28.681498", "rc": 0, "start": "2024-12-14 07:49:28.662089" } 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:49:28 -0500 (0:00:00.426) 0:00:25.309 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:49:28 -0500 (0:00:00.069) 0:00:25.379 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:49:28 -0500 (0:00:00.064) 0:00:25.444 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:49:28 -0500 (0:00:00.057) 0:00:25.501 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:49:29 -0500 (0:00:00.074) 0:00:25.575 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:49:29 -0500 (0:00:00.124) 0:00:25.700 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:49:29 -0500 (0:00:00.062) 0:00:25.762 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:49:29 -0500 (0:00:00.061) 0:00:25.824 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:49:29 -0500 (0:00:00.060) 0:00:25.885 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:49:29 -0500 (0:00:00.077) 0:00:25.962 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:49:29 -0500 (0:00:00.041) 0:00:26.004 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:49:29 -0500 (0:00:00.162) 0:00:26.167 ***** 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.039760", "end": "2024-12-14 07:49:30.089419", "rc": 1, "start": "2024-12-14 07:49:30.049659" } STDOUT: Connection 'statebr' (a9b18ce3-f6e4-415e-af6f-23d74b4d87b9) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 14 December 2024 07:49:30 -0500 (0:00:00.503) 0:00:26.670 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:49:30 -0500 (0:00:00.054) 0:00:26.724 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:49:30 -0500 (0:00:00.035) 0:00:26.760 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:49:30 -0500 (0:00:00.085) 0:00:26.846 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:49:30 -0500 (0:00:00.089) 0:00:26.936 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:49:30 -0500 (0:00:00.055) 0:00:26.991 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003455", "end": "2024-12-14 07:49:30.786811", "rc": 0, "start": "2024-12-14 07:49:30.783356" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:49:30 -0500 (0:00:00.403) 0:00:27.395 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:49:30 -0500 (0:00:00.111) 0:00:27.506 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:49:31 -0500 (0:00:00.058) 0:00:27.566 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:49:31 -0500 (0:00:00.100) 0:00:27.666 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:49:31 -0500 (0:00:00.159) 0:00:27.826 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:49:31 -0500 (0:00:00.170) 0:00:27.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 : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:49:31 -0500 (0:00:00.112) 0:00:28.109 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:49:31 -0500 (0:00:00.077) 0:00:28.186 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:49:31 -0500 (0:00:00.043) 0:00:28.230 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:49:34 -0500 (0:00:02.751) 0:00:30.981 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.891) 0:00:31.873 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.037) 0:00:31.910 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.030) 0:00:31.941 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.080) 0:00:32.022 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.083) 0:00:32.105 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.080) 0:00:32.185 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.065) 0:00:32.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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.079) 0:00:32.330 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.087) 0:00:32.418 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.030) 0:00:32.448 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:49:35 -0500 (0:00:00.030) 0:00:32.479 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:49:36 -0500 (0:00:00.057) 0:00:32.537 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:49:36 -0500 (0:00:00.611) 0:00:33.149 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:49:36 -0500 (0:00:00.112) 0:00:33.261 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:49:36 -0500 (0:00:00.106) 0:00:33.368 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:49:36 -0500 (0:00:00.107) 0:00:33.475 ***** 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, ffbad57c-7309-4cfd-abd0-002ebf547c5e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:49:37 -0500 (0:00:00.662) 0:00:34.137 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:49:37 -0500 (0:00:00.032) 0:00:34.170 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ffbad57c-7309-4cfd-abd0-002ebf547c5e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:49:37 -0500 (0:00:00.036) 0:00:34.206 ***** 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, ffbad57c-7309-4cfd-abd0-002ebf547c5e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ffbad57c-7309-4cfd-abd0-002ebf547c5e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:49:37 -0500 (0:00:00.042) 0:00:34.248 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:49:37 -0500 (0:00:00.045) 0:00:34.293 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:49:38 -0500 (0:00:00.520) 0:00:34.814 ***** 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, ffbad57c-7309-4cfd-abd0-002ebf547c5e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ffbad57c-7309-4cfd-abd0-002ebf547c5e" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:49:38 -0500 (0:00:00.063) 0:00:34.878 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:49:38 -0500 (0:00:00.103) 0:00:34.982 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:49:38 -0500 (0:00:00.125) 0:00:35.107 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:49:38 -0500 (0:00:00.084) 0:00:35.191 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:49:38 -0500 (0:00:00.093) 0:00:35.284 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:49:38 -0500 (0:00:00.060) 0:00:35.345 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:49:38 -0500 (0:00:00.040) 0:00:35.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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:49:40 -0500 (0:00:01.657) 0:00:37.044 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.828) 0:00:37.872 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.036) 0:00:37.908 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.031) 0:00:37.940 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.069) 0:00:38.009 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.084) 0:00:38.094 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.104) 0:00:38.199 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.084) 0:00:38.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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.070) 0:00:38.354 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.108) 0:00:38.463 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:49:41 -0500 (0:00:00.031) 0:00:38.494 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:49:42 -0500 (0:00:00.044) 0:00:38.539 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:49:42 -0500 (0:00:00.061) 0:00:38.600 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:49:42 -0500 (0:00:00.626) 0:00:39.227 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:49:42 -0500 (0:00:00.102) 0:00:39.329 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:49:42 -0500 (0:00:00.055) 0:00:39.385 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:49:42 -0500 (0:00:00.055) 0:00:39.441 ***** 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, ffbad57c-7309-4cfd-abd0-002ebf547c5e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:49:43 -0500 (0:00:00.657) 0:00:40.099 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:49:43 -0500 (0:00:00.052) 0:00:40.151 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ffbad57c-7309-4cfd-abd0-002ebf547c5e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:49:43 -0500 (0:00:00.063) 0:00:40.214 ***** 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, ffbad57c-7309-4cfd-abd0-002ebf547c5e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ffbad57c-7309-4cfd-abd0-002ebf547c5e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:49:43 -0500 (0:00:00.066) 0:00:40.281 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:49:43 -0500 (0:00:00.056) 0:00:40.337 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:49:44 -0500 (0:00:00.444) 0:00:40.781 ***** included: /tmp/collections-CyQ/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/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:49:44 -0500 (0:00:00.064) 0:00:40.845 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:49:44 -0500 (0:00:00.051) 0:00:40.897 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180577.5079997, "block_size": 4096, "blocks": 0, "ctime": 1734180577.5079997, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30022, "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": 1734180577.5079997, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:49:44 -0500 (0:00:00.374) 0:00:41.271 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 December 2024 07:49:44 -0500 (0:00:00.061) 0:00:41.333 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:49:44 -0500 (0:00:00.138) 0:00:41.471 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:49:45 -0500 (0:00:00.059) 0:00:41.530 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:49:45 -0500 (0:00:00.396) 0:00:41.927 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:49:45 -0500 (0:00:00.031) 0:00:41.959 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019407", "end": "2024-12-14 07:49:45.742121", "rc": 0, "start": "2024-12-14 07:49:45.722714" } 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:49:45 -0500 (0:00:00.394) 0:00:42.353 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:49:45 -0500 (0:00:00.113) 0:00:42.466 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.104) 0:00:42.571 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.094) 0:00:42.665 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.117) 0:00:42.783 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.076) 0:00:42.860 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.143) 0:00:43.003 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.066) 0:00:43.070 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.051) 0:00:43.121 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.061) 0:00:43.183 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.058) 0:00:43.242 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:49:46 -0500 (0:00:00.101) 0:00:43.343 ***** 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.063927", "end": "2024-12-14 07:49:47.215877", "rc": 1, "start": "2024-12-14 07:49:47.151950" } STDOUT: Connection 'statebr' (ffbad57c-7309-4cfd-abd0-002ebf547c5e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 14 December 2024 07:49:47 -0500 (0:00:00.482) 0:00:43.826 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:49:47 -0500 (0:00:00.065) 0:00:43.891 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:49:47 -0500 (0:00:00.036) 0:00:43.927 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:49:47 -0500 (0:00:00.066) 0:00:43.994 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:49:47 -0500 (0:00:00.065) 0:00:44.059 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:49:47 -0500 (0:00:00.085) 0:00:44.145 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2024-12-14 07:49:47.947123", "rc": 0, "start": "2024-12-14 07:49:47.943688" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.381) 0:00:44.526 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.040) 0:00:44.567 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.107) 0:00:44.675 ***** included: /tmp/collections-CyQ/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/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.104) 0:00:44.779 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.141) 0:00:44.921 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.117) 0:00:45.039 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.097) 0:00:45.136 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.063) 0:00:45.199 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:49:48 -0500 (0:00:00.061) 0:00:45.261 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:49:50 -0500 (0:00:01.738) 0:00:47.000 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:49:51 -0500 (0:00:00.883) 0:00:47.883 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:49:51 -0500 (0:00:00.041) 0:00:47.924 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:49:51 -0500 (0:00:00.031) 0:00:47.956 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:49:51 -0500 (0:00:00.046) 0:00:48.002 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:49:51 -0500 (0:00:00.144) 0:00:48.147 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:49:51 -0500 (0:00:00.105) 0:00:48.252 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:49:51 -0500 (0:00:00.088) 0:00:48.341 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:49:51 -0500 (0:00:00.100) 0:00:48.441 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:49:52 -0500 (0:00:00.157) 0:00:48.599 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:49:52 -0500 (0:00:00.078) 0:00:48.677 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:49:52 -0500 (0:00:00.093) 0:00:48.771 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:49:52 -0500 (0:00:00.113) 0:00:48.884 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.732) 0:00:49.617 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.065) 0:00:49.682 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.033) 0:00:49.715 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.032) 0:00:49.748 ***** 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, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.587) 0:00:50.336 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.038) 0:00:50.374 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.057) 0:00:50.432 ***** 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, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.041) 0:00:50.474 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:49:53 -0500 (0:00:00.032) 0:00:50.507 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:49:54 -0500 (0:00:00.419) 0:00:50.926 ***** 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, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:49:54 -0500 (0:00:00.233) 0:00:51.160 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:49:54 -0500 (0:00:00.126) 0:00:51.286 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:49:54 -0500 (0:00:00.108) 0:00:51.394 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:49:55 -0500 (0:00:00.126) 0:00:51.521 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:49:55 -0500 (0:00:00.098) 0:00:51.619 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:49:55 -0500 (0:00:00.080) 0:00:51.700 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:49:56 -0500 (0:00:01.715) 0:00:53.415 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:49:57 -0500 (0:00:00.861) 0:00:54.277 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:49:57 -0500 (0:00:00.050) 0:00:54.328 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:49:57 -0500 (0:00:00.043) 0:00:54.371 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:49:57 -0500 (0:00:00.041) 0:00:54.413 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:49:57 -0500 (0:00:00.068) 0:00:54.481 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:49:58 -0500 (0:00:00.077) 0:00:54.559 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:49:58 -0500 (0:00:00.141) 0:00:54.700 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:49:58 -0500 (0:00:00.100) 0:00:54.801 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:49:58 -0500 (0:00:00.150) 0:00:54.951 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:49:58 -0500 (0:00:00.040) 0:00:54.992 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:49:58 -0500 (0:00:00.039) 0:00:55.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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:49:58 -0500 (0:00:00.073) 0:00:55.105 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:49:59 -0500 (0:00:00.576) 0:00:55.682 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:49:59 -0500 (0:00:00.070) 0:00:55.752 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:49:59 -0500 (0:00:00.057) 0:00:55.810 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:49:59 -0500 (0:00:00.043) 0:00:55.853 ***** 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, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:49:59 -0500 (0:00:00.544) 0:00:56.398 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:49:59 -0500 (0:00:00.040) 0:00:56.438 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:49:59 -0500 (0:00:00.040) 0:00:56.479 ***** 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, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 489fd0b5-5aa3-4387-bef9-e18c42e6fefb skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.036) 0:00:56.516 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.032) 0:00:56.548 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.376) 0:00:56.925 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.058) 0:00:56.983 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.136) 0:00:57.120 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.108) 0:00:57.229 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.110) 0:00:57.340 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.058) 0:00:57.398 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:00 -0500 (0:00:00.058) 0:00:57.456 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:02 -0500 (0:00:01.751) 0:00:59.208 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:03 -0500 (0:00:01.014) 0:01:00.223 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:03 -0500 (0:00:00.061) 0:01:00.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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:03 -0500 (0:00:00.075) 0:01:00.360 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:03 -0500 (0:00:00.083) 0:01:00.443 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:04 -0500 (0:00:00.096) 0:01:00.539 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:04 -0500 (0:00:00.105) 0:01:00.644 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:04 -0500 (0:00:00.081) 0:01:00.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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:04 -0500 (0:00:00.158) 0:01:00.885 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:04 -0500 (0:00:00.201) 0:01:01.086 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:04 -0500 (0:00:00.068) 0:01:01.155 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:04 -0500 (0:00:00.050) 0:01:01.206 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:04 -0500 (0:00:00.101) 0:01:01.307 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:05 -0500 (0:00:00.670) 0:01:01.978 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:05 -0500 (0:00:00.100) 0:01:02.078 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:05 -0500 (0:00:00.059) 0:01:02.137 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:05 -0500 (0:00:00.059) 0:01:02.197 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:50:06 -0500 (0:00:00.710) 0:01:02.908 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:50:06 -0500 (0:00:00.059) 0:01:02.967 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:50:06 -0500 (0:00:00.056) 0:01:03.024 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:06 -0500 (0:00:00.058) 0:01:03.083 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:06 -0500 (0:00:00.049) 0:01:03.132 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:50:07 -0500 (0:00:00.477) 0:01:03.610 ***** included: /tmp/collections-CyQ/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/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 December 2024 07:50:07 -0500 (0:00:00.101) 0:01:03.712 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:50:07 -0500 (0:00:00.149) 0:01:03.861 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180593.6875749, "block_size": 4096, "blocks": 0, "ctime": 1734180593.6875749, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30153, "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": 1734180593.6875749, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 December 2024 07:50:07 -0500 (0:00:00.388) 0:01:04.250 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:50:07 -0500 (0:00:00.053) 0:01:04.303 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:50:07 -0500 (0:00:00.076) 0:01:04.379 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:50:07 -0500 (0:00:00.036) 0:01:04.416 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:50:08 -0500 (0:00:00.372) 0:01:04.788 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:50:08 -0500 (0:00:00.054) 0:01:04.842 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019551", "end": "2024-12-14 07:50:08.680867", "rc": 1, "start": "2024-12-14 07:50:08.661316" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:50:08 -0500 (0:00:00.437) 0:01:05.279 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:50:08 -0500 (0:00:00.061) 0:01:05.341 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:50:08 -0500 (0:00:00.061) 0:01:05.403 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:50:08 -0500 (0:00:00.054) 0:01:05.457 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:50:08 -0500 (0:00:00.055) 0:01:05.513 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:50:09 -0500 (0:00:00.060) 0:01:05.574 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:50:09 -0500 (0:00:00.063) 0:01:05.637 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:50:09 -0500 (0:00:00.084) 0:01:05.721 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:50:09 -0500 (0:00:00.049) 0:01:05.771 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:50:09 -0500 (0:00:00.118) 0:01:05.889 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.053910", "end": "2024-12-14 07:50:09.725940", "rc": 0, "start": "2024-12-14 07:50:09.672030" } STDOUT: Connection 'statebr' (489fd0b5-5aa3-4387-bef9-e18c42e6fefb) successfully deleted. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 14 December 2024 07:50:09 -0500 (0:00:00.442) 0:01:06.332 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:50:09 -0500 (0:00:00.071) 0:01:06.403 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:50:09 -0500 (0:00:00.052) 0:01:06.456 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:50:10 -0500 (0:00:00.117) 0:01:06.573 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:50:10 -0500 (0:00:00.079) 0:01:06.652 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:50:10 -0500 (0:00:00.075) 0:01:06.728 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003494", "end": "2024-12-14 07:50:10.518427", "rc": 0, "start": "2024-12-14 07:50:10.514933" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:50:10 -0500 (0:00:00.383) 0:01:07.112 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:50:10 -0500 (0:00:00.075) 0:01:07.187 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:50:10 -0500 (0:00:00.072) 0:01:07.260 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:50:10 -0500 (0:00:00.113) 0:01:07.373 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:10 -0500 (0:00:00.078) 0:01:07.452 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:11 -0500 (0:00:00.100) 0:01:07.552 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:11 -0500 (0:00:00.076) 0:01:07.629 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:11 -0500 (0:00:00.080) 0:01:07.710 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:11 -0500 (0:00:00.066) 0:01:07.776 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:12 -0500 (0:00:01.685) 0:01:09.462 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:13 -0500 (0:00:00.909) 0:01:10.372 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:13 -0500 (0:00:00.070) 0:01:10.442 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:13 -0500 (0:00:00.068) 0:01:10.511 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.058) 0:01:10.570 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.101) 0:01:10.671 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.111) 0:01:10.783 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.090) 0:01:10.873 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.077) 0:01:10.951 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.112) 0:01:11.063 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.038) 0:01:11.102 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.031) 0:01:11.133 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:14 -0500 (0:00:00.147) 0:01:11.281 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:15 -0500 (0:00:00.604) 0:01:11.885 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:15 -0500 (0:00:00.070) 0:01:11.955 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:15 -0500 (0:00:00.033) 0:01:11.989 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:15 -0500 (0:00:00.032) 0:01:12.022 ***** 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, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.574) 0:01:12.597 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.038) 0:01:12.635 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.039) 0:01:12.674 ***** 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, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.064) 0:01:12.738 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.054) 0:01:12.793 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.392) 0:01:13.185 ***** 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, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.035) 0:01:13.220 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.068) 0:01:13.289 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.061) 0:01:13.350 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.057) 0:01:13.408 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:16 -0500 (0:00:00.070) 0:01:13.479 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:17 -0500 (0:00:00.037) 0:01:13.516 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:18 -0500 (0:00:01.571) 0:01:15.088 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.819) 0:01:15.907 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.034) 0:01:15.941 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.031) 0:01:15.973 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.031) 0:01:16.004 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.061) 0:01:16.066 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.061) 0:01:16.128 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.049) 0:01:16.177 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.061) 0:01:16.238 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.086) 0:01:16.325 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.031) 0:01:16.357 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.031) 0:01:16.388 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:19 -0500 (0:00:00.059) 0:01:16.448 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:20 -0500 (0:00:00.688) 0:01:17.137 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:20 -0500 (0:00:00.062) 0:01:17.199 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:20 -0500 (0:00:00.033) 0:01:17.233 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:20 -0500 (0:00:00.031) 0:01:17.265 ***** 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, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:50:21 -0500 (0:00:00.578) 0:01:17.844 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:50:21 -0500 (0:00:00.033) 0:01:17.877 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:50:21 -0500 (0:00:00.036) 0:01:17.913 ***** 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, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d0e176c6-f24d-4eb4-ae74-fbc0ac534e7e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:21 -0500 (0:00:00.037) 0:01:17.951 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:21 -0500 (0:00:00.031) 0:01:17.982 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 December 2024 07:50:21 -0500 (0:00:00.422) 0:01:18.405 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:22 -0500 (0:00:00.176) 0:01:18.581 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:22 -0500 (0:00:00.223) 0:01:18.805 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:22 -0500 (0:00:00.202) 0:01:19.008 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:22 -0500 (0:00:00.091) 0:01:19.099 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:22 -0500 (0:00:00.087) 0:01:19.186 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:24 -0500 (0:00:01.660) 0:01:20.847 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.812) 0:01:21.659 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.036) 0:01:21.696 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.031) 0:01:21.728 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.037) 0:01:21.765 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.086) 0:01:21.851 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.108) 0:01:21.959 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.093) 0:01:22.053 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.074) 0:01:22.128 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.121) 0:01:22.249 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.036) 0:01:22.286 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.033) 0:01:22.319 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:25 -0500 (0:00:00.063) 0:01:22.383 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:26 -0500 (0:00:00.610) 0:01:22.994 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:26 -0500 (0:00:00.069) 0:01:23.063 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:26 -0500 (0:00:00.045) 0:01:23.109 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:26 -0500 (0:00:00.112) 0:01:23.221 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:50:27 -0500 (0:00:00.728) 0:01:23.950 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:50:27 -0500 (0:00:00.071) 0:01:24.022 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:50:27 -0500 (0:00:00.065) 0:01:24.088 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:27 -0500 (0:00:00.063) 0:01:24.152 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:27 -0500 (0:00:00.057) 0:01:24.209 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:50:28 -0500 (0:00:00.426) 0:01:24.636 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:50:28 -0500 (0:00:00.058) 0:01:24.695 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:28 -0500 (0:00:00.079) 0:01:24.774 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:28 -0500 (0:00:00.103) 0:01:24.878 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:28 -0500 (0:00:00.068) 0:01:24.947 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:28 -0500 (0:00:00.043) 0:01:24.991 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:28 -0500 (0:00:00.049) 0:01:25.040 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:30 -0500 (0:00:01.664) 0:01:26.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 : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:30 -0500 (0:00:00.807) 0:01:27.512 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.041) 0:01:27.553 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.031) 0:01:27.584 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.053) 0:01:27.638 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.073) 0:01:27.712 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.104) 0:01:27.817 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.062) 0:01:27.879 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.076) 0:01:27.956 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.092) 0:01:28.049 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.030) 0:01:28.079 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.031) 0:01:28.111 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:31 -0500 (0:00:00.069) 0:01:28.181 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:32 -0500 (0:00:00.637) 0:01:28.818 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:32 -0500 (0:00:00.099) 0:01:28.917 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:32 -0500 (0:00:00.050) 0:01:28.968 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:32 -0500 (0:00:00.108) 0:01:29.077 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:50:33 -0500 (0:00:00.651) 0:01:29.728 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:50:33 -0500 (0:00:00.032) 0:01:29.761 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:50:33 -0500 (0:00:00.034) 0:01:29.796 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:33 -0500 (0:00:00.034) 0:01:29.831 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:33 -0500 (0:00:00.031) 0:01:29.862 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:50:33 -0500 (0:00:00.482) 0:01:30.345 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:50:33 -0500 (0:00:00.086) 0:01:30.432 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:50:34 -0500 (0:00:00.092) 0:01:30.524 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:50:34 -0500 (0:00:00.034) 0:01:30.559 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:50:34 -0500 (0:00:00.344) 0:01:30.903 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:50:34 -0500 (0:00:00.031) 0:01:30.934 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018505", "end": "2024-12-14 07:50:34.766956", "rc": 1, "start": "2024-12-14 07:50:34.748451" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:50:34 -0500 (0:00:00.443) 0:01:31.378 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:50:34 -0500 (0:00:00.064) 0:01:31.442 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:50:34 -0500 (0:00:00.056) 0:01:31.498 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.049) 0:01:31.548 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.110) 0:01:31.658 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.067) 0:01:31.725 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.062) 0:01:31.788 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.135) 0:01:31.924 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.089) 0:01:32.014 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.359) 0:01:32.373 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.037) 0:01:32.411 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:50:35 -0500 (0:00:00.039) 0:01:32.450 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:50:36 -0500 (0:00:00.103) 0:01:32.554 ***** 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.037719", "end": "2024-12-14 07:50:36.387757", "rc": 1, "start": "2024-12-14 07:50:36.350038" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 14 December 2024 07:50:36 -0500 (0:00:00.411) 0:01:32.965 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 December 2024 07:50:36 -0500 (0:00:00.056) 0:01:33.022 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 December 2024 07:50:36 -0500 (0:00:00.032) 0:01:33.055 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 December 2024 07:50:36 -0500 (0:00:00.066) 0:01:33.122 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 December 2024 07:50:36 -0500 (0:00:00.084) 0:01:33.206 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 December 2024 07:50:36 -0500 (0:00:00.050) 0:01:33.256 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003821", "end": "2024-12-14 07:50:37.026734", "rc": 0, "start": "2024-12-14 07:50:37.022913" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.350) 0:01:33.607 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.034) 0:01:33.641 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.033) 0:01:33.675 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.061) 0:01:33.737 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.082) 0:01:33.820 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.060) 0:01:33.880 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.074) 0:01:33.955 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.058) 0:01:34.013 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:37 -0500 (0:00:00.058) 0:01:34.072 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:39 -0500 (0:00:01.661) 0:01:35.734 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.930) 0:01:36.664 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.035) 0:01:36.699 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.031) 0:01:36.731 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.029) 0:01:36.761 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.052) 0:01:36.813 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.082) 0:01:36.896 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.092) 0:01:36.988 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.111) 0:01:37.100 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.163) 0:01:37.263 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.074) 0:01:37.338 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:40 -0500 (0:00:00.054) 0:01:37.392 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:41 -0500 (0:00:00.134) 0:01:37.527 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:41 -0500 (0:00:00.709) 0:01:38.237 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:41 -0500 (0:00:00.090) 0:01:38.328 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:41 -0500 (0:00:00.037) 0:01:38.365 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:41 -0500 (0:00:00.032) 0:01:38.398 ***** 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, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:50:42 -0500 (0:00:00.760) 0:01:39.158 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:50:42 -0500 (0:00:00.120) 0:01:39.278 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:50:42 -0500 (0:00:00.053) 0:01:39.332 ***** 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, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:42 -0500 (0:00:00.053) 0:01:39.386 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:42 -0500 (0:00:00.034) 0:01:39.420 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 December 2024 07:50:43 -0500 (0:00:00.453) 0:01:39.873 ***** 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, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 December 2024 07:50:43 -0500 (0:00:00.089) 0:01:39.962 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:43 -0500 (0:00:00.128) 0:01:40.091 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:43 -0500 (0:00:00.116) 0:01:40.208 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:43 -0500 (0:00:00.109) 0:01:40.318 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:43 -0500 (0:00:00.055) 0:01:40.373 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:43 -0500 (0:00:00.047) 0:01:40.421 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:45 -0500 (0:00:01.724) 0:01:42.146 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:46 -0500 (0:00:00.918) 0:01:43.064 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:46 -0500 (0:00:00.118) 0:01:43.183 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:46 -0500 (0:00:00.095) 0:01:43.283 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:46 -0500 (0:00:00.076) 0:01:43.360 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:46 -0500 (0:00:00.127) 0:01:43.488 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:47 -0500 (0:00:00.107) 0:01:43.596 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:47 -0500 (0:00:00.092) 0:01:43.688 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:47 -0500 (0:00:00.164) 0:01:43.853 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:47 -0500 (0:00:00.161) 0:01:44.015 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:47 -0500 (0:00:00.056) 0:01:44.071 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:47 -0500 (0:00:00.053) 0:01:44.124 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:47 -0500 (0:00:00.106) 0:01:44.231 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:48 -0500 (0:00:00.599) 0:01:44.831 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:48 -0500 (0:00:00.076) 0:01:44.908 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:48 -0500 (0:00:00.035) 0:01:44.943 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:48 -0500 (0:00:00.032) 0:01:44.975 ***** 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, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:50:49 -0500 (0:00:00.627) 0:01:45.603 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:50:49 -0500 (0:00:00.059) 0:01:45.662 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:50:49 -0500 (0:00:00.060) 0:01:45.723 ***** 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, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18b9d5eb-d25f-40f6-b32b-22a5b4ac4f4b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:49 -0500 (0:00:00.161) 0:01:45.884 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:49 -0500 (0:00:00.058) 0:01:45.943 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:50:49 -0500 (0:00:00.509) 0:01:46.452 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:50 -0500 (0:00:00.096) 0:01:46.549 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:50 -0500 (0:00:00.070) 0:01:46.619 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:50 -0500 (0:00:00.061) 0:01:46.680 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:50 -0500 (0:00:00.036) 0:01:46.716 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:50 -0500 (0:00:00.039) 0:01:46.756 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:51 -0500 (0:00:01.679) 0:01:48.435 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:52 -0500 (0:00:00.919) 0:01:49.355 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:52 -0500 (0:00:00.046) 0:01:49.401 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:52 -0500 (0:00:00.041) 0:01:49.443 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:52 -0500 (0:00:00.054) 0:01:49.498 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:53 -0500 (0:00:00.237) 0:01:49.735 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:53 -0500 (0:00:00.115) 0:01:49.850 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:53 -0500 (0:00:00.091) 0:01:49.941 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:53 -0500 (0:00:00.110) 0:01:50.052 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:53 -0500 (0:00:00.122) 0:01:50.175 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:53 -0500 (0:00:00.052) 0:01:50.228 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:53 -0500 (0:00:00.056) 0:01:50.284 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:53 -0500 (0:00:00.104) 0:01:50.389 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:54 -0500 (0:00:00.594) 0:01:50.983 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:54 -0500 (0:00:00.064) 0:01:51.047 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:54 -0500 (0:00:00.032) 0:01:51.080 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:54 -0500 (0:00:00.034) 0:01:51.114 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:50:55 -0500 (0:00:00.608) 0:01:51.723 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:50:55 -0500 (0:00:00.034) 0:01:51.758 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:50:55 -0500 (0:00:00.037) 0:01:51.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": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:50:55 -0500 (0:00:00.039) 0:01:51.834 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:50:55 -0500 (0:00:00.033) 0:01:51.867 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 December 2024 07:50:55 -0500 (0:00:00.437) 0:01:52.305 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 December 2024 07:50:55 -0500 (0:00:00.060) 0:01:52.365 ***** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 December 2024 07:50:55 -0500 (0:00:00.085) 0:01:52.451 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 December 2024 07:50:56 -0500 (0:00:00.064) 0:01:52.516 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 December 2024 07:50:56 -0500 (0:00:00.059) 0:01:52.575 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 December 2024 07:50:56 -0500 (0:00:00.039) 0:01:52.615 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 December 2024 07:50:56 -0500 (0:00:00.037) 0:01:52.653 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 December 2024 07:50:57 -0500 (0:00:01.683) 0:01:54.336 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 December 2024 07:50:58 -0500 (0:00:00.824) 0:01:55.161 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 December 2024 07:50:58 -0500 (0:00:00.037) 0:01:55.199 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 December 2024 07:50:58 -0500 (0:00:00.034) 0:01:55.233 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 December 2024 07:50:58 -0500 (0:00:00.032) 0:01:55.265 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 December 2024 07:50:58 -0500 (0:00:00.096) 0:01:55.362 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 December 2024 07:50:58 -0500 (0:00:00.065) 0:01:55.427 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 December 2024 07:50:58 -0500 (0:00:00.060) 0:01:55.487 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.071) 0:01:55.559 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.094) 0:01:55.654 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.033) 0:01:55.687 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.032) 0:01:55.720 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.066) 0:01:55.786 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.560) 0:01:56.347 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.066) 0:01:56.413 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.033) 0:01:56.447 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.031) 0:01:56.479 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.616) 0:01:57.095 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.033) 0:01:57.128 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.037) 0:01:57.166 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.037) 0:01:57.204 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.031) 0:01:57.235 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 December 2024 07:51:01 -0500 (0:00:00.372) 0:01:57.608 ***** included: /tmp/collections-CyQ/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/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 December 2024 07:51:01 -0500 (0:00:00.106) 0:01:57.715 ***** included: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 December 2024 07:51:01 -0500 (0:00:00.056) 0:01:57.771 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 December 2024 07:51:01 -0500 (0:00:00.033) 0:01:57.805 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 December 2024 07:51:01 -0500 (0:00:00.353) 0:01:58.158 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 December 2024 07:51:01 -0500 (0:00:00.032) 0:01:58.190 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019053", "end": "2024-12-14 07:51:01.981236", "rc": 1, "start": "2024-12-14 07:51:01.962183" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.370) 0:01:58.561 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.048) 0:01:58.610 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.032) 0:01:58.642 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.033) 0:01:58.676 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.032) 0:01:58.708 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.032) 0:01:58.741 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.036) 0:01:58.778 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.275182", "end": "2024-12-14 07:51:02.829763", "rc": 0, "start": "2024-12-14 07:51:02.554581" } STDOUT: NetworkManager-1.51.4-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.631) 0:01:59.410 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.4-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.036) 0:01:59.446 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.51.4-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 December 2024 07:51:02 -0500 (0:00:00.033) 0:01:59.479 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 December 2024 07:51:03 -0500 (0:00:00.184) 0:01:59.664 ***** included: /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 December 2024 07:51:03 -0500 (0:00:00.088) 0:01:59.753 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 December 2024 07:51:03 -0500 (0:00:00.376) 0:02:00.129 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 December 2024 07:51:03 -0500 (0:00:00.037) 0:02:00.167 ***** 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 December 2024 07:51:03 -0500 (0:00:00.036) 0:02:00.203 ***** included: /tmp/collections-CyQ/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/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 December 2024 07:51:03 -0500 (0:00:00.067) 0:02:00.270 ***** 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.037719", "end": "2024-12-14 07:51:04.087924", "rc": 1, "start": "2024-12-14 07:51:04.050205" } 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/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 14 December 2024 07:51:04 -0500 (0:00:00.421) 0:02:00.691 ***** 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.009316", "end": "2024-12-14 07:51:04.507978", "rc": 0, "start": "2024-12-14 07:51:04.498662" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:f2:52:7e:83 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.15.20/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2739sec preferred_lft 2739sec inet6 fe80::8ff:f2ff:fe52:7e83/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.20 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.20 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 14 December 2024 07:51:04 -0500 (0:00:00.399) 0:02:01.091 ***** 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.212936", "end": "2024-12-14 07:51:05.095763", "rc": 0, "start": "2024-12-14 07:51:04.882827" } 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 2620:52:3:1:dead:beef:cafe:fed7 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed7 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2118 0 --:--:-- --:--:-- --:--:-- 2118 % 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 6613 0 --:--:-- --:--:-- --:--:-- 6767 PLAY RECAP ********************************************************************* managed-node1 : ok=333 changed=10 unreachable=0 failed=0 skipped=313 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Saturday 14 December 2024 07:51:05 -0500 (0:00:00.567) 0:02:01.658 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.96s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.75s /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-CyQ/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/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.10s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/collections-CyQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26