[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.11] 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-RRH executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.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_initscripts.yml ***************************************** 2 plays in /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 14 September 2024 08:52:38 -0400 (0:00:00.012) 0:00:00.012 **** ok: [managed_node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 14 September 2024 08:52:39 -0400 (0:00:01.122) 0:00:01.135 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 14 September 2024 08:52:39 -0400 (0:00:00.028) 0:00:01.163 **** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 14 September 2024 08:52:39 -0400 (0:00:00.590) 0:00:01.754 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 14 September 2024 08:52:40 -0400 (0:00:00.549) 0:00:02.303 **** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 14 September 2024 08:52:40 -0400 (0:00:00.021) 0:00:02.324 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 14 September 2024 08:52:40 -0400 (0:00:00.014) 0:00:02.339 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 14 September 2024 08:52:40 -0400 (0:00:00.045) 0:00:02.384 **** ok: [managed_node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 14 September 2024 08:52:41 -0400 (0:00:00.526) 0:00:02.910 **** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 14 September 2024 08:52:41 -0400 (0:00:00.015) 0:00:02.926 **** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 14 September 2024 08:52:41 -0400 (0:00:00.019) 0:00:02.945 **** ok: [managed_node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.223206", "end": "2024-09-14 08:52:41.667885", "rc": 0, "start": "2024-09-14 08:52:41.444679" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 14 September 2024 08:52:41 -0400 (0:00:00.558) 0:00:03.504 **** skipping: [managed_node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 14 September 2024 08:52:41 -0400 (0:00:00.020) 0:00:03.525 **** ok: [managed_node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 14 September 2024 08:52:41 -0400 (0:00:00.031) 0:00:03.556 **** ok: [managed_node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 14 September 2024 08:52:42 -0400 (0:00:00.817) 0:00:04.373 **** ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 14 September 2024 08:52:42 -0400 (0:00:00.054) 0:00:04.428 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:52:42 -0400 (0:00:00.049) 0:00:04.477 **** ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:52:42 -0400 (0:00:00.039) 0:00:04.517 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:52:42 -0400 (0:00:00.087) 0:00:04.604 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:52:42 -0400 (0:00:00.040) 0:00:04.644 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:52:42 -0400 (0:00:00.045) 0:00:04.690 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003070", "end": "2024-09-14 08:52:43.204120", "rc": 0, "start": "2024-09-14 08:52:43.201050" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:52:43 -0400 (0:00:00.342) 0:00:05.032 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:52:43 -0400 (0:00:00.045) 0:00:05.077 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:52:43 -0400 (0:00:00.048) 0:00:05.126 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 September 2024 08:52:43 -0400 (0:00:00.078) 0:00:05.204 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007236", "end": "2024-09-14 08:52:43.779894", "rc": 1, "start": "2024-09-14 08:52:43.772658" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:52:43 -0400 (0:00:00.411) 0:00:05.616 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:52:43 -0400 (0:00:00.058) 0:00:05.674 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:52:44 -0400 (0:00:00.625) 0:00:06.300 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:52:44 -0400 (0:00:00.097) 0:00:06.397 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:52:44 -0400 (0:00:00.113) 0:00:06.511 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:52:44 -0400 (0:00:00.101) 0:00:06.612 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:52:44 -0400 (0:00:00.080) 0:00:06.692 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:52:44 -0400 (0:00:00.058) 0:00:06.750 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:52:45 -0400 (0:00:00.054) 0:00:06.805 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:52:45 -0400 (0:00:00.060) 0:00:06.865 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:52:46 -0400 (0:00:01.840) 0:00:08.705 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:52:48 -0400 (0:00:01.763) 0:00:10.469 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:52:48 -0400 (0:00:00.054) 0:00:10.524 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:52:48 -0400 (0:00:00.052) 0:00:10.577 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:52:48 -0400 (0:00:00.070) 0:00:10.647 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:52:48 -0400 (0:00:00.081) 0:00:10.728 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.121) 0:00:10.851 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.090) 0:00:10.941 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.132) 0:00:11.074 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.201) 0:00:11.275 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.062) 0:00:11.338 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.083) 0:00:11.422 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.098) 0:00:11.521 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.076) 0:00:11.597 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:52:49 -0400 (0:00:00.077) 0:00:11.674 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:52:50 -0400 (0:00:00.860) 0:00:12.534 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpz_gl4s5g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:52:51 -0400 (0:00:00.378) 0:00:12.913 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:52:51 -0400 (0:00:00.711) 0:00:13.624 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:52:51 -0400 (0:00:00.050) 0:00:13.675 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:52:51 -0400 (0:00:00.050) 0:00:13.726 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:52:51 -0400 (0:00:00.050) 0:00:13.777 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:52:52 -0400 (0:00:00.049) 0:00:13.827 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:52:52 -0400 (0:00:00.500) 0:00:14.328 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:52:52 -0400 (0:00:00.088) 0:00:14.416 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 September 2024 08:52:52 -0400 (0:00:00.166) 0:00:14.582 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:52:52 -0400 (0:00:00.124) 0:00:14.707 **** ok: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:52:53 -0400 (0:00:00.082) 0:00:14.790 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318371.7788072, "block_size": 4096, "blocks": 8, "ctime": 1726318371.7788072, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726318371.7788072, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:52:53 -0400 (0:00:00.468) 0:00:15.258 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:52:53 -0400 (0:00:00.067) 0:00:15.326 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016992", "end": "2024-09-14 08:52:53.861491", "rc": 1, "start": "2024-09-14 08:52:53.844499" } 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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:52:53 -0400 (0:00:00.406) 0:00:15.733 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:52:54 -0400 (0:00:00.089) 0:00:15.822 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003936", "end": "2024-09-14 08:52:55.386110", "rc": 0, "start": "2024-09-14 08:52:54.382174" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:52:55 -0400 (0:00:01.464) 0:00:17.287 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:52:55 -0400 (0:00:00.079) 0:00:17.366 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002961", "end": "2024-09-14 08:52:55.903361", "rc": 0, "start": "2024-09-14 08:52:55.900400" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:52:55 -0400 (0:00:00.411) 0:00:17.778 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 September 2024 08:52:56 -0400 (0:00:00.093) 0:00:17.872 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 September 2024 08:52:56 -0400 (0:00:00.093) 0:00:17.965 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 September 2024 08:52:56 -0400 (0:00:00.139) 0:00:18.105 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:52:56 -0400 (0:00:00.094) 0:00:18.199 **** skipping: [managed_node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:52:56 -0400 (0:00:00.111) 0:00:18.311 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:52:56 -0400 (0:00:00.193) 0:00:18.504 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:52:56 -0400 (0:00:00.095) 0:00:18.600 **** fatal: [managed_node2]: 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.034136", "end": "2024-09-14 08:52:57.162490", "rc": 1, "start": "2024-09-14 08:52:57.128354" } 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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 14 September 2024 08:52:57 -0400 (0:00:00.412) 0:00:19.013 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:52:57 -0400 (0:00:00.087) 0:00:19.100 **** ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:52:57 -0400 (0:00:00.054) 0:00:19.155 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:52:57 -0400 (0:00:00.097) 0:00:19.252 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:52:57 -0400 (0:00:00.174) 0:00:19.427 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:52:57 -0400 (0:00:00.178) 0:00:19.605 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003109", "end": "2024-09-14 08:52:58.221586", "rc": 0, "start": "2024-09-14 08:52:58.218477" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:52:58 -0400 (0:00:00.460) 0:00:20.065 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:52:58 -0400 (0:00:00.052) 0:00:20.118 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:52:58 -0400 (0:00:00.050) 0:00:20.168 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 September 2024 08:52:58 -0400 (0:00:00.109) 0:00:20.278 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005916", "end": "2024-09-14 08:52:58.815222", "rc": 1, "start": "2024-09-14 08:52:58.809306" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:52:58 -0400 (0:00:00.391) 0:00:20.669 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:52:58 -0400 (0:00:00.074) 0:00:20.744 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:52:59 -0400 (0:00:00.372) 0:00:21.116 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:52:59 -0400 (0:00:00.064) 0:00:21.181 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 14 September 2024 08:52:59 -0400 (0:00:00.078) 0:00:21.259 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:52:59 -0400 (0:00:00.132) 0:00:21.391 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:52:59 -0400 (0:00:00.105) 0:00:21.497 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:52:59 -0400 (0:00:00.068) 0:00:21.565 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:52:59 -0400 (0:00:00.052) 0:00:21.618 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:52:59 -0400 (0:00:00.049) 0:00:21.668 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:01 -0400 (0:00:01.615) 0:00:23.283 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:03 -0400 (0:00:01.630) 0:00:24.913 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.089) 0:00:25.002 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.089) 0:00:25.092 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.080) 0:00:25.172 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.087) 0:00:25.260 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.082) 0:00:25.342 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.056) 0:00:25.398 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.070) 0:00:25.469 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.100) 0:00:25.570 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.053) 0:00:25.623 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:03 -0400 (0:00:00.075) 0:00:25.699 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:04 -0400 (0:00:00.097) 0:00:25.796 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:04 -0400 (0:00:00.080) 0:00:25.877 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:04 -0400 (0:00:00.062) 0:00:25.939 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:04 -0400 (0:00:00.655) 0:00:26.594 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmp20lgmo4j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:05 -0400 (0:00:00.579) 0:00:27.174 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:05 -0400 (0:00:00.540) 0:00:27.715 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:06 -0400 (0:00:00.079) 0:00:27.794 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:06 -0400 (0:00:00.080) 0:00:27.875 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:53:06 -0400 (0:00:00.089) 0:00:27.964 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:53:06 -0400 (0:00:00.059) 0:00:28.023 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 14 September 2024 08:53:06 -0400 (0:00:00.449) 0:00:28.473 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:53:06 -0400 (0:00:00.116) 0:00:28.589 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:53:06 -0400 (0:00:00.170) 0:00:28.760 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:53:07 -0400 (0:00:00.108) 0:00:28.868 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:53:07 -0400 (0:00:00.393) 0:00:29.261 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 September 2024 08:53:07 -0400 (0:00:00.064) 0:00:29.325 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:53:07 -0400 (0:00:00.127) 0:00:29.452 **** ok: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:53:07 -0400 (0:00:00.052) 0:00:29.505 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318385.8418124, "block_size": 4096, "blocks": 8, "ctime": 1726318385.8418124, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726318385.8418124, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:53:08 -0400 (0:00:00.355) 0:00:29.860 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:53:08 -0400 (0:00:00.054) 0:00:29.915 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016972", "end": "2024-09-14 08:53:08.465593", "rc": 1, "start": "2024-09-14 08:53:08.448621" } 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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:53:08 -0400 (0:00:00.424) 0:00:30.340 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:53:08 -0400 (0:00:00.061) 0:00:30.401 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003013", "end": "2024-09-14 08:53:08.951766", "rc": 0, "start": "2024-09-14 08:53:08.948753" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.399) 0:00:30.800 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.062) 0:00:30.863 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002909", "end": "2024-09-14 08:53:09.406382", "rc": 0, "start": "2024-09-14 08:53:09.403473" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.418) 0:00:31.281 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.076) 0:00:31.357 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.061) 0:00:31.419 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.060) 0:00:31.480 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.054) 0:00:31.534 **** skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.047) 0:00:31.581 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:53:09 -0400 (0:00:00.068) 0:00:31.650 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:53:10 -0400 (0:00:00.284) 0:00:31.934 **** fatal: [managed_node2]: 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.033494", "end": "2024-09-14 08:53:10.537485", "rc": 1, "start": "2024-09-14 08:53:10.503991" } 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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 14 September 2024 08:53:10 -0400 (0:00:00.488) 0:00:32.422 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:53:10 -0400 (0:00:00.130) 0:00:32.553 **** ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:53:10 -0400 (0:00:00.083) 0:00:32.637 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:53:11 -0400 (0:00:00.158) 0:00:32.795 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:53:11 -0400 (0:00:00.104) 0:00:32.900 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:53:11 -0400 (0:00:00.097) 0:00:32.997 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003109", "end": "2024-09-14 08:53:11.549713", "rc": 0, "start": "2024-09-14 08:53:11.546604" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:53:11 -0400 (0:00:00.423) 0:00:33.420 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:53:11 -0400 (0:00:00.088) 0:00:33.508 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:53:11 -0400 (0:00:00.088) 0:00:33.596 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:53:11 -0400 (0:00:00.117) 0:00:33.714 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:53:12 -0400 (0:00:00.155) 0:00:33.869 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:53:12 -0400 (0:00:00.099) 0:00:33.969 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:53:12 -0400 (0:00:00.092) 0:00:34.061 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:53:12 -0400 (0:00:00.086) 0:00:34.148 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:53:12 -0400 (0:00:00.091) 0:00:34.239 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:14 -0400 (0:00:01.870) 0:00:36.109 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:15 -0400 (0:00:01.469) 0:00:37.579 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:15 -0400 (0:00:00.053) 0:00:37.632 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:15 -0400 (0:00:00.049) 0:00:37.681 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.115) 0:00:37.797 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.101) 0:00:37.898 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.093) 0:00:37.992 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.072) 0:00:38.065 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.128) 0:00:38.193 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.088) 0:00:38.281 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.059) 0:00:38.341 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.073) 0:00:38.414 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.088) 0:00:38.502 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.060) 0:00:38.563 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:16 -0400 (0:00:00.061) 0:00:38.624 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:17 -0400 (0:00:00.654) 0:00:39.278 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmptpzdibzt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:17 -0400 (0:00:00.439) 0:00:39.718 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:18 -0400 (0:00:00.553) 0:00:40.271 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:18 -0400 (0:00:00.103) 0:00:40.375 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:18 -0400 (0:00:00.154) 0:00:40.529 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:53:18 -0400 (0:00:00.090) 0:00:40.620 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:53:18 -0400 (0:00:00.086) 0:00:40.706 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:53:19 -0400 (0:00:00.450) 0:00:41.157 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:53:19 -0400 (0:00:00.062) 0:00:41.219 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 September 2024 08:53:19 -0400 (0:00:00.168) 0:00:41.388 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:53:19 -0400 (0:00:00.086) 0:00:41.475 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:53:19 -0400 (0:00:00.081) 0:00:41.556 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:53:19 -0400 (0:00:00.056) 0:00:41.613 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:53:19 -0400 (0:00:00.054) 0:00:41.667 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:53:19 -0400 (0:00:00.052) 0:00:41.720 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:21 -0400 (0:00:01.567) 0:00:43.287 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:22 -0400 (0:00:01.466) 0:00:44.753 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.084) 0:00:44.838 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.081) 0:00:44.919 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.129) 0:00:45.049 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.083) 0:00:45.132 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.215) 0:00:45.348 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.121) 0:00:45.469 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.094) 0:00:45.564 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.142) 0:00:45.706 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:23 -0400 (0:00:00.073) 0:00:45.779 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:24 -0400 (0:00:00.059) 0:00:45.838 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:24 -0400 (0:00:00.063) 0:00:45.902 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:24 -0400 (0:00:00.049) 0:00:45.952 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:24 -0400 (0:00:00.048) 0:00:46.000 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:24 -0400 (0:00:00.563) 0:00:46.563 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpennj4i38" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:25 -0400 (0:00:00.430) 0:00:46.994 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:25 -0400 (0:00:00.764) 0:00:47.759 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:26 -0400 (0:00:00.075) 0:00:47.834 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:26 -0400 (0:00:00.086) 0:00:47.921 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:53:26 -0400 (0:00:00.085) 0:00:48.006 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:53:26 -0400 (0:00:00.180) 0:00:48.187 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:53:26 -0400 (0:00:00.437) 0:00:48.625 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:53:26 -0400 (0:00:00.140) 0:00:48.766 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:53:27 -0400 (0:00:00.176) 0:00:48.942 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318405.8354685, "block_size": 4096, "blocks": 0, "ctime": 1726318405.8354685, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35546, "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": 1726318405.8354685, "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:53:27 -0400 (0:00:00.520) 0:00:49.463 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 14 September 2024 08:53:27 -0400 (0:00:00.093) 0:00:49.556 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:53:27 -0400 (0:00:00.200) 0:00:49.757 **** ok: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:53:28 -0400 (0:00:00.136) 0:00:49.893 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318405.6828198, "block_size": 4096, "blocks": 8, "ctime": 1726318398.3518171, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726318398.3518171, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:53:28 -0400 (0:00:00.520) 0:00:50.414 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:53:28 -0400 (0:00:00.059) 0:00:50.473 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017514", "end": "2024-09-14 08:53:29.032936", "rc": 1, "start": "2024-09-14 08:53:29.015422" } 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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.406) 0:00:50.879 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.052) 0:00:50.932 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002956", "end": "2024-09-14 08:53:29.500668", "rc": 0, "start": "2024-09-14 08:53:29.497712" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.484) 0:00:51.416 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:53:29 -0400 (0:00:00.089) 0:00:51.506 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004071", "end": "2024-09-14 08:53:31.095175", "rc": 0, "start": "2024-09-14 08:53:30.091104" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:53:31 -0400 (0:00:01.436) 0:00:52.942 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.058) 0:00:53.000 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.054) 0:00:53.055 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.079) 0:00:53.134 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.088) 0:00:53.223 **** skipping: [managed_node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.074) 0:00:53.298 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.089) 0:00:53.388 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:53:31 -0400 (0:00:00.168) 0:00:53.557 **** ok: [managed_node2] => { "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.043024", "end": "2024-09-14 08:53:32.197705", "rc": 0, "start": "2024-09-14 08:53:32.154681" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 14 September 2024 08:53:32 -0400 (0:00:00.486) 0:00:54.043 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:53:32 -0400 (0:00:00.076) 0:00:54.120 **** ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:53:32 -0400 (0:00:00.051) 0:00:54.171 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:53:32 -0400 (0:00:00.094) 0:00:54.266 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:53:32 -0400 (0:00:00.104) 0:00:54.370 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:53:32 -0400 (0:00:00.069) 0:00:54.440 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003052", "end": "2024-09-14 08:53:32.959303", "rc": 0, "start": "2024-09-14 08:53:32.956251" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.363) 0:00:54.803 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.054) 0:00:54.857 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.053) 0:00:54.910 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.109) 0:00:55.020 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.144) 0:00:55.165 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.164) 0:00:55.329 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.115) 0:00:55.445 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.093) 0:00:55.539 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:53:33 -0400 (0:00:00.092) 0:00:55.631 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:35 -0400 (0:00:01.846) 0:00:57.478 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:37 -0400 (0:00:01.601) 0:00:59.080 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.094) 0:00:59.174 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.070) 0:00:59.245 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.070) 0:00:59.315 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.060) 0:00:59.376 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.061) 0:00:59.438 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.055) 0:00:59.493 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.096) 0:00:59.590 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:37 -0400 (0:00:00.171) 0:00:59.762 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.096) 0:00:59.858 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.136) 0:00:59.994 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.152) 0:01:00.147 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.110) 0:01:00.257 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:38 -0400 (0:00:00.136) 0:01:00.393 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:39 -0400 (0:00:00.615) 0:01:01.008 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpbs8tbegy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:39 -0400 (0:00:00.457) 0:01:01.466 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.743) 0:01:02.209 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.084) 0:01:02.293 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.063) 0:01:02.357 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.067) 0:01:02.424 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:53:40 -0400 (0:00:00.054) 0:01:02.478 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.374) 0:01:02.853 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.053) 0:01:02.907 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.089) 0:01:02.996 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.082) 0:01:03.079 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.070) 0:01:03.149 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.090) 0:01:03.240 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:53:41 -0400 (0:00:00.054) 0:01:03.294 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:43 -0400 (0:00:01.631) 0:01:04.926 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:44 -0400 (0:00:01.598) 0:01:06.524 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.088) 0:01:06.613 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:44 -0400 (0:00:00.089) 0:01:06.702 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.089) 0:01:06.791 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.088) 0:01:06.880 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.127) 0:01:07.007 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.064) 0:01:07.071 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.078) 0:01:07.150 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.105) 0:01:07.255 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.050) 0:01:07.306 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.056) 0:01:07.362 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.211) 0:01:07.574 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:45 -0400 (0:00:00.126) 0:01:07.700 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:46 -0400 (0:00:00.093) 0:01:07.794 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:46 -0400 (0:00:00.646) 0:01:08.441 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpdv2k6k7f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:47 -0400 (0:00:00.466) 0:01:08.907 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:47 -0400 (0:00:00.771) 0:01:09.678 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:47 -0400 (0:00:00.052) 0:01:09.731 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.053) 0:01:09.784 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.056) 0:01:09.841 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.049) 0:01:09.891 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.369) 0:01:10.260 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.088) 0:01:10.348 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.130) 0:01:10.479 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.137) 0:01:10.617 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.058) 0:01:10.675 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.053) 0:01:10.729 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:53:48 -0400 (0:00:00.051) 0:01:10.780 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:53:50 -0400 (0:00:01.675) 0:01:12.456 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:53:52 -0400 (0:00:01.688) 0:01:14.144 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.074) 0:01:14.218 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.059) 0:01:14.277 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.057) 0:01:14.334 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.052) 0:01:14.387 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.060) 0:01:14.447 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.053) 0:01:14.500 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:53:52 -0400 (0:00:00.127) 0:01:14.628 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.381) 0:01:15.009 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.065) 0:01:15.075 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.075) 0:01:15.150 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.066) 0:01:15.216 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.050) 0:01:15.267 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:53:53 -0400 (0:00:00.070) 0:01:15.338 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.801) 0:01:16.140 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpc7qm5vyh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:53:54 -0400 (0:00:00.434) 0:01:16.574 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:53:55 -0400 (0:00:00.750) 0:01:17.325 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:53:55 -0400 (0:00:00.077) 0:01:17.402 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:53:55 -0400 (0:00:00.088) 0:01:17.490 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:53:55 -0400 (0:00:00.112) 0:01:17.603 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:53:55 -0400 (0:00:00.093) 0:01:17.697 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:53:56 -0400 (0:00:00.465) 0:01:18.162 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:53:56 -0400 (0:00:00.096) 0:01:18.258 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:53:56 -0400 (0:00:00.212) 0:01:18.471 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726318427.7594974, "block_size": 4096, "blocks": 0, "ctime": 1726318427.7594974, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35677, "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": 1726318427.7594974, "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.506) 0:01:18.978 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.125) 0:01:19.103 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.100) 0:01:19.204 **** ok: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.056) 0:01:19.260 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.365) 0:01:19.625 **** skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:53:57 -0400 (0:00:00.050) 0:01:19.676 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017030", "end": "2024-09-14 08:53:58.209760", "rc": 1, "start": "2024-09-14 08:53:58.192730" } 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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.402) 0:01:20.078 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.088) 0:01:20.167 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.080) 0:01:20.248 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.083) 0:01:20.332 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.080) 0:01:20.412 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.079) 0:01:20.492 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.092) 0:01:20.584 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:53:58 -0400 (0:00:00.167) 0:01:20.752 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.064) 0:01:20.816 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.162) 0:01:20.979 **** ok: [managed_node2] => { "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.043770", "end": "2024-09-14 08:53:59.578768", "rc": 0, "start": "2024-09-14 08:53:59.534998" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.445) 0:01:21.424 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.078) 0:01:21.502 **** ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.051) 0:01:21.554 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (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_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.093) 0:01:21.648 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:53:59 -0400 (0:00:00.070) 0:01:21.719 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.069) 0:01:21.788 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003127", "end": "2024-09-14 08:54:00.322463", "rc": 0, "start": "2024-09-14 08:54:00.319336" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.379) 0:01:22.167 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.071) 0:01:22.239 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.086) 0:01:22.325 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.221) 0:01:22.547 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:00 -0400 (0:00:00.197) 0:01:22.745 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:01 -0400 (0:00:00.184) 0:01:22.930 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:01 -0400 (0:00:00.106) 0:01:23.037 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:01 -0400 (0:00:00.111) 0:01:23.148 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:01 -0400 (0:00:00.093) 0:01:23.242 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:03 -0400 (0:00:01.720) 0:01:24.963 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:04 -0400 (0:00:01.439) 0:01:26.403 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.055) 0:01:26.458 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.050) 0:01:26.508 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.052) 0:01:26.561 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.129) 0:01:26.690 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:04 -0400 (0:00:00.073) 0:01:26.764 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.060) 0:01:26.824 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.064) 0:01:26.889 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.087) 0:01:26.976 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.061) 0:01:27.037 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.096) 0:01:27.134 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.153) 0:01:27.287 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.098) 0:01:27.386 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:05 -0400 (0:00:00.086) 0:01:27.472 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:06 -0400 (0:00:00.627) 0:01:28.099 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpibwo2wid" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:06 -0400 (0:00:00.371) 0:01:28.471 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.491) 0:01:28.962 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.081) 0:01:29.044 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.084) 0:01:29.128 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.092) 0:01:29.221 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:07 -0400 (0:00:00.096) 0:01:29.318 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.799) 0:01:30.117 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.054) 0:01:30.172 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.089) 0:01:30.261 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.081) 0:01:30.343 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.066) 0:01:30.409 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.103) 0:01:30.512 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:08 -0400 (0:00:00.088) 0:01:30.601 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:10 -0400 (0:00:01.631) 0:01:32.233 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:11 -0400 (0:00:01.465) 0:01:33.699 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:11 -0400 (0:00:00.063) 0:01:33.762 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.106) 0:01:33.869 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.052) 0:01:33.922 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.051) 0:01:33.973 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.065) 0:01:34.038 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.051) 0:01:34.090 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.059) 0:01:34.150 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.089) 0:01:34.239 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.051) 0:01:34.290 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.049) 0:01:34.340 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.062) 0:01:34.403 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.050) 0:01:34.454 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:12 -0400 (0:00:00.052) 0:01:34.507 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:13 -0400 (0:00:00.567) 0:01:35.074 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmphe08lhoi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:13 -0400 (0:00:00.433) 0:01:35.508 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:14 -0400 (0:00:00.870) 0:01:36.379 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:14 -0400 (0:00:00.083) 0:01:36.463 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:14 -0400 (0:00:00.084) 0:01:36.548 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:14 -0400 (0:00:00.193) 0:01:36.741 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.060) 0:01:36.802 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.415) 0:01:37.217 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.152) 0:01:37.370 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.139) 0:01:37.510 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.113) 0:01:37.623 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:15 -0400 (0:00:00.092) 0:01:37.716 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:16 -0400 (0:00:00.112) 0:01:37.829 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:17 -0400 (0:00:01.829) 0:01:39.658 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:19 -0400 (0:00:01.659) 0:01:41.318 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:19 -0400 (0:00:00.145) 0:01:41.463 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:19 -0400 (0:00:00.083) 0:01:41.547 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:19 -0400 (0:00:00.090) 0:01:41.637 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:19 -0400 (0:00:00.083) 0:01:41.720 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.099) 0:01:41.820 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.137) 0:01:41.958 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.102) 0:01:42.060 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.118) 0:01:42.179 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.067) 0:01:42.246 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.054) 0:01:42.301 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.059) 0:01:42.361 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.052) 0:01:42.413 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:20 -0400 (0:00:00.052) 0:01:42.466 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:21 -0400 (0:00:00.636) 0:01:43.102 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpgmsbrajx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:21 -0400 (0:00:00.414) 0:01:43.517 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.694) 0:01:44.211 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.050) 0:01:44.262 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.173) 0:01:44.435 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.064) 0:01:44.500 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:22 -0400 (0:00:00.057) 0:01:44.558 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.389) 0:01:44.947 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.111) 0:01:45.058 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.171) 0:01:45.230 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.194) 0:01:45.424 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.157) 0:01:45.582 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:23 -0400 (0:00:00.126) 0:01:45.708 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:24 -0400 (0:00:00.097) 0:01:45.806 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:25 -0400 (0:00:01.601) 0:01:47.407 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:27 -0400 (0:00:01.595) 0:01:49.002 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.092) 0:01:49.095 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.062) 0:01:49.158 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.054) 0:01:49.213 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.065) 0:01:49.278 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.065) 0:01:49.344 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.071) 0:01:49.415 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.078) 0:01:49.493 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.102) 0:01:49.596 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.053) 0:01:49.650 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.050) 0:01:49.700 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:27 -0400 (0:00:00.059) 0:01:49.759 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.080) 0:01:49.840 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.077) 0:01:49.917 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:28 -0400 (0:00:00.610) 0:01:50.528 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpz6efaoej" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:29 -0400 (0:00:00.479) 0:01:51.007 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:29 -0400 (0:00:00.560) 0:01:51.568 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:29 -0400 (0:00:00.082) 0:01:51.651 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:29 -0400 (0:00:00.090) 0:01:51.741 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.088) 0:01:51.830 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.082) 0:01:51.913 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.438) 0:01:52.351 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.077) 0:01:52.428 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.074) 0:01:52.502 **** ok: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:54:30 -0400 (0:00:00.056) 0:01:52.559 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.396) 0:01:52.955 **** skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.056) 0:01:53.011 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017848", "end": "2024-09-14 08:54:31.547492", "rc": 1, "start": "2024-09-14 08:54:31.529644" } 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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.420) 0:01:53.431 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.115) 0:01:53.547 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.064) 0:01:53.612 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.056) 0:01:53.668 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.051) 0:01:53.720 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 September 2024 08:54:31 -0400 (0:00:00.050) 0:01:53.770 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.081) 0:01:53.852 **** skipping: [managed_node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.087) 0:01:53.940 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.085) 0:01:54.026 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.131) 0:01:54.158 **** ok: [managed_node2] => { "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.043083", "end": "2024-09-14 08:54:32.765839", "rc": 0, "start": "2024-09-14 08:54:32.722756" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.452) 0:01:54.611 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.078) 0:01:54.690 **** ok: [managed_node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 14 September 2024 08:54:32 -0400 (0:00:00.052) 0:01:54.742 **** ok: [managed_node2] => (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_node2] => (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_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.095) 0:01:54.838 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.075) 0:01:54.913 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.212) 0:01:55.125 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003073", "end": "2024-09-14 08:54:33.688000", "rc": 0, "start": "2024-09-14 08:54:33.684927" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.407) 0:01:55.533 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.060) 0:01:55.593 **** ok: [managed_node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.055) 0:01:55.649 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 14 September 2024 08:54:33 -0400 (0:00:00.088) 0:01:55.737 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:34 -0400 (0:00:00.129) 0:01:55.867 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:34 -0400 (0:00:00.106) 0:01:55.973 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:34 -0400 (0:00:00.063) 0:01:56.037 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:34 -0400 (0:00:00.053) 0:01:56.090 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:34 -0400 (0:00:00.055) 0:01:56.146 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:36 -0400 (0:00:01.652) 0:01:57.798 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:37 -0400 (0:00:01.711) 0:01:59.509 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.097) 0:01:59.606 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.072) 0:01:59.679 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:37 -0400 (0:00:00.059) 0:01:59.739 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.065) 0:01:59.804 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.065) 0:01:59.870 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.052) 0:01:59.923 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.079) 0:02:00.002 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.135) 0:02:00.138 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.085) 0:02:00.223 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.080) 0:02:00.304 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.093) 0:02:00.398 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.089) 0:02:00.487 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:38 -0400 (0:00:00.116) 0:02:00.604 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.620) 0:02:01.224 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpr2xggpap" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:39 -0400 (0:00:00.473) 0:02:01.698 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:40 -0400 (0:00:00.497) 0:02:02.195 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:40 -0400 (0:00:00.144) 0:02:02.339 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:40 -0400 (0:00:00.100) 0:02:02.440 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:40 -0400 (0:00:00.097) 0:02:02.537 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:40 -0400 (0:00:00.058) 0:02:02.596 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 14 September 2024 08:54:41 -0400 (0:00:00.387) 0:02:02.983 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 14 September 2024 08:54:41 -0400 (0:00:00.053) 0:02:03.037 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:41 -0400 (0:00:00.089) 0:02:03.127 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:41 -0400 (0:00:00.080) 0:02:03.208 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:41 -0400 (0:00:00.059) 0:02:03.267 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:41 -0400 (0:00:00.053) 0:02:03.320 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:41 -0400 (0:00:00.053) 0:02:03.374 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:43 -0400 (0:00:01.745) 0:02:05.119 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:44 -0400 (0:00:01.447) 0:02:06.567 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:44 -0400 (0:00:00.056) 0:02:06.623 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:44 -0400 (0:00:00.056) 0:02:06.680 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:44 -0400 (0:00:00.078) 0:02:06.758 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.084) 0:02:06.843 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.077) 0:02:06.920 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.054) 0:02:06.974 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.063) 0:02:07.038 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.092) 0:02:07.130 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.080) 0:02:07.211 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.084) 0:02:07.296 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.098) 0:02:07.394 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.078) 0:02:07.472 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:45 -0400 (0:00:00.201) 0:02:07.674 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:46 -0400 (0:00:00.623) 0:02:08.298 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpflp4ydso" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:46 -0400 (0:00:00.460) 0:02:08.759 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:47 -0400 (0:00:00.813) 0:02:09.572 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:47 -0400 (0:00:00.083) 0:02:09.656 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:47 -0400 (0:00:00.086) 0:02:09.742 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:48 -0400 (0:00:00.086) 0:02:09.828 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:48 -0400 (0:00:00.083) 0:02:09.911 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 September 2024 08:54:48 -0400 (0:00:00.413) 0:02:10.324 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:48 -0400 (0:00:00.090) 0:02:10.415 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:48 -0400 (0:00:00.083) 0:02:10.498 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:48 -0400 (0:00:00.060) 0:02:10.558 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:48 -0400 (0:00:00.052) 0:02:10.611 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:48 -0400 (0:00:00.145) 0:02:10.756 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:50 -0400 (0:00:01.619) 0:02:12.376 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:52 -0400 (0:00:01.514) 0:02:13.890 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.098) 0:02:13.989 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.087) 0:02:14.077 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.086) 0:02:14.163 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.075) 0:02:14.239 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.096) 0:02:14.336 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.085) 0:02:14.421 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.100) 0:02:14.521 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.144) 0:02:14.666 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:54:52 -0400 (0:00:00.092) 0:02:14.759 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:54:53 -0400 (0:00:00.085) 0:02:14.844 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:54:53 -0400 (0:00:00.111) 0:02:14.956 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:54:53 -0400 (0:00:00.196) 0:02:15.152 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:54:53 -0400 (0:00:00.078) 0:02:15.230 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:54:54 -0400 (0:00:00.729) 0:02:15.959 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpnshu7tve" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:54:54 -0400 (0:00:00.548) 0:02:16.508 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.543) 0:02:17.052 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.061) 0:02:17.113 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.069) 0:02:17.182 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.059) 0:02:17.242 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.061) 0:02:17.303 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 14 September 2024 08:54:55 -0400 (0:00:00.403) 0:02:17.706 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.086) 0:02:17.792 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.097) 0:02:17.890 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.194) 0:02:18.084 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.087) 0:02:18.172 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.064) 0:02:18.236 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:54:56 -0400 (0:00:00.084) 0:02:18.321 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:54:58 -0400 (0:00:01.621) 0:02:19.943 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:54:59 -0400 (0:00:01.569) 0:02:21.512 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.091) 0:02:21.604 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.083) 0:02:21.687 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:54:59 -0400 (0:00:00.079) 0:02:21.766 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.085) 0:02:21.852 **** skipping: [managed_node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.126) 0:02:21.978 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.082) 0:02:22.060 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.100) 0:02:22.161 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.137) 0:02:22.298 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.192) 0:02:22.490 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:55:00 -0400 (0:00:00.143) 0:02:22.634 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.209) 0:02:22.843 **** skipping: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.118) 0:02:22.961 **** skipping: [managed_node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.090) 0:02:23.051 **** ok: [managed_node2] => { "censored": "the output 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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:55:01 -0400 (0:00:00.598) 0:02:23.650 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-372762wdnwhn4/tmpc0lzjf1j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:55:02 -0400 (0:00:00.392) 0:02:24.042 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:55:02 -0400 (0:00:00.490) 0:02:24.532 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:55:02 -0400 (0:00:00.059) 0:02:24.592 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:55:02 -0400 (0:00:00.067) 0:02:24.660 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:55:02 -0400 (0:00:00.086) 0:02:24.747 **** skipping: [managed_node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:55:03 -0400 (0:00:00.078) 0:02:24.826 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 14 September 2024 08:55:03 -0400 (0:00:00.418) 0:02:25.245 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 14 September 2024 08:55:03 -0400 (0:00:00.089) 0:02:25.334 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 14 September 2024 08:55:03 -0400 (0:00:00.167) 0:02:25.501 **** ok: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 14 September 2024 08:55:03 -0400 (0:00:00.067) 0:02:25.569 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 14 September 2024 08:55:04 -0400 (0:00:00.366) 0:02:25.935 **** skipping: [managed_node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 14 September 2024 08:55:04 -0400 (0:00:00.052) 0:02:25.987 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017618", "end": "2024-09-14 08:55:04.537123", "rc": 1, "start": "2024-09-14 08:55:04.519505" } 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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 14 September 2024 08:55:04 -0400 (0:00:00.416) 0:02:26.403 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 14 September 2024 08:55:04 -0400 (0:00:00.089) 0:02:26.493 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 14 September 2024 08:55:04 -0400 (0:00:00.093) 0:02:26.586 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 14 September 2024 08:55:04 -0400 (0:00:00.097) 0:02:26.684 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 14 September 2024 08:55:04 -0400 (0:00:00.086) 0:02:26.770 **** skipping: [managed_node2] => { "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-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.084) 0:02:26.855 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 14 September 2024 08:55:05 -0400 (0:00:00.092) 0:02:26.948 **** ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.853317", "end": "2024-09-14 08:55:06.436008", "rc": 0, "start": "2024-09-14 08:55:05.582691" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 14 September 2024 08:55:06 -0400 (0:00:01.335) 0:02:28.283 **** ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.053) 0:02:28.337 **** ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.075) 0:02:28.412 **** skipping: [managed_node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.090) 0:02:28.503 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 14 September 2024 08:55:06 -0400 (0:00:00.086) 0:02:28.590 **** included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 14 September 2024 08:55:07 -0400 (0:00:00.243) 0:02:28.834 **** ok: [managed_node2] => { "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.046136", "end": "2024-09-14 08:55:07.407647", "rc": 0, "start": "2024-09-14 08:55:07.361511" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 14 September 2024 08:55:07 -0400 (0:00:00.439) 0:02:29.273 **** ok: [managed_node2] => { "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.008093", "end": "2024-09-14 08:55:07.852105", "rc": 0, "start": "2024-09-14 08:55:07.844012" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:7f:82:99:5c:51 brd ff:ff:ff:ff:ff:ff inet 10.31.42.224/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2710sec preferred_lft 2710sec inet6 fe80::c7f:82ff:fe99:5c51/64 scope link valid_lft forever preferred_lft forever 52: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ce:f7:68:ec:a4:e9 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.224 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.224 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 14 September 2024 08:55:07 -0400 (0:00:00.425) 0:02:29.698 **** ok: [managed_node2] => { "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.079044", "end": "2024-09-14 08:55:08.297972", "rc": 0, "start": "2024-09-14 08:55:08.218928" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 7439 0 --:--:-- --:--:-- --:--:-- 7439 % 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 16166 0 --:--:-- --:--:-- --:--:-- 16166 PLAY RECAP ********************************************************************* managed_node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 14 September 2024 08:55:08 -0400 (0:00:00.498) 0:02:30.197 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-RRH/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-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-RRH/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26