[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.10] 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-X7z 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-X7z/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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 31 August 2024 08:49:10 -0400 (0:00:00.007) 0:00:00.007 ******* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 31 August 2024 08:49:11 -0400 (0:00:01.118) 0:00:01.125 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.017) 0:00:01.143 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.030) 0:00:01.173 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.471) 0:00:01.645 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.029) 0:00:01.674 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.019) 0:00:01.694 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.059) 0:00:01.753 ******* ok: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.432) 0:00:02.186 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.014) 0:00:02.200 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.012) 0:00:02.213 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.218664", "end": "2024-08-31 08:49:13.259199", "rc": 0, "start": "2024-08-31 08:49:13.040535" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 31 August 2024 08:49:13 -0400 (0:00:00.542) 0:00:02.755 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 31 August 2024 08:49:13 -0400 (0:00:00.013) 0:00:02.769 ******* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 31 August 2024 08:49:13 -0400 (0:00:00.024) 0:00:02.793 ******* ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.759) 0:00:03.552 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.046) 0:00:03.599 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.048) 0:00:03.647 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.039) 0:00:03.687 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.084) 0:00:03.771 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.039) 0:00:03.811 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.037) 0:00:03.848 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003066", "end": "2024-08-31 08:49:14.696456", "rc": 0, "start": "2024-08-31 08:49:14.693390" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.343) 0:00:04.191 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.034) 0:00:04.226 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.034) 0:00:04.261 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:49:14 -0400 (0:00:00.055) 0:00:04.317 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007258", "end": "2024-08-31 08:49:15.172342", "rc": 1, "start": "2024-08-31 08:49:15.165084" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.363) 0:00:04.680 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.058) 0:00:04.738 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.463) 0:00:05.202 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.082) 0:00:05.284 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.104) 0:00:05.389 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.102) 0:00:05.491 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.089) 0:00:05.580 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.059) 0:00:05.639 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.061) 0:00:05.701 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.053) 0:00:05.755 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:18 -0400 (0:00:01.768) 0:00:07.523 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:19 -0400 (0:00:01.876) 0:00:09.400 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.084) 0:00:09.484 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.079) 0:00:09.563 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.064) 0:00:09.628 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.055) 0:00:09.684 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.068) 0:00:09.753 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.049) 0:00:09.803 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.076) 0:00:09.879 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.196) 0:00:10.076 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.074) 0:00:10.151 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.076) 0:00:10.228 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.091) 0:00:10.319 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.077) 0:00:10.397 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.074) 0:00:10.471 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.934) 0:00:11.406 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmpoftjnh1c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.394) 0:00:11.800 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.756) 0:00:12.556 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.079) 0:00:12.635 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.091) 0:00:12.727 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.128) 0:00:12.855 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:23 -0400 (0:00:00.145) 0:00:13.000 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:49:24 -0400 (0:00:00.760) 0:00:13.761 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:24 -0400 (0:00:00.090) 0:00:13.851 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:49:24 -0400 (0:00:00.141) 0:00:13.992 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:24 -0400 (0:00:00.084) 0:00:14.077 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:24 -0400 (0:00:00.049) 0:00:14.127 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108563.0386486, "block_size": 4096, "blocks": 8, "ctime": 1725108563.0386486, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108563.0386486, "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.414) 0:00:14.542 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.082) 0:00:14.624 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017258", "end": "2024-08-31 08:49:25.520044", "rc": 1, "start": "2024-08-31 08:49:25.502786" } 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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.429) 0:00:15.053 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:25 -0400 (0:00:00.085) 0:00:15.139 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002664", "end": "2024-08-31 08:49:26.032338", "rc": 0, "start": "2024-08-31 08:49:26.029674" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.411) 0:00:15.550 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.064) 0:00:15.615 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002880", "end": "2024-08-31 08:49:26.483541", "rc": 0, "start": "2024-08-31 08:49:26.480661" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.385) 0:00:16.000 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.060) 0:00:16.060 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.091) 0:00:16.151 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.087) 0:00:16.238 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.088) 0:00:16.327 ******* skipping: [managed_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.084) 0:00:16.411 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.172) 0:00:16.583 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.161) 0:00:16.745 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033996", "end": "2024-08-31 08:49:27.759556", "rc": 1, "start": "2024-08-31 08:49:27.725560" } 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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.555) 0:00:17.301 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.120) 0:00:17.421 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.058) 0:00:17.480 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.107) 0:00:17.588 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.068) 0:00:17.656 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.066) 0:00:17.722 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003000", "end": "2024-08-31 08:49:28.589203", "rc": 0, "start": "2024-08-31 08:49:28.586203" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.392) 0:00:18.115 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.075) 0:00:18.191 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.084) 0:00:18.275 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.166) 0:00:18.441 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005503", "end": "2024-08-31 08:49:29.318786", "rc": 1, "start": "2024-08-31 08:49:29.313283" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.386) 0:00:18.828 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.071) 0:00:18.899 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.362) 0:00:19.261 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.056) 0:00:19.317 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.074) 0:00:19.391 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.087) 0:00:19.479 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.079) 0:00:19.558 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.056) 0:00:19.615 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.059) 0:00:19.674 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:30 -0400 (0:00:00.076) 0:00:19.751 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:31 -0400 (0:00:01.618) 0:00:21.369 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:33 -0400 (0:00:01.803) 0:00:23.173 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.085) 0:00:23.258 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.068) 0:00:23.326 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.065) 0:00:23.392 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.073) 0:00:23.465 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.095) 0:00:23.561 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.078) 0:00:23.640 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.090) 0:00:23.731 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.133) 0:00:23.864 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.078) 0:00:23.943 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.076) 0:00:24.020 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.096) 0:00:24.116 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.060) 0:00:24.176 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.055) 0:00:24.232 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.731) 0:00:24.963 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmpl_b6wv49" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.383) 0:00:25.347 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.641) 0:00:25.988 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.119) 0:00:26.108 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.116) 0:00:26.225 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.069) 0:00:26.294 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:36 -0400 (0:00:00.070) 0:00:26.365 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 31 August 2024 08:49:37 -0400 (0:00:00.376) 0:00:26.742 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:37 -0400 (0:00:00.053) 0:00:26.795 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:49:37 -0400 (0:00:00.080) 0:00:26.876 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:37 -0400 (0:00:00.074) 0:00:26.950 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.657) 0:00:27.607 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.061) 0:00:27.668 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.105) 0:00:27.774 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.052) 0:00:27.826 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108576.442678, "block_size": 4096, "blocks": 8, "ctime": 1725108576.442678, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301240, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108576.442678, "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.355) 0:00:28.182 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.052) 0:00:28.235 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017241", "end": "2024-08-31 08:49:39.099084", "rc": 1, "start": "2024-08-31 08:49:39.081843" } 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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.375) 0:00:28.611 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.050) 0:00:28.662 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003957", "end": "2024-08-31 08:49:40.512758", "rc": 0, "start": "2024-08-31 08:49:39.508801" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:40 -0400 (0:00:01.364) 0:00:30.026 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.058) 0:00:30.084 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002941", "end": "2024-08-31 08:49:40.936054", "rc": 0, "start": "2024-08-31 08:49:40.933113" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.447) 0:00:30.532 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.171) 0:00:30.703 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.150) 0:00:30.854 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.111) 0:00:30.965 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.166) 0:00:31.131 ******* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.115) 0:00:31.246 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.114) 0:00:31.361 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.220) 0:00:31.582 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.032171", "end": "2024-08-31 08:49:42.687668", "rc": 1, "start": "2024-08-31 08:49:42.655497" } 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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.614) 0:00:32.196 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.075) 0:00:32.272 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.056) 0:00:32.329 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.139) 0:00:32.468 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.170) 0:00:32.639 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.195) 0:00:32.835 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003077", "end": "2024-08-31 08:49:43.745291", "rc": 0, "start": "2024-08-31 08:49:43.742214" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.422) 0:00:33.257 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.055) 0:00:33.312 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.088) 0:00:33.401 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.159) 0:00:33.560 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.303) 0:00:33.863 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.122) 0:00:33.986 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.068) 0:00:34.054 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.052) 0:00:34.106 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.054) 0:00:34.160 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:46 -0400 (0:00:01.759) 0:00:35.920 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:48 -0400 (0:00:01.592) 0:00:37.513 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.071) 0:00:37.584 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.062) 0:00:37.646 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.051) 0:00:37.697 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.052) 0:00:37.749 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.063) 0:00:37.813 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.088) 0:00:37.901 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.205) 0:00:38.107 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.102) 0:00:38.210 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.049) 0:00:38.259 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.052) 0:00:38.312 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.059) 0:00:38.371 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.049) 0:00:38.420 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.052) 0:00:38.473 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.691) 0:00:39.164 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmp8kkpoa8k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.444) 0:00:39.608 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.521) 0:00:40.130 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.049) 0:00:40.180 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.051) 0:00:40.231 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.056) 0:00:40.287 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.049) 0:00:40.337 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.406) 0:00:40.744 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.102) 0:00:40.846 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.084) 0:00:40.931 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.086) 0:00:41.017 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.097) 0:00:41.115 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.096) 0:00:41.211 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.095) 0:00:41.306 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.095) 0:00:41.402 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:53 -0400 (0:00:01.695) 0:00:43.098 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:55 -0400 (0:00:01.438) 0:00:44.536 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.053) 0:00:44.589 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.049) 0:00:44.639 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.128) 0:00:44.767 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.067) 0:00:44.835 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.097) 0:00:44.933 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.101) 0:00:45.034 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.098) 0:00:45.133 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.130) 0:00:45.263 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.058) 0:00:45.322 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.051) 0:00:45.374 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.057) 0:00:45.431 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.052) 0:00:45.484 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.070) 0:00:45.555 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.592) 0:00:46.147 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmp7ee7ag8x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.430) 0:00:46.578 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.742) 0:00:47.321 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.051) 0:00:47.372 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.054) 0:00:47.426 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.093) 0:00:47.520 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.050) 0:00:47.571 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.408) 0:00:47.979 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.091) 0:00:48.071 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.071) 0:00:48.142 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108597.7294433, "block_size": 4096, "blocks": 0, "ctime": 1725108597.7294433, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34488, "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": 1725108597.7294433, "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.408) 0:00:48.551 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.071) 0:00:48.623 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.078) 0:00:48.701 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.055) 0:00:48.756 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108597.5767245, "block_size": 4096, "blocks": 8, "ctime": 1725108590.6167092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108590.6167092, "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.361) 0:00:49.118 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.066) 0:00:49.184 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017804", "end": "2024-08-31 08:50:00.101794", "rc": 1, "start": "2024-08-31 08:50:00.083990" } 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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.449) 0:00:49.634 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.125) 0:00:49.760 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002822", "end": "2024-08-31 08:50:00.848340", "rc": 0, "start": "2024-08-31 08:50:00.845518" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.698) 0:00:50.458 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.185) 0:00:50.643 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002866", "end": "2024-08-31 08:50:01.587312", "rc": 0, "start": "2024-08-31 08:50:01.584446" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.480) 0:00:51.124 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.096) 0:00:51.220 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.146) 0:00:51.367 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.084) 0:00:51.452 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.077) 0:00:51.530 ******* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.057) 0:00:51.587 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.054) 0:00:51.642 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.076) 0:00:51.718 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043101", "end": "2024-08-31 08:50:02.688891", "rc": 0, "start": "2024-08-31 08:50:02.645790" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.517) 0:00:52.236 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.115) 0:00:52.351 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.086) 0:00:52.438 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.135) 0:00:52.573 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.119) 0:00:52.693 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.094) 0:00:52.787 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002975", "end": "2024-08-31 08:50:03.681788", "rc": 0, "start": "2024-08-31 08:50:03.678813" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.437) 0:00:53.225 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.070) 0:00:53.295 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.090) 0:00:53.386 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.117) 0:00:53.503 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.166) 0:00:53.670 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.115) 0:00:53.785 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.080) 0:00:53.865 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.088) 0:00:53.954 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.085) 0:00:54.040 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:06 -0400 (0:00:01.746) 0:00:55.786 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:07 -0400 (0:00:01.481) 0:00:57.268 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.058) 0:00:57.327 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.052) 0:00:57.380 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.051) 0:00:57.431 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.072) 0:00:57.504 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.109) 0:00:57.613 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.118) 0:00:57.732 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.126) 0:00:57.859 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.153) 0:00:58.013 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.076) 0:00:58.090 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.078) 0:00:58.168 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.132) 0:00:58.300 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.095) 0:00:58.396 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.372) 0:00:58.768 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.772) 0:00:59.541 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmp4vrm69b_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.391) 0:00:59.932 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.518) 0:01:00.451 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.080) 0:01:00.531 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.086) 0:01:00.618 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.104) 0:01:00.722 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.091) 0:01:00.814 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.442) 0:01:01.256 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.081) 0:01:01.338 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.106) 0:01:01.444 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.087) 0:01:01.531 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.056) 0:01:01.588 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.189) 0:01:01.777 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.087) 0:01:01.864 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:14 -0400 (0:00:01.668) 0:01:03.533 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:15 -0400 (0:00:01.467) 0:01:05.001 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.082) 0:01:05.083 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.138) 0:01:05.222 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.169) 0:01:05.391 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.136) 0:01:05.528 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.122) 0:01:05.650 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.096) 0:01:05.746 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.108) 0:01:05.855 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.154) 0:01:06.009 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.087) 0:01:06.096 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.093) 0:01:06.190 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.245) 0:01:06.436 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.071) 0:01:06.507 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.061) 0:01:06.569 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.636) 0:01:07.206 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmplgrta5gp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.458) 0:01:07.664 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.864) 0:01:08.529 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.085) 0:01:08.614 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.097) 0:01:08.711 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.091) 0:01:08.802 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.081) 0:01:08.884 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.474) 0:01:09.359 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.131) 0:01:09.490 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.153) 0:01:09.644 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.224) 0:01:09.869 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.070) 0:01:09.939 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.059) 0:01:09.999 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.055) 0:01:10.055 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:22 -0400 (0:00:01.558) 0:01:11.613 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:23 -0400 (0:00:01.546) 0:01:13.160 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.110) 0:01:13.271 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.087) 0:01:13.359 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.087) 0:01:13.446 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.124) 0:01:13.571 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.104) 0:01:13.676 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.083) 0:01:13.759 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.151) 0:01:13.911 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.142) 0:01:14.054 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.115) 0:01:14.169 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.062) 0:01:14.231 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.076) 0:01:14.308 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.059) 0:01:14.367 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.052) 0:01:14.420 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.640) 0:01:15.061 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmp8fxpju78" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.402) 0:01:15.464 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.687) 0:01:16.152 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.115) 0:01:16.267 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.176) 0:01:16.443 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:27 -0400 (0:00:00.115) 0:01:16.558 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:27 -0400 (0:00:00.085) 0:01:16.644 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:50:27 -0400 (0:00:00.476) 0:01:17.121 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:50:27 -0400 (0:00:00.158) 0:01:17.279 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:50:27 -0400 (0:00:00.084) 0:01:17.363 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108618.9174833, "block_size": 4096, "blocks": 0, "ctime": 1725108618.9174833, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34619, "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": 1725108618.9174833, "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.390) 0:01:17.754 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.073) 0:01:17.828 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.090) 0:01:17.919 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.054) 0:01:17.974 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.394) 0:01:18.368 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.065) 0:01:18.434 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017052", "end": "2024-08-31 08:50:29.318725", "rc": 1, "start": "2024-08-31 08:50:29.301673" } 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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.396) 0:01:18.830 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.052) 0:01:18.882 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.055) 0:01:18.938 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.056) 0:01:18.995 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.072) 0:01:19.067 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.084) 0:01:19.152 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.142) 0:01:19.295 ******* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.058) 0:01:19.353 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.059) 0:01:19.413 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.077) 0:01:19.490 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043560", "end": "2024-08-31 08:50:30.386958", "rc": 0, "start": "2024-08-31 08:50:30.343398" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.453) 0:01:19.944 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.188) 0:01:20.132 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.173) 0:01:20.305 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.177) 0:01:20.483 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.148) 0:01:20.632 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.153) 0:01:20.785 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002998", "end": "2024-08-31 08:50:31.875941", "rc": 0, "start": "2024-08-31 08:50:31.872943" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.601) 0:01:21.387 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.054) 0:01:21.441 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.052) 0:01:21.494 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.175) 0:01:21.669 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.141) 0:01:21.810 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.207) 0:01:22.018 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.120) 0:01:22.138 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.078) 0:01:22.217 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.063) 0:01:22.281 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:34 -0400 (0:00:01.628) 0:01:23.910 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:36 -0400 (0:00:01.549) 0:01:25.459 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.093) 0:01:25.553 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.080) 0:01:25.634 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.201) 0:01:25.835 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.088) 0:01:25.923 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.098) 0:01:26.022 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.112) 0:01:26.134 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.093) 0:01:26.228 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.136) 0:01:26.365 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.091) 0:01:26.457 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.084) 0:01:26.541 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.096) 0:01:26.638 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.067) 0:01:26.706 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.059) 0:01:26.766 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.622) 0:01:27.388 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmpsxiu1qc6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:38 -0400 (0:00:00.471) 0:01:27.860 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:38 -0400 (0:00:00.503) 0:01:28.363 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:38 -0400 (0:00:00.051) 0:01:28.414 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.057) 0:01:28.472 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.096) 0:01:28.568 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.051) 0:01:28.619 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.385) 0:01:29.005 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.082) 0:01:29.088 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.121) 0:01:29.209 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.095) 0:01:29.304 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.060) 0:01:29.365 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.067) 0:01:29.433 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:40 -0400 (0:00:00.075) 0:01:29.508 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:41 -0400 (0:00:01.709) 0:01:31.218 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:43 -0400 (0:00:01.574) 0:01:32.793 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:43 -0400 (0:00:00.146) 0:01:32.940 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:43 -0400 (0:00:00.079) 0:01:33.020 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:43 -0400 (0:00:00.079) 0:01:33.099 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:43 -0400 (0:00:00.084) 0:01:33.184 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:43 -0400 (0:00:00.098) 0:01:33.282 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:43 -0400 (0:00:00.087) 0:01:33.370 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:44 -0400 (0:00:00.109) 0:01:33.479 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:44 -0400 (0:00:00.118) 0:01:33.598 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:44 -0400 (0:00:00.056) 0:01:33.654 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:44 -0400 (0:00:00.062) 0:01:33.716 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:44 -0400 (0:00:00.061) 0:01:33.778 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:44 -0400 (0:00:00.049) 0:01:33.827 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:44 -0400 (0:00:00.052) 0:01:33.880 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:44 -0400 (0:00:00.542) 0:01:34.422 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmplak6vetp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:45 -0400 (0:00:00.376) 0:01:34.798 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.722) 0:01:35.521 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.094) 0:01:35.615 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.055) 0:01:35.670 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.059) 0:01:35.730 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.052) 0:01:35.782 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.374) 0:01:36.157 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.091) 0:01:36.248 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.083) 0:01:36.332 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.058) 0:01:36.390 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:47 -0400 (0:00:00.066) 0:01:36.457 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:47 -0400 (0:00:00.104) 0:01:36.561 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:48 -0400 (0:00:01.635) 0:01:38.197 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:50 -0400 (0:00:01.628) 0:01:39.826 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.087) 0:01:39.913 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.087) 0:01:40.000 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.083) 0:01:40.083 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.085) 0:01:40.169 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.071) 0:01:40.240 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.079) 0:01:40.320 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.082) 0:01:40.403 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:51 -0400 (0:00:00.095) 0:01:40.498 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:51 -0400 (0:00:00.050) 0:01:40.549 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:51 -0400 (0:00:00.053) 0:01:40.602 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:51 -0400 (0:00:00.086) 0:01:40.689 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:51 -0400 (0:00:00.080) 0:01:40.769 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:51 -0400 (0:00:00.087) 0:01:40.856 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:52 -0400 (0:00:00.615) 0:01:41.472 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmp13r0rssh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:52 -0400 (0:00:00.408) 0:01:41.880 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:53 -0400 (0:00:00.665) 0:01:42.546 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:53 -0400 (0:00:00.081) 0:01:42.627 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:53 -0400 (0:00:00.098) 0:01:42.725 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:53 -0400 (0:00:00.084) 0:01:42.810 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:53 -0400 (0:00:00.091) 0:01:42.902 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:50:53 -0400 (0:00:00.530) 0:01:43.432 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.184) 0:01:43.616 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.206) 0:01:43.822 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.169) 0:01:43.992 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.090) 0:01:44.082 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.071) 0:01:44.154 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.070) 0:01:44.224 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:56 -0400 (0:00:01.694) 0:01:45.919 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:58 -0400 (0:00:01.560) 0:01:47.479 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.107) 0:01:47.586 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.124) 0:01:47.711 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.117) 0:01:47.828 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.106) 0:01:47.934 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.120) 0:01:48.055 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.069) 0:01:48.124 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.077) 0:01:48.201 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.093) 0:01:48.295 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.049) 0:01:48.345 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.052) 0:01:48.397 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:59 -0400 (0:00:00.085) 0:01:48.483 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:59 -0400 (0:00:00.072) 0:01:48.555 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:59 -0400 (0:00:00.202) 0:01:48.758 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:59 -0400 (0:00:00.652) 0:01:49.411 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmp1_aw89w9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:00 -0400 (0:00:00.424) 0:01:49.835 ******* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:00 -0400 (0:00:00.534) 0:01:50.370 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:00 -0400 (0:00:00.078) 0:01:50.449 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:01 -0400 (0:00:00.075) 0:01:50.524 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:01 -0400 (0:00:00.068) 0:01:50.592 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:01 -0400 (0:00:00.063) 0:01:50.655 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:51:01 -0400 (0:00:00.377) 0:01:51.033 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:51:01 -0400 (0:00:00.078) 0:01:51.111 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:51:01 -0400 (0:00:00.084) 0:01:51.196 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:51:01 -0400 (0:00:00.067) 0:01:51.264 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.395) 0:01:51.660 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.107) 0:01:51.767 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017176", "end": "2024-08-31 08:51:02.636054", "rc": 1, "start": "2024-08-31 08:51:02.618878" } 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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.384) 0:01:52.152 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.061) 0:01:52.214 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.054) 0:01:52.268 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.052) 0:01:52.321 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.054) 0:01:52.375 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.052) 0:01:52.428 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.053) 0:01:52.482 ******* skipping: [managed_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.057) 0:01:52.539 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.054) 0:01:52.594 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.078) 0:01:52.672 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042076", "end": "2024-08-31 08:51:03.562705", "rc": 0, "start": "2024-08-31 08:51:03.520629" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.424) 0:01:53.096 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.124) 0:01:53.221 ******* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.095) 0:01:53.316 ******* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.152) 0:01:53.468 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.238) 0:01:53.707 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.116) 0:01:53.823 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003008", "end": "2024-08-31 08:51:04.717374", "rc": 0, "start": "2024-08-31 08:51:04.714366" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.406) 0:01:54.229 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.054) 0:01:54.284 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.066) 0:01:54.350 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.087) 0:01:54.437 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:05 -0400 (0:00:00.134) 0:01:54.572 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:05 -0400 (0:00:00.139) 0:01:54.711 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:05 -0400 (0:00:00.095) 0:01:54.807 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:05 -0400 (0:00:00.091) 0:01:54.898 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:05 -0400 (0:00:00.062) 0:01:54.961 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:07 -0400 (0:00:01.640) 0:01:56.602 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:08 -0400 (0:00:01.440) 0:01:58.042 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:08 -0400 (0:00:00.053) 0:01:58.096 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:08 -0400 (0:00:00.071) 0:01:58.168 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:08 -0400 (0:00:00.083) 0:01:58.251 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:08 -0400 (0:00:00.061) 0:01:58.313 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:08 -0400 (0:00:00.083) 0:01:58.396 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.060) 0:01:58.457 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.059) 0:01:58.517 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.090) 0:01:58.607 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.073) 0:01:58.680 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.080) 0:01:58.761 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.098) 0:01:58.859 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.140) 0:01:59.000 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.081) 0:01:59.081 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:10 -0400 (0:00:00.806) 0:01:59.888 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmp01wopje8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:10 -0400 (0:00:00.407) 0:02:00.296 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.483) 0:02:00.780 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.083) 0:02:00.864 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.086) 0:02:00.951 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.094) 0:02:01.045 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.074) 0:02:01.119 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.428) 0:02:01.548 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.096) 0:02:01.644 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.104) 0:02:01.748 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.090) 0:02:01.839 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.102) 0:02:01.941 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.069) 0:02:02.011 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.091) 0:02:02.103 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:14 -0400 (0:00:01.595) 0:02:03.698 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:15 -0400 (0:00:01.417) 0:02:05.115 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.056) 0:02:05.171 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.051) 0:02:05.223 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.064) 0:02:05.287 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.081) 0:02:05.369 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.100) 0:02:05.470 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.081) 0:02:05.551 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.091) 0:02:05.642 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.144) 0:02:05.787 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.081) 0:02:05.868 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.149) 0:02:06.018 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.094) 0:02:06.113 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.082) 0:02:06.195 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.082) 0:02:06.278 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.608) 0:02:06.887 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmp_g_l70h6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.415) 0:02:07.302 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.684) 0:02:07.987 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.053) 0:02:08.040 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.062) 0:02:08.102 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.093) 0:02:08.196 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.131) 0:02:08.327 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.608) 0:02:08.936 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.090) 0:02:09.026 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.126) 0:02:09.153 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.059) 0:02:09.212 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.057) 0:02:09.270 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.055) 0:02:09.325 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:21 -0400 (0:00:01.563) 0:02:10.889 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:23 -0400 (0:00:01.613) 0:02:12.502 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.138) 0:02:12.640 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.090) 0:02:12.731 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.073) 0:02:12.804 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.070) 0:02:12.875 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.072) 0:02:12.947 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.054) 0:02:13.001 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.060) 0:02:13.062 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.086) 0:02:13.148 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.279) 0:02:13.428 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.086) 0:02:13.514 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.097) 0:02:13.612 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.084) 0:02:13.697 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.065) 0:02:13.762 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.611) 0:02:14.374 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmpap64im57" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.505) 0:02:14.880 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.649) 0:02:15.530 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.083) 0:02:15.613 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.074) 0:02:15.687 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.076) 0:02:15.764 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.099) 0:02:15.864 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.482) 0:02:16.346 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:51:27 -0400 (0:00:00.122) 0:02:16.468 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:27 -0400 (0:00:00.314) 0:02:16.783 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:27 -0400 (0:00:00.106) 0:02:16.889 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:27 -0400 (0:00:00.062) 0:02:16.951 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:27 -0400 (0:00:00.053) 0:02:17.005 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:27 -0400 (0:00:00.080) 0:02:17.085 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:29 -0400 (0:00:01.863) 0:02:18.949 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:30 -0400 (0:00:01.487) 0:02:20.437 ******* ok: [managed_node1] => {} 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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.054) 0:02:20.492 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.051) 0:02:20.543 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.056) 0:02:20.600 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.076) 0:02:20.677 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.071) 0:02:20.749 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.160) 0:02:20.910 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.075) 0:02:20.986 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.130) 0:02:21.116 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.085) 0:02:21.202 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.082) 0:02:21.285 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.098) 0:02:21.383 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.088) 0:02:21.472 ******* skipping: [managed_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.056) 0:02:21.529 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.572) 0:02:22.101 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37350h_ahr49b/tmpzorarw5k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.494) 0:02:22.596 ******* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.824) 0:02:23.420 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.087) 0:02:23.508 ******* ok: [managed_node1] => { "__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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.084) 0:02:23.592 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.061) 0:02:23.654 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.072) 0:02:23.726 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.466) 0:02:24.193 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.085) 0:02:24.279 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.094) 0:02:24.373 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:51:35 -0400 (0:00:00.112) 0:02:24.486 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:51:35 -0400 (0:00:00.436) 0:02:24.922 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:51:35 -0400 (0:00:00.052) 0:02:24.975 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017662", "end": "2024-08-31 08:51:36.010215", "rc": 1, "start": "2024-08-31 08:51:35.992553" } 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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.608) 0:02:25.583 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.091) 0:02:25.674 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.072) 0:02:25.747 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.077) 0:02:25.824 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.089) 0:02:25.913 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.066) 0:02:25.979 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.055) 0:02:26.035 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.854765", "end": "2024-08-31 08:51:37.750429", "rc": 0, "start": "2024-08-31 08:51:36.895664" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 31 August 2024 08:51:37 -0400 (0:00:01.236) 0:02:27.272 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 31 August 2024 08:51:37 -0400 (0:00:00.078) 0:02:27.350 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:51:38 -0400 (0:00:00.178) 0:02:27.529 ******* skipping: [managed_node1] => (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_node1] => { "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-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:51:38 -0400 (0:00:00.059) 0:02:27.589 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:51:38 -0400 (0:00:00.053) 0:02:27.643 ******* included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:51:38 -0400 (0:00:00.088) 0:02:27.732 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042109", "end": "2024-08-31 08:51:38.644925", "rc": 0, "start": "2024-08-31 08:51:38.602816" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 31 August 2024 08:51:38 -0400 (0:00:00.426) 0:02:28.158 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007960", "end": "2024-08-31 08:51:39.012566", "rc": 0, "start": "2024-08-31 08:51:39.004606" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:e9:e4:d1:03 brd ff:ff:ff:ff:ff:ff inet 10.31.12.6/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2455sec preferred_lft 2455sec inet6 fe80::8ff:e9ff:fee4:d103/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.6 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.6 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 31 August 2024 08:51:39 -0400 (0:00:00.366) 0:02:28.525 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.207493", "end": "2024-08-31 08:51:39.613110", "rc": 0, "start": "2024-08-31 08:51:39.405617" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2242 0 --:--:-- --:--:-- --:--:-- 2242 % 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 6767 0 --:--:-- --:--:-- --:--:-- 6767 PLAY RECAP ********************************************************************* managed_node1 : ok=335 changed=13 unreachable=0 failed=0 skipped=287 rescued=0 ignored=10 Saturday 31 August 2024 08:51:39 -0400 (0:00:00.716) 0:02:29.242 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.88s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-X7z/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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-X7z/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-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-X7z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21