ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Tuesday 20 August 2024 10:08:40 -0400 (0:00:00.029) 0:00:00.029 ******** ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Tuesday 20 August 2024 10:08:41 -0400 (0:00:01.052) 0:00:01.081 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 20 August 2024 10:08:41 -0400 (0:00:00.036) 0:00:01.118 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 20 August 2024 10:08:42 -0400 (0:00:00.503) 0:00:01.621 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 20 August 2024 10:08:42 -0400 (0:00:00.497) 0:00:02.119 ******** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 20 August 2024 10:08:42 -0400 (0:00:00.056) 0:00:02.175 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.053) 0:00:02.228 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.087) 0:00:02.316 ******** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.528) 0:00:02.844 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.027) 0:00:02.872 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.029) 0:00:02.902 ******** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.217528", "end": "2024-08-20 10:08:44.204310", "rc": 0, "start": "2024-08-20 10:08:43.986782" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.572) 0:00:03.474 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.034) 0:00:03.508 ******** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.043) 0:00:03.552 ******** ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.670) 0:00:04.222 ******** ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.021) 0:00:04.243 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.031) 0:00:04.275 ******** ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.018) 0:00:04.293 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.071) 0:00:04.365 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.034) 0:00:04.399 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.022) 0:00:04.422 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002900", "end": "2024-08-20 10:08:45.516929", "rc": 0, "start": "2024-08-20 10:08:45.514029" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.360) 0:00:04.782 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.028) 0:00:04.811 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.028) 0:00:04.840 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.054) 0:00:04.894 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007098", "end": "2024-08-20 10:08:45.983558", "rc": 1, "start": "2024-08-20 10:08:45.976460" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.338) 0:00:05.232 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.035) 0:00:05.268 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.355) 0:00:05.623 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.031) 0:00:05.655 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.046) 0:00:05.702 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.160) 0:00:05.862 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.055) 0:00:05.917 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.034) 0:00:05.952 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.045) 0:00:05.997 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.042) 0:00:06.039 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:08:48 -0400 (0:00:01.804) 0:00:07.843 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:08:50 -0400 (0:00:01.757) 0:00:09.601 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.104) 0:00:09.706 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.061) 0:00:09.767 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.058) 0:00:09.826 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.068) 0:00:09.895 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.079) 0:00:09.974 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.042) 0:00:10.017 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.050) 0:00:10.068 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.079) 0:00:10.148 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:08:50 -0400 (0:00:00.034) 0:00:10.183 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:08:51 -0400 (0:00:00.061) 0:00:10.244 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:08:51 -0400 (0:00:00.041) 0:00:10.286 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:08:52 -0400 (0:00:01.085) 0:00:11.372 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:08:52 -0400 (0:00:00.063) 0:00:11.435 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:08:52 -0400 (0:00:00.058) 0:00:11.493 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:08:52 -0400 (0:00:00.057) 0:00:11.551 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d872233-12c2-45be-ba41-a7f53f92976c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.904) 0:00:12.455 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.036) 0:00:12.491 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d872233-12c2-45be-ba41-a7f53f92976c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.044) 0:00:12.536 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d872233-12c2-45be-ba41-a7f53f92976c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d872233-12c2-45be-ba41-a7f53f92976c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.052) 0:00:12.588 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.035) 0:00:12.624 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.523) 0:00:13.147 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d872233-12c2-45be-ba41-a7f53f92976c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d872233-12c2-45be-ba41-a7f53f92976c" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.068) 0:00:13.215 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.067) 0:00:13.283 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.063) 0:00:13.347 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.037) 0:00:13.384 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724162933.1787393, "block_size": 4096, "blocks": 8, "ctime": 1724162933.1347394, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724162933.1347394, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.359) 0:00:13.744 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.056) 0:00:13.800 ******** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018273", "end": "2024-08-20 10:08:54.911047", "rc": 0, "start": "2024-08-20 10:08:54.892774" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.374) 0:00:14.174 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.041) 0:00:14.216 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.048) 0:00:14.265 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.058) 0:00:14.323 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.062) 0:00:14.386 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.065) 0:00:14.451 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.106) 0:00:14.557 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.065) 0:00:14.623 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.060) 0:00:14.684 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.119) 0:00:14.804 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:08:55 -0400 (0:00:00.104) 0:00:14.909 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724162933.1357808, "block_size": 4096, "blocks": 0, "ctime": 1724162933.1357808, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36345, "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": 1724162933.1357808, "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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:08:56 -0400 (0:00:00.669) 0:00:15.578 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:08:56 -0400 (0:00:00.091) 0:00:15.669 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:08:56 -0400 (0:00:00.100) 0:00:15.770 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:08:56 -0400 (0:00:00.138) 0:00:15.908 ******** 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.056270", "end": "2024-08-20 10:08:57.098946", "rc": 1, "start": "2024-08-20 10:08:57.042676" } STDOUT: Connection 'statebr' (6d872233-12c2-45be-ba41-a7f53f92976c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 20 August 2024 10:08:57 -0400 (0:00:00.462) 0:00:16.371 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:08:57 -0400 (0:00:00.111) 0:00:16.482 ******** ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:08:57 -0400 (0:00:00.043) 0:00:16.526 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:08:57 -0400 (0:00:00.084) 0:00:16.610 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:08:57 -0400 (0:00:00.089) 0:00:16.700 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:08:57 -0400 (0:00:00.094) 0:00:16.795 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002868", "end": "2024-08-20 10:08:57.944843", "rc": 0, "start": "2024-08-20 10:08:57.941975" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:08:58 -0400 (0:00:00.492) 0:00:17.287 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:08:58 -0400 (0:00:00.052) 0:00:17.339 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:08:58 -0400 (0:00:00.047) 0:00:17.387 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 20 August 2024 10:08:58 -0400 (0:00:00.082) 0:00:17.470 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005454", "end": "2024-08-20 10:08:58.562763", "rc": 1, "start": "2024-08-20 10:08:58.557309" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:08:58 -0400 (0:00:00.398) 0:00:17.868 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:08:58 -0400 (0:00:00.138) 0:00:18.007 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:08:59 -0400 (0:00:00.491) 0:00:18.499 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:08:59 -0400 (0:00:00.062) 0:00:18.561 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 20 August 2024 10:08:59 -0400 (0:00:00.112) 0:00:18.674 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:08:59 -0400 (0:00:00.156) 0:00:18.831 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:08:59 -0400 (0:00:00.175) 0:00:19.006 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:08:59 -0400 (0:00:00.125) 0:00:19.132 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:08:59 -0400 (0:00:00.055) 0:00:19.187 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:00 -0400 (0:00:00.047) 0:00:19.235 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:01 -0400 (0:00:01.480) 0:00:20.715 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:02 -0400 (0:00:01.406) 0:00:22.121 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:02 -0400 (0:00:00.067) 0:00:22.189 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.057) 0:00:22.246 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.054) 0:00:22.301 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.058) 0:00:22.359 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.068) 0:00:22.427 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.098) 0:00:22.526 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.068) 0:00:22.594 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.113) 0:00:22.708 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.080) 0:00:22.789 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.117) 0:00:22.906 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:03 -0400 (0:00:00.102) 0:00:23.009 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:04 -0400 (0:00:00.788) 0:00:23.797 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:04 -0400 (0:00:00.071) 0:00:23.868 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:04 -0400 (0:00:00.058) 0:00:23.927 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:04 -0400 (0:00:00.056) 0:00:23.984 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8fa261e-327d-4aac-8248-2eb9c3b6b647 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:05 -0400 (0:00:00.588) 0:00:24.573 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:05 -0400 (0:00:00.050) 0:00:24.623 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8fa261e-327d-4aac-8248-2eb9c3b6b647" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:05 -0400 (0:00:00.050) 0:00:24.675 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8fa261e-327d-4aac-8248-2eb9c3b6b647\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8fa261e-327d-4aac-8248-2eb9c3b6b647" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:05 -0400 (0:00:00.051) 0:00:24.726 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:05 -0400 (0:00:00.065) 0:00:24.792 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 20 August 2024 10:09:05 -0400 (0:00:00.358) 0:00:25.150 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8fa261e-327d-4aac-8248-2eb9c3b6b647\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8fa261e-327d-4aac-8248-2eb9c3b6b647" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.056) 0:00:25.206 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.128) 0:00:25.335 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.107) 0:00:25.442 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.495) 0:00:25.937 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.059) 0:00:25.997 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.107) 0:00:26.105 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.072) 0:00:26.177 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724162945.2597225, "block_size": 4096, "blocks": 8, "ctime": 1724162945.2597225, "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": 1724162945.2597225, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:09:07 -0400 (0:00:00.583) 0:00:26.760 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:09:07 -0400 (0:00:00.037) 0:00:26.797 ******** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017202", "end": "2024-08-20 10:09:07.971971", "rc": 0, "start": "2024-08-20 10:09:07.954769" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.470) 0:00:27.267 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.048) 0:00:27.316 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.048) 0:00:27.364 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.048) 0:00:27.413 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.043) 0:00:27.456 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.049) 0:00:27.506 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.040) 0:00:27.546 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.039) 0:00:27.586 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.039) 0:00:27.625 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.033) 0:00:27.659 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.036) 0:00:27.695 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.069) 0:00:27.764 ******** 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.036066", "end": "2024-08-20 10:09:08.883454", "rc": 1, "start": "2024-08-20 10:09:08.847388" } STDOUT: Connection 'statebr' (a8fa261e-327d-4aac-8248-2eb9c3b6b647) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.395) 0:00:28.160 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.109) 0:00:28.270 ******** ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.046) 0:00:28.316 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.078) 0:00:28.395 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.057) 0:00:28.453 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.082) 0:00:28.535 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002817", "end": "2024-08-20 10:09:09.620139", "rc": 0, "start": "2024-08-20 10:09:09.617322" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.364) 0:00:28.900 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.044) 0:00:28.945 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.049) 0:00:28.994 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.066) 0:00:29.061 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.059) 0:00:29.120 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:10 -0400 (0:00:00.098) 0:00:29.218 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:10 -0400 (0:00:00.043) 0:00:29.262 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:10 -0400 (0:00:00.035) 0:00:29.297 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:10 -0400 (0:00:00.035) 0:00:29.332 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:11 -0400 (0:00:01.563) 0:00:30.896 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:13 -0400 (0:00:01.539) 0:00:32.435 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.057) 0:00:32.492 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.068) 0:00:32.561 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.049) 0:00:32.610 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.049) 0:00:32.660 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.080) 0:00:32.741 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.047) 0:00:32.789 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.064) 0:00:32.853 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.119) 0:00:32.973 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.057) 0:00:33.030 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.100) 0:00:33.130 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:14 -0400 (0:00:00.085) 0:00:33.216 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:14 -0400 (0:00:00.628) 0:00:33.844 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:14 -0400 (0:00:00.075) 0:00:33.919 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:14 -0400 (0:00:00.099) 0:00:34.018 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:14 -0400 (0:00:00.066) 0:00:34.085 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:15 -0400 (0:00:00.683) 0:00:34.768 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:15 -0400 (0:00:00.065) 0:00:34.833 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:15 -0400 (0:00:00.048) 0:00:34.882 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:15 -0400 (0:00:00.045) 0:00:34.927 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:15 -0400 (0:00:00.044) 0:00:34.972 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.374) 0:00:35.347 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.067) 0:00:35.415 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.103) 0:00:35.518 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.117) 0:00:35.635 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.171) 0:00:35.807 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.074) 0:00:35.881 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.068) 0:00:35.950 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.055) 0:00:36.005 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:18 -0400 (0:00:01.531) 0:00:37.537 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:19 -0400 (0:00:01.476) 0:00:39.013 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:19 -0400 (0:00:00.039) 0:00:39.053 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:19 -0400 (0:00:00.042) 0:00:39.095 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:19 -0400 (0:00:00.048) 0:00:39.143 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.061) 0:00:39.205 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.073) 0:00:39.278 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.056) 0:00:39.335 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.063) 0:00:39.398 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.095) 0:00:39.493 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.040) 0:00:39.533 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.039) 0:00:39.573 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.078) 0:00:39.652 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:21 -0400 (0:00:00.687) 0:00:40.339 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:21 -0400 (0:00:00.075) 0:00:40.415 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:21 -0400 (0:00:00.066) 0:00:40.482 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:21 -0400 (0:00:00.113) 0:00:40.595 ******** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.628) 0:00:41.224 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.063) 0:00:41.287 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.066) 0:00:41.354 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59ec4abf-bfe3-415a-b9a3-a973bf7e90c0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.066) 0:00:41.421 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.062) 0:00:41.483 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.415) 0:00:41.898 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.113) 0:00:42.012 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.105) 0:00:42.118 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724162955.4234958, "block_size": 4096, "blocks": 0, "ctime": 1724162955.4234958, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36476, "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": 1724162955.4234958, "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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:09:23 -0400 (0:00:00.435) 0:00:42.553 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:09:23 -0400 (0:00:00.062) 0:00:42.616 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:09:23 -0400 (0:00:00.177) 0:00:42.794 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:09:23 -0400 (0:00:00.056) 0:00:42.850 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724162955.4637096, "block_size": 4096, "blocks": 8, "ctime": 1724162955.4227095, "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": 1724162955.4227095, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.387) 0:00:43.238 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.053) 0:00:43.291 ******** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017639", "end": "2024-08-20 10:09:24.477871", "rc": 0, "start": "2024-08-20 10:09:24.460232" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.458) 0:00:43.750 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.043) 0:00:43.794 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.047) 0:00:43.842 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.040) 0:00:43.882 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.036) 0:00:43.918 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.037) 0:00:43.955 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.037) 0:00:43.993 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.036) 0:00:44.030 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.036) 0:00:44.066 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.064) 0:00:44.131 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.035) 0:00:44.167 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.104) 0:00:44.272 ******** 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.057547", "end": "2024-08-20 10:09:25.500753", "rc": 1, "start": "2024-08-20 10:09:25.443206" } STDOUT: Connection 'statebr' (59ec4abf-bfe3-415a-b9a3-a973bf7e90c0) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.498) 0:00:44.770 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.108) 0:00:44.878 ******** ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.071) 0:00:44.949 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.121) 0:00:45.071 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.064) 0:00:45.136 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.064) 0:00:45.201 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003000", "end": "2024-08-20 10:09:26.322928", "rc": 0, "start": "2024-08-20 10:09:26.319928" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.386) 0:00:45.587 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.070) 0:00:45.657 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.041) 0:00:45.698 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.097) 0:00:45.796 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.089) 0:00:45.886 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.083) 0:00:45.969 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.054) 0:00:46.024 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.039) 0:00:46.063 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.035) 0:00:46.099 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:28 -0400 (0:00:01.524) 0:00:47.624 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:29 -0400 (0:00:01.530) 0:00:49.154 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.065) 0:00:49.219 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.063) 0:00:49.282 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.063) 0:00:49.346 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.072) 0:00:49.418 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.082) 0:00:49.501 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.061) 0:00:49.563 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.046) 0:00:49.610 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.092) 0:00:49.702 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.059) 0:00:49.761 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.098) 0:00:49.859 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:30 -0400 (0:00:00.059) 0:00:49.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:31 -0400 (0:00:00.589) 0:00:50.509 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:31 -0400 (0:00:00.044) 0:00:50.554 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:31 -0400 (0:00:00.036) 0:00:50.590 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:31 -0400 (0:00:00.034) 0:00:50.624 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.596) 0:00:51.221 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.041) 0:00:51.262 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.038) 0:00:51.301 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.037) 0:00:51.339 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.033) 0:00:51.373 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.346) 0:00:51.719 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.071) 0:00:51.791 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.060) 0:00:51.851 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.130) 0:00:51.982 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.051) 0:00:52.034 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.043) 0:00:52.077 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.042) 0:00:52.120 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:34 -0400 (0:00:01.520) 0:00:53.641 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:35 -0400 (0:00:01.481) 0:00:55.123 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:35 -0400 (0:00:00.056) 0:00:55.180 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.039) 0:00:55.219 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.043) 0:00:55.263 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.046) 0:00:55.309 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.048) 0:00:55.358 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.035) 0:00:55.393 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.041) 0:00:55.434 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.070) 0:00:55.505 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.043) 0:00:55.549 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.045) 0:00:55.595 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.060) 0:00:55.655 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.680) 0:00:56.335 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.066) 0:00:56.401 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.056) 0:00:56.458 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.057) 0:00:56.515 ******** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.595) 0:00:57.110 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.035) 0:00:57.146 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.035) 0:00:57.182 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dc724fb6-d8b2-4006-b8be-eed730ce6461 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.037) 0:00:57.220 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.034) 0:00:57.255 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.335) 0:00:57.590 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.062) 0:00:57.653 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.111) 0:00:57.764 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.068) 0:00:57.833 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.045) 0:00:57.879 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.035) 0:00:57.914 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.043) 0:00:57.958 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:40 -0400 (0:00:01.515) 0:00:59.474 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:41 -0400 (0:00:01.455) 0:01:00.929 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:41 -0400 (0:00:00.045) 0:01:00.974 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:41 -0400 (0:00:00.045) 0:01:01.020 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:41 -0400 (0:00:00.042) 0:01:01.062 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:41 -0400 (0:00:00.036) 0:01:01.099 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:41 -0400 (0:00:00.043) 0:01:01.142 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:41 -0400 (0:00:00.036) 0:01:01.178 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:42 -0400 (0:00:00.043) 0:01:01.222 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:42 -0400 (0:00:00.105) 0:01:01.327 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:42 -0400 (0:00:00.069) 0:01:01.397 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:42 -0400 (0:00:00.094) 0:01:01.491 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:42 -0400 (0:00:00.128) 0:01:01.620 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:43 -0400 (0:00:00.673) 0:01:02.293 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:43 -0400 (0:00:00.070) 0:01:02.364 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:43 -0400 (0:00:00.087) 0:01:02.452 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:43 -0400 (0:00:00.046) 0:01:02.499 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:43 -0400 (0:00:00.650) 0:01:03.149 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:44 -0400 (0:00:00.069) 0:01:03.218 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:44 -0400 (0:00:00.054) 0:01:03.273 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:44 -0400 (0:00:00.054) 0:01:03.328 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:44 -0400 (0:00:00.087) 0:01:03.416 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:09:44 -0400 (0:00:00.386) 0:01:03.802 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:09:44 -0400 (0:00:00.083) 0:01:03.885 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:09:44 -0400 (0:00:00.114) 0:01:04.000 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724162971.904485, "block_size": 4096, "blocks": 0, "ctime": 1724162971.904485, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36607, "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": 1724162971.904485, "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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:09:45 -0400 (0:00:00.450) 0:01:04.451 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 August 2024 10:09:45 -0400 (0:00:00.098) 0:01:04.549 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:09:45 -0400 (0:00:00.105) 0:01:04.655 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:09:45 -0400 (0:00:00.084) 0:01:04.740 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.493) 0:01:05.233 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.065) 0:01:05.298 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017954", "end": "2024-08-20 10:09:46.583378", "rc": 1, "start": "2024-08-20 10:09:46.565424" } 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.571) 0:01:05.869 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.043) 0:01:05.913 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.054) 0:01:05.967 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.074) 0:01:06.042 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.073) 0:01:06.115 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.046) 0:01:06.162 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:09:47 -0400 (0:00:00.120) 0:01:06.282 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:09:47 -0400 (0:00:00.043) 0:01:06.326 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:09:47 -0400 (0:00:00.056) 0:01:06.383 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:09:47 -0400 (0:00:00.111) 0:01:06.494 ******** 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.067196", "end": "2024-08-20 10:09:47.911320", "rc": 1, "start": "2024-08-20 10:09:47.844124" } STDOUT: Connection 'statebr' (dc724fb6-d8b2-4006-b8be-eed730ce6461) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.712) 0:01:07.207 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.103) 0:01:07.311 ******** ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.057) 0:01:07.369 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.095) 0:01:07.464 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.068) 0:01:07.533 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.055) 0:01:07.589 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002859", "end": "2024-08-20 10:09:48.677607", "rc": 0, "start": "2024-08-20 10:09:48.674748" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.416) 0:01:08.005 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.042) 0:01:08.048 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.055) 0:01:08.103 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.081) 0:01:08.185 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:49 -0400 (0:00:00.081) 0:01:08.266 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:49 -0400 (0:00:00.069) 0:01:08.336 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:49 -0400 (0:00:00.049) 0:01:08.385 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:49 -0400 (0:00:00.047) 0:01:08.432 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:49 -0400 (0:00:00.050) 0:01:08.483 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:50 -0400 (0:00:01.528) 0:01:10.011 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:52 -0400 (0:00:01.410) 0:01:11.422 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.051) 0:01:11.474 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.039) 0:01:11.514 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.037) 0:01:11.551 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.035) 0:01:11.587 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.042) 0:01:11.629 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.035) 0:01:11.665 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.040) 0:01:11.706 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.071) 0:01:11.777 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.040) 0:01:11.818 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.106) 0:01:11.924 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.079) 0:01:12.004 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:53 -0400 (0:00:00.576) 0:01:12.581 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:53 -0400 (0:00:00.052) 0:01:12.633 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:53 -0400 (0:00:00.056) 0:01:12.690 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:53 -0400 (0:00:00.057) 0:01:12.747 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.611) 0:01:13.358 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.054) 0:01:13.413 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.061) 0:01:13.474 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.059) 0:01:13.534 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.054) 0:01:13.589 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.425) 0:01:14.014 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.050) 0:01:14.065 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.120) 0:01:14.186 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:55 -0400 (0:00:00.082) 0:01:14.268 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:55 -0400 (0:00:00.042) 0:01:14.311 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:55 -0400 (0:00:00.036) 0:01:14.348 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:55 -0400 (0:00:00.035) 0:01:14.383 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:56 -0400 (0:00:01.513) 0:01:15.897 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:58 -0400 (0:00:01.486) 0:01:17.383 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.059) 0:01:17.442 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.063) 0:01:17.505 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.058) 0:01:17.564 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.059) 0:01:17.623 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.068) 0:01:17.692 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.058) 0:01:17.751 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.066) 0:01:17.817 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.095) 0:01:17.913 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.040) 0:01:17.954 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.041) 0:01:17.996 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.052) 0:01:18.048 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.561) 0:01:18.610 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.042) 0:01:18.652 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.038) 0:01:18.690 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.043) 0:01:18.734 ******** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.570) 0:01:19.304 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.036) 0:01:19.341 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.038) 0:01:19.379 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f872c300-c606-480d-a3c7-c0866a5a4d11 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.051) 0:01:19.431 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.044) 0:01:19.475 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.543) 0:01:20.019 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.064) 0:01:20.083 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.103) 0:01:20.187 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:10:01 -0400 (0:00:00.051) 0:01:20.239 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:10:01 -0400 (0:00:00.055) 0:01:20.295 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:10:01 -0400 (0:00:00.057) 0:01:20.353 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:10:02 -0400 (0:00:01.597) 0:01:21.950 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:10:04 -0400 (0:00:01.543) 0:01:23.494 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.063) 0:01:23.557 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.076) 0:01:23.634 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.066) 0:01:23.701 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.070) 0:01:23.771 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.083) 0:01:23.854 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.053) 0:01:23.907 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.061) 0:01:23.969 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.108) 0:01:24.077 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.058) 0:01:24.136 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.056) 0:01:24.192 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:10:05 -0400 (0:00:00.061) 0:01:24.254 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:10:05 -0400 (0:00:00.570) 0:01:24.824 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:10:05 -0400 (0:00:00.079) 0:01:24.904 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:10:05 -0400 (0:00:00.035) 0:01:24.940 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:10:05 -0400 (0:00:00.036) 0:01:24.976 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:10:06 -0400 (0:00:00.549) 0:01:25.526 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:10:06 -0400 (0:00:00.059) 0:01:25.585 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:10:06 -0400 (0:00:00.069) 0:01:25.655 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:10:06 -0400 (0:00:00.066) 0:01:25.722 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:10:06 -0400 (0:00:00.040) 0:01:25.763 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:10:06 -0400 (0:00:00.352) 0:01:26.115 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.100) 0:01:26.215 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.111) 0:01:26.327 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.150) 0:01:26.477 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.056) 0:01:26.533 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.043) 0:01:26.577 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.044) 0:01:26.622 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:10:08 -0400 (0:00:01.548) 0:01:28.170 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:10:10 -0400 (0:00:01.409) 0:01:29.580 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.037) 0:01:29.618 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.037) 0:01:29.656 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.037) 0:01:29.693 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.035) 0:01:29.729 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.053) 0:01:29.782 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.040) 0:01:29.823 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.040) 0:01:29.864 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.072) 0:01:29.936 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.035) 0:01:29.972 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.035) 0:01:30.007 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:10:10 -0400 (0:00:00.040) 0:01:30.048 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:10:11 -0400 (0:00:00.544) 0:01:30.592 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:10:11 -0400 (0:00:00.112) 0:01:30.704 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:10:11 -0400 (0:00:00.057) 0:01:30.762 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:10:11 -0400 (0:00:00.070) 0:01:30.832 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:10:12 -0400 (0:00:00.658) 0:01:31.490 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:10:12 -0400 (0:00:00.037) 0:01:31.527 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:10:12 -0400 (0:00:00.048) 0:01:31.576 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:10:12 -0400 (0:00:00.062) 0:01:31.638 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:10:12 -0400 (0:00:00.042) 0:01:31.681 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:10:12 -0400 (0:00:00.376) 0:01:32.057 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 August 2024 10:10:12 -0400 (0:00:00.093) 0:01:32.151 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:10:13 -0400 (0:00:00.073) 0:01:32.224 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:10:13 -0400 (0:00:00.043) 0:01:32.267 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:10:13 -0400 (0:00:00.367) 0:01:32.635 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:10:13 -0400 (0:00:00.055) 0:01:32.690 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017307", "end": "2024-08-20 10:10:13.816287", "rc": 1, "start": "2024-08-20 10:10:13.798980" } 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:10:13 -0400 (0:00:00.411) 0:01:33.101 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:10:13 -0400 (0:00:00.050) 0:01:33.152 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.047) 0:01:33.199 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.078) 0:01:33.277 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.061) 0:01:33.339 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.057) 0:01:33.397 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.061) 0:01:33.459 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.107) 0:01:33.566 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.068) 0:01:33.635 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.375) 0:01:34.011 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.088) 0:01:34.100 ******** ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:10:14 -0400 (0:00:00.043) 0:01:34.143 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:10:15 -0400 (0:00:00.066) 0:01:34.209 ******** 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.034337", "end": "2024-08-20 10:10:15.331324", "rc": 1, "start": "2024-08-20 10:10:15.296987" } 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 20 August 2024 10:10:15 -0400 (0:00:00.406) 0:01:34.616 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 20 August 2024 10:10:15 -0400 (0:00:00.092) 0:01:34.708 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 20 August 2024 10:10:15 -0400 (0:00:00.043) 0:01:34.752 ******** ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 20 August 2024 10:10:15 -0400 (0:00:00.089) 0:01:34.841 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:10:15 -0400 (0:00:00.065) 0:01:34.907 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:10:15 -0400 (0:00:00.061) 0:01:34.968 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003233", "end": "2024-08-20 10:10:16.063780", "rc": 0, "start": "2024-08-20 10:10:16.060547" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.359) 0:01:35.327 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.072) 0:01:35.400 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.037) 0:01:35.438 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.072) 0:01:35.510 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.061) 0:01:35.572 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.068) 0:01:35.640 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.044) 0:01:35.685 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.035) 0:01:35.720 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:10:16 -0400 (0:00:00.035) 0:01:35.756 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:10:18 -0400 (0:00:01.545) 0:01:37.301 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:10:19 -0400 (0:00:01.614) 0:01:38.916 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:10:19 -0400 (0:00:00.119) 0:01:39.036 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:10:19 -0400 (0:00:00.046) 0:01:39.082 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:10:19 -0400 (0:00:00.069) 0:01:39.151 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:10:20 -0400 (0:00:00.064) 0:01:39.216 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:10:20 -0400 (0:00:00.082) 0:01:39.298 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:10:20 -0400 (0:00:00.072) 0:01:39.370 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:10:20 -0400 (0:00:00.051) 0:01:39.421 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:10:20 -0400 (0:00:00.086) 0:01:39.508 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:10:20 -0400 (0:00:00.071) 0:01:39.580 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:10:20 -0400 (0:00:00.036) 0:01:39.616 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:10:20 -0400 (0:00:00.040) 0:01:39.657 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:10:21 -0400 (0:00:00.574) 0:01:40.231 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:10:21 -0400 (0:00:00.072) 0:01:40.303 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:10:21 -0400 (0:00:00.046) 0:01:40.350 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:10:21 -0400 (0:00:00.058) 0:01:40.409 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:10:21 -0400 (0:00:00.720) 0:01:41.130 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.068) 0:01:41.199 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.058) 0:01:41.257 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.067) 0:01:41.324 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.053) 0:01:41.378 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.454) 0:01:41.833 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.047) 0:01:41.880 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.087) 0:01:41.968 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.117) 0:01:42.086 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:10:22 -0400 (0:00:00.069) 0:01:42.155 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:10:23 -0400 (0:00:00.056) 0:01:42.212 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:10:23 -0400 (0:00:00.073) 0:01:42.286 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:10:24 -0400 (0:00:01.678) 0:01:43.964 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:10:26 -0400 (0:00:01.454) 0:01:45.418 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.037) 0:01:45.456 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.036) 0:01:45.493 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.035) 0:01:45.528 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.036) 0:01:45.565 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.044) 0:01:45.609 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.035) 0:01:45.644 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.040) 0:01:45.685 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.072) 0:01:45.758 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.035) 0:01:45.793 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.070) 0:01:45.864 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:10:26 -0400 (0:00:00.043) 0:01:45.907 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:10:27 -0400 (0:00:00.561) 0:01:46.468 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:10:27 -0400 (0:00:00.068) 0:01:46.537 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:10:27 -0400 (0:00:00.066) 0:01:46.604 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:10:27 -0400 (0:00:00.073) 0:01:46.677 ******** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.652) 0:01:47.330 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.064) 0:01:47.394 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.051) 0:01:47.446 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3e1fd919-a532-4eca-ba8b-d285374a09ea skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.042) 0:01:47.489 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.041) 0:01:47.530 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.353) 0:01:47.884 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.093) 0:01:47.977 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.074) 0:01:48.051 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.059) 0:01:48.111 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:10:28 -0400 (0:00:00.067) 0:01:48.178 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:10:29 -0400 (0:00:00.041) 0:01:48.219 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:10:30 -0400 (0:00:01.534) 0:01:49.754 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:10:32 -0400 (0:00:01.447) 0:01:51.201 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.039) 0:01:51.241 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.035) 0:01:51.277 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.034) 0:01:51.311 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.035) 0:01:51.346 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.052) 0:01:51.399 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.050) 0:01:51.449 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.085) 0:01:51.535 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.105) 0:01:51.641 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.055) 0:01:51.696 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.043) 0:01:51.740 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:10:32 -0400 (0:00:00.046) 0:01:51.786 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:10:33 -0400 (0:00:00.579) 0:01:52.366 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:10:33 -0400 (0:00:00.045) 0:01:52.411 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:10:33 -0400 (0:00:00.036) 0:01:52.447 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:10:33 -0400 (0:00:00.033) 0:01:52.481 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:10:33 -0400 (0:00:00.606) 0:01:53.087 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:10:33 -0400 (0:00:00.036) 0:01:53.124 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:10:33 -0400 (0:00:00.038) 0:01:53.163 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.038) 0:01:53.201 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.036) 0:01:53.237 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.341) 0:01:53.579 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.097) 0:01:53.676 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.059) 0:01:53.735 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.068) 0:01:53.804 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.045) 0:01:53.849 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.036) 0:01:53.885 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:10:34 -0400 (0:00:00.034) 0:01:53.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 : Check which packages are installed] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:10:36 -0400 (0:00:01.503) 0:01:55.422 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:10:37 -0400 (0:00:01.436) 0:01:56.859 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:10:37 -0400 (0:00:00.049) 0:01:56.909 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:10:37 -0400 (0:00:00.041) 0:01:56.951 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:10:37 -0400 (0:00:00.041) 0:01:56.993 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:10:37 -0400 (0:00:00.046) 0:01:57.039 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:10:37 -0400 (0:00:00.047) 0:01:57.086 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:10:37 -0400 (0:00:00.036) 0:01:57.123 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:10:37 -0400 (0:00:00.041) 0:01:57.165 ******** skipping: [managed_node1] => { "changed": false, "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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:10:38 -0400 (0:00:00.076) 0:01:57.242 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:10:38 -0400 (0:00:00.048) 0:01:57.290 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:10:38 -0400 (0:00:00.105) 0:01:57.396 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:10:38 -0400 (0:00:00.058) 0:01:57.454 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:10:38 -0400 (0:00:00.586) 0:01:58.041 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:10:38 -0400 (0:00:00.066) 0:01:58.108 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:10:38 -0400 (0:00:00.041) 0:01:58.149 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:10:39 -0400 (0:00:00.052) 0:01:58.202 ******** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:10:39 -0400 (0:00:00.557) 0:01:58.759 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:10:39 -0400 (0:00:00.036) 0:01:58.795 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:10:39 -0400 (0:00:00.037) 0:01:58.833 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:10:39 -0400 (0:00:00.039) 0:01:58.873 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:10:39 -0400 (0:00:00.036) 0:01:58.909 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 20 August 2024 10:10:40 -0400 (0:00:00.345) 0:01:59.254 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 August 2024 10:10:40 -0400 (0:00:00.108) 0:01:59.363 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:10:40 -0400 (0:00:00.064) 0:01:59.428 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:10:40 -0400 (0:00:00.037) 0:01:59.465 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:10:40 -0400 (0:00:00.372) 0:01:59.838 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:10:40 -0400 (0:00:00.041) 0:01:59.880 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016736", "end": "2024-08-20 10:10:41.018809", "rc": 1, "start": "2024-08-20 10:10:41.002073" } 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:10:41 -0400 (0:00:00.403) 0:02:00.283 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:10:41 -0400 (0:00:00.038) 0:02:00.322 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:10:41 -0400 (0:00:00.038) 0:02:00.360 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:10:41 -0400 (0:00:00.039) 0:02:00.400 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:10:41 -0400 (0:00:00.039) 0:02:00.439 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 August 2024 10:10:41 -0400 (0:00:00.037) 0:02:00.477 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 August 2024 10:10:41 -0400 (0:00:00.040) 0:02:00.517 ******** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.850348", "end": "2024-08-20 10:10:42.456186", "rc": 0, "start": "2024-08-20 10:10:41.605838" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 August 2024 10:10:42 -0400 (0:00:01.235) 0:02:01.753 ******** ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 August 2024 10:10:42 -0400 (0:00:00.062) 0:02:01.816 ******** ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 20 August 2024 10:10:42 -0400 (0:00:00.063) 0:02:01.879 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:10:42 -0400 (0:00:00.116) 0:02:01.995 ******** included: /tmp/collections-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:10:42 -0400 (0:00:00.101) 0:02:02.097 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:10:43 -0400 (0:00:00.438) 0:02:02.536 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 20 August 2024 10:10:43 -0400 (0:00:00.050) 0:02:02.586 ******** 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 20 August 2024 10:10:43 -0400 (0:00:00.049) 0:02:02.636 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 August 2024 10:10:43 -0400 (0:00:00.080) 0:02:02.716 ******** 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.033320", "end": "2024-08-20 10:10:43.859690", "rc": 1, "start": "2024-08-20 10:10:43.826370" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 August 2024 10:10:43 -0400 (0:00:00.436) 0:02:03.152 ******** 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.007658", "end": "2024-08-20 10:10:44.261744", "rc": 0, "start": "2024-08-20 10:10:44.254086" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:74:ef:01:48:65 brd ff:ff:ff:ff:ff:ff inet 10.31.46.16/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2464sec preferred_lft 2464sec inet6 fe80::74:efff:fe01:4865/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.16 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.16 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-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 August 2024 10:10:44 -0400 (0:00:00.422) 0:02:03.574 ******** 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.270929", "end": "2024-08-20 10:10:45.106382", "rc": 0, "start": "2024-08-20 10:10:44.835453" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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:fed6 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:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1480 0 --:--:-- --:--:-- --:--:-- 1473 % 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 7097 0 --:--:-- --:--:-- --:--:-- 7097 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Tuesday 20 August 2024 10:10:45 -0400 (0:00:00.789) 0:02:04.364 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-qpO/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-qpO/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-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26