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-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Thursday 15 August 2024 07:03:57 -0400 (0:00:00.024) 0:00:00.024 ******* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Thursday 15 August 2024 07:03:58 -0400 (0:00:01.057) 0:00:01.082 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 15 August 2024 07:03:58 -0400 (0:00:00.059) 0:00:01.142 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 15 August 2024 07:03:59 -0400 (0:00:00.542) 0:00:01.684 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 15 August 2024 07:03:59 -0400 (0:00:00.648) 0:00:02.333 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 15 August 2024 07:03:59 -0400 (0:00:00.067) 0:00:02.400 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 15 August 2024 07:04:00 -0400 (0:00:00.077) 0:00:02.477 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 15 August 2024 07:04:00 -0400 (0:00:00.133) 0:00:02.611 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 15 August 2024 07:04:00 -0400 (0:00:00.516) 0:00:03.127 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 15 August 2024 07:04:00 -0400 (0:00:00.021) 0:00:03.149 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 15 August 2024 07:04:00 -0400 (0:00:00.021) 0:00:03.171 ******* [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.209309", "end": "2024-08-15 07:04:01.318895", "rc": 0, "start": "2024-08-15 07:04:01.109586" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 15 August 2024 07:04:01 -0400 (0:00:00.632) 0:00:03.804 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Thursday 15 August 2024 07:04:01 -0400 (0:00:00.020) 0:00:03.824 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 15 August 2024 07:04:01 -0400 (0:00:00.025) 0:00:03.850 ******* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.712) 0:00:04.562 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.053) 0:00:04.616 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.106) 0:00:04.722 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.095) 0:00:04.817 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.177) 0:00:04.994 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.047) 0:00:05.042 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.061) 0:00:05.103 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002588", "end": "2024-08-15 07:04:03.050373", "rc": 0, "start": "2024-08-15 07:04:03.047785" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.445) 0:00:05.549 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.035) 0:00:05.584 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.040) 0:00:05.625 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.112) 0:00:05.738 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006452", "end": "2024-08-15 07:04:03.644282", "rc": 1, "start": "2024-08-15 07:04:03.637830" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.388) 0:00:06.126 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.033) 0:00:06.159 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.415) 0:00:06.575 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.025) 0:00:06.600 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.045) 0:00:06.645 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.211) 0:00:06.856 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.051) 0:00:06.908 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.026) 0:00:06.935 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.026) 0:00:06.961 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.032) 0:00:06.994 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:06 -0400 (0:00:01.706) 0:00:08.700 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:08 -0400 (0:00:01.990) 0:00:10.691 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.079) 0:00:10.771 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.075) 0:00:10.846 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.079) 0:00:10.925 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.099) 0:00:11.024 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.086) 0:00:11.111 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.070) 0:00:11.181 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.078) 0:00:11.260 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.134) 0:00:11.395 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:09 -0400 (0:00:00.068) 0:00:11.463 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:09 -0400 (0:00:00.068) 0:00:11.532 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:09 -0400 (0:00:00.081) 0:00:11.613 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:10 -0400 (0:00:01.033) 0:00:12.646 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:10 -0400 (0:00:00.049) 0:00:12.696 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:10 -0400 (0:00:00.071) 0:00:12.768 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:10 -0400 (0:00:00.042) 0:00:12.810 ******* 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, bde8c4b7-57ad-48a0-a1f6-e77a6772aa09 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.949) 0:00:13.760 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.152) 0:00:13.913 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bde8c4b7-57ad-48a0-a1f6-e77a6772aa09" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.091) 0:00:14.004 ******* 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, bde8c4b7-57ad-48a0-a1f6-e77a6772aa09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bde8c4b7-57ad-48a0-a1f6-e77a6772aa09" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.081) 0:00:14.086 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.076) 0:00:14.162 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.703) 0:00:14.866 ******* 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, bde8c4b7-57ad-48a0-a1f6-e77a6772aa09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bde8c4b7-57ad-48a0-a1f6-e77a6772aa09" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.099) 0:00:14.965 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.183) 0:00:15.149 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.172) 0:00:15.322 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:04:13 -0400 (0:00:00.133) 0:00:15.455 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723719851.1740773, "block_size": 4096, "blocks": 8, "ctime": 1723719851.1350772, "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": 1723719851.1350772, "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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:04:13 -0400 (0:00:00.413) 0:00:15.869 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:04:13 -0400 (0:00:00.136) 0:00:16.005 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016794", "end": "2024-08-15 07:04:13.926727", "rc": 0, "start": "2024-08-15 07:04:13.909933" } 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.481) 0:00:16.487 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.127) 0:00:16.614 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.105) 0:00:16.720 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.073) 0:00:16.793 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.092) 0:00:16.886 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.073) 0:00:16.960 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.074) 0:00:17.034 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.076) 0:00:17.111 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.075) 0:00:17.186 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.223) 0:00:17.410 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:04:15 -0400 (0:00:00.178) 0:00:17.588 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723719851.1366546, "block_size": 4096, "blocks": 0, "ctime": 1723719851.1366546, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37756, "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": 1723719851.1366546, "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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 07:04:15 -0400 (0:00:00.408) 0:00:17.997 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:04:15 -0400 (0:00:00.068) 0:00:18.065 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:04:15 -0400 (0:00:00.077) 0:00:18.142 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:04:15 -0400 (0:00:00.137) 0:00:18.280 ******* 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.052095", "end": "2024-08-15 07:04:16.266695", "rc": 1, "start": "2024-08-15 07:04:16.214600" } STDOUT: Connection 'statebr' (bde8c4b7-57ad-48a0-a1f6-e77a6772aa09) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.491) 0:00:18.772 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.074) 0:00:18.846 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.042) 0:00:18.889 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.091) 0:00:18.980 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.101) 0:00:19.082 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.123) 0:00:19.205 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002362", "end": "2024-08-15 07:04:17.070840", "rc": 0, "start": "2024-08-15 07:04:17.068478" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.367) 0:00:19.572 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.043) 0:00:19.616 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.043) 0:00:19.660 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.081) 0:00:19.742 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004776", "end": "2024-08-15 07:04:17.601784", "rc": 1, "start": "2024-08-15 07:04:17.597008" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.377) 0:00:20.119 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.086) 0:00:20.205 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.395) 0:00:20.601 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.078) 0:00:20.679 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.171) 0:00:20.851 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.148) 0:00:21.000 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.141) 0:00:21.142 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.084) 0:00:21.226 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.069) 0:00:21.296 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.070) 0:00:21.366 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:20 -0400 (0:00:01.765) 0:00:23.132 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:22 -0400 (0:00:01.500) 0:00:24.632 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.084) 0:00:24.716 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.085) 0:00:24.802 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.068) 0:00:24.870 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.067) 0:00:24.937 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.091) 0:00:25.029 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.066) 0:00:25.095 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.082) 0:00:25.177 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.152) 0:00:25.330 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:23 -0400 (0:00:00.159) 0:00:25.489 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:23 -0400 (0:00:00.076) 0:00:25.566 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:23 -0400 (0:00:00.090) 0:00:25.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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:23 -0400 (0:00:00.661) 0:00:26.318 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:23 -0400 (0:00:00.049) 0:00:26.368 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:23 -0400 (0:00:00.041) 0:00:26.409 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:24 -0400 (0:00:00.043) 0:00:26.453 ******* 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, 3ea44f9d-b79c-4707-bf3e-c3dd042b471c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:24 -0400 (0:00:00.551) 0:00:27.004 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:24 -0400 (0:00:00.042) 0:00:27.047 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ea44f9d-b79c-4707-bf3e-c3dd042b471c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:24 -0400 (0:00:00.044) 0:00:27.091 ******* 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, 3ea44f9d-b79c-4707-bf3e-c3dd042b471c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ea44f9d-b79c-4707-bf3e-c3dd042b471c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:24 -0400 (0:00:00.060) 0:00:27.151 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:24 -0400 (0:00:00.067) 0:00:27.219 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.389) 0:00:27.609 ******* 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, 3ea44f9d-b79c-4707-bf3e-c3dd042b471c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ea44f9d-b79c-4707-bf3e-c3dd042b471c" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.044) 0:00:27.653 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.083) 0:00:27.737 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.118) 0:00:27.855 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.365) 0:00:28.221 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.045) 0:00:28.266 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.075) 0:00:28.342 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.042) 0:00:28.384 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723719864.490095, "block_size": 4096, "blocks": 8, "ctime": 1723719864.490095, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723719864.490095, "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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:04:26 -0400 (0:00:00.448) 0:00:28.833 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:04:26 -0400 (0:00:00.124) 0:00:28.958 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017063", "end": "2024-08-15 07:04:27.046891", "rc": 0, "start": "2024-08-15 07:04:27.029828" } 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.691) 0:00:29.649 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.079) 0:00:29.729 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.092) 0:00:29.821 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.092) 0:00:29.914 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.104) 0:00:30.019 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.087) 0:00:30.106 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.139) 0:00:30.246 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.078) 0:00:30.324 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.063) 0:00:30.388 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.046) 0:00:30.434 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.053) 0:00:30.487 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.104) 0:00:30.591 ******* 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.033857", "end": "2024-08-15 07:04:28.545898", "rc": 1, "start": "2024-08-15 07:04:28.512041" } STDOUT: Connection 'statebr' (3ea44f9d-b79c-4707-bf3e-c3dd042b471c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.475) 0:00:31.067 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.112) 0:00:31.180 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.042) 0:00:31.223 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.086) 0:00:31.309 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.099) 0:00:31.410 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:04:29 -0400 (0:00:00.293) 0:00:31.703 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002625", "end": "2024-08-15 07:04:29.613247", "rc": 0, "start": "2024-08-15 07:04:29.610622" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:04:29 -0400 (0:00:00.420) 0:00:32.124 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:04:29 -0400 (0:00:00.123) 0:00:32.247 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:04:29 -0400 (0:00:00.137) 0:00:32.384 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:04:30 -0400 (0:00:00.197) 0:00:32.582 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:30 -0400 (0:00:00.134) 0:00:32.716 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:30 -0400 (0:00:00.122) 0:00:32.839 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:30 -0400 (0:00:00.066) 0:00:32.905 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:30 -0400 (0:00:00.042) 0:00:32.947 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:30 -0400 (0:00:00.048) 0:00:32.996 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:32 -0400 (0:00:01.722) 0:00:34.718 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:33 -0400 (0:00:01.469) 0:00:36.188 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:33 -0400 (0:00:00.080) 0:00:36.269 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:33 -0400 (0:00:00.078) 0:00:36.347 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:33 -0400 (0:00:00.064) 0:00:36.412 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.051) 0:00:36.463 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.061) 0:00:36.525 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.046) 0:00:36.571 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.117) 0:00:36.689 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.167) 0:00:36.856 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.093) 0:00:36.950 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.068) 0:00:37.018 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.080) 0:00:37.098 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:35 -0400 (0:00:00.942) 0:00:38.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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:35 -0400 (0:00:00.062) 0:00:38.103 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:35 -0400 (0:00:00.070) 0:00:38.174 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:35 -0400 (0:00:00.057) 0:00:38.232 ******* 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, bdc3c147-e9e6-410c-b5e6-58986eac4198 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:36 -0400 (0:00:00.612) 0:00:38.844 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:36 -0400 (0:00:00.056) 0:00:38.901 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdc3c147-e9e6-410c-b5e6-58986eac4198" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:36 -0400 (0:00:00.055) 0:00:38.956 ******* 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, bdc3c147-e9e6-410c-b5e6-58986eac4198\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdc3c147-e9e6-410c-b5e6-58986eac4198" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:36 -0400 (0:00:00.054) 0:00:39.011 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:36 -0400 (0:00:00.053) 0:00:39.064 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.451) 0:00:39.516 ******* 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, bdc3c147-e9e6-410c-b5e6-58986eac4198\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdc3c147-e9e6-410c-b5e6-58986eac4198" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.110) 0:00:39.626 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.166) 0:00:39.792 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.132) 0:00:39.925 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.120) 0:00:40.046 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.061) 0:00:40.107 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.042) 0:00:40.150 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.041) 0:00:40.191 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:39 -0400 (0:00:01.672) 0:00:41.864 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:40 -0400 (0:00:01.465) 0:00:43.329 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:40 -0400 (0:00:00.075) 0:00:43.405 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.079) 0:00:43.484 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.061) 0:00:43.546 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.056) 0:00:43.603 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.080) 0:00:43.684 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.080) 0:00:43.764 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.061) 0:00:43.826 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.122) 0:00:43.948 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.115) 0:00:44.064 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.121) 0:00:44.186 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.126) 0:00:44.312 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.817) 0:00:45.129 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.116) 0:00:45.246 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.085) 0:00:45.332 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.076) 0:00:45.408 ******* 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, bdc3c147-e9e6-410c-b5e6-58986eac4198 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:43 -0400 (0:00:00.646) 0:00:46.055 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:43 -0400 (0:00:00.053) 0:00:46.108 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bdc3c147-e9e6-410c-b5e6-58986eac4198 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:43 -0400 (0:00:00.069) 0:00:46.178 ******* 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, bdc3c147-e9e6-410c-b5e6-58986eac4198 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bdc3c147-e9e6-410c-b5e6-58986eac4198 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:43 -0400 (0:00:00.071) 0:00:46.249 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:43 -0400 (0:00:00.051) 0:00:46.301 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:04:44 -0400 (0:00:00.359) 0:00:46.660 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 07:04:44 -0400 (0:00:00.155) 0:00:46.816 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:04:44 -0400 (0:00:00.095) 0:00:46.912 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723719876.259733, "block_size": 4096, "blocks": 0, "ctime": 1723719876.259733, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37887, "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": 1723719876.259733, "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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 07:04:44 -0400 (0:00:00.440) 0:00:47.352 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.087) 0:00:47.440 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.122) 0:00:47.563 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.059) 0:00:47.622 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723719876.3071105, "block_size": 4096, "blocks": 8, "ctime": 1723719876.2581105, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723719876.2581105, "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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.430) 0:00:48.053 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.080) 0:00:48.133 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016719", "end": "2024-08-15 07:04:46.034275", "rc": 0, "start": "2024-08-15 07:04:46.017556" } 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.411) 0:00:48.545 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.071) 0:00:48.617 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.141) 0:00:48.759 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.075) 0:00:48.834 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.078) 0:00:48.913 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.073) 0:00:48.986 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.085) 0:00:49.072 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.111) 0:00:49.183 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.082) 0:00:49.266 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.077) 0:00:49.343 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.071) 0:00:49.415 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:04:47 -0400 (0:00:00.129) 0:00:49.544 ******* 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.063086", "end": "2024-08-15 07:04:47.517805", "rc": 1, "start": "2024-08-15 07:04:47.454719" } STDOUT: Connection 'statebr' (bdc3c147-e9e6-410c-b5e6-58986eac4198) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 15 August 2024 07:04:47 -0400 (0:00:00.528) 0:00:50.073 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:04:47 -0400 (0:00:00.148) 0:00:50.222 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:04:47 -0400 (0:00:00.056) 0:00:50.278 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:04:47 -0400 (0:00:00.097) 0:00:50.375 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:04:48 -0400 (0:00:00.134) 0:00:50.510 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:04:48 -0400 (0:00:00.102) 0:00:50.613 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002624", "end": "2024-08-15 07:04:48.551825", "rc": 0, "start": "2024-08-15 07:04:48.549201" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:04:48 -0400 (0:00:00.478) 0:00:51.091 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:04:48 -0400 (0:00:00.078) 0:00:51.170 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:04:48 -0400 (0:00:00.094) 0:00:51.265 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:04:48 -0400 (0:00:00.131) 0:00:51.397 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.091) 0:00:51.488 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.085) 0:00:51.573 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.050) 0:00:51.624 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.048) 0:00:51.673 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.115) 0:00:51.788 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:51 -0400 (0:00:01.742) 0:00:53.531 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:52 -0400 (0:00:01.363) 0:00:54.895 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.043) 0:00:54.938 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.042) 0:00:54.981 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.073) 0:00:55.055 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.042) 0:00:55.097 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.050) 0:00:55.148 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.042) 0:00:55.190 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.049) 0:00:55.239 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.086) 0:00:55.326 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.053) 0:00:55.380 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:53 -0400 (0:00:00.058) 0:00:55.438 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:53 -0400 (0:00:00.089) 0:00:55.527 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:53 -0400 (0:00:00.869) 0:00:56.397 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:54 -0400 (0:00:00.132) 0:00:56.530 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:54 -0400 (0:00:00.066) 0:00:56.597 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:54 -0400 (0:00:00.064) 0:00:56.661 ******* 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, 20919bc6-8ab9-4c69-8d02-04485ee39b49 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:54 -0400 (0:00:00.652) 0:00:57.314 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:54 -0400 (0:00:00.075) 0:00:57.389 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20919bc6-8ab9-4c69-8d02-04485ee39b49" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.056) 0:00:57.445 ******* 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, 20919bc6-8ab9-4c69-8d02-04485ee39b49\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20919bc6-8ab9-4c69-8d02-04485ee39b49" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.086) 0:00:57.532 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.050) 0:00:57.582 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.391) 0:00:57.973 ******* 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, 20919bc6-8ab9-4c69-8d02-04485ee39b49\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20919bc6-8ab9-4c69-8d02-04485ee39b49" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.073) 0:00:58.047 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.089) 0:00:58.136 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.103) 0:00:58.240 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.050) 0:00:58.290 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.042) 0:00:58.332 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.042) 0:00:58.374 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:57 -0400 (0:00:01.481) 0:00:59.856 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:58 -0400 (0:00:01.376) 0:01:01.232 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:58 -0400 (0:00:00.044) 0:01:01.277 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:58 -0400 (0:00:00.042) 0:01:01.319 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:58 -0400 (0:00:00.041) 0:01:01.360 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:58 -0400 (0:00:00.042) 0:01:01.403 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.084) 0:01:01.488 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.041) 0:01:01.530 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.048) 0:01:01.579 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.097) 0:01:01.677 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.043) 0:01:01.720 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.042) 0:01:01.762 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.048) 0:01:01.811 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.578) 0:01:02.390 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:00 -0400 (0:00:00.096) 0:01:02.486 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:00 -0400 (0:00:00.068) 0:01:02.555 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:00 -0400 (0:00:00.122) 0:01:02.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, 20919bc6-8ab9-4c69-8d02-04485ee39b49 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.984) 0:01:03.662 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.087) 0:01:03.749 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20919bc6-8ab9-4c69-8d02-04485ee39b49 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.080) 0:01:03.829 ******* 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, 20919bc6-8ab9-4c69-8d02-04485ee39b49 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20919bc6-8ab9-4c69-8d02-04485ee39b49 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.082) 0:01:03.912 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.129) 0:01:04.042 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:05:02 -0400 (0:00:00.403) 0:01:04.446 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 15 August 2024 07:05:02 -0400 (0:00:00.165) 0:01:04.612 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:02 -0400 (0:00:00.198) 0:01:04.811 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:02 -0400 (0:00:00.130) 0:01:04.941 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:02 -0400 (0:00:00.095) 0:01:05.036 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:02 -0400 (0:00:00.072) 0:01:05.108 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:02 -0400 (0:00:00.115) 0:01:05.225 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:04 -0400 (0:00:01.714) 0:01:06.939 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:06 -0400 (0:00:01.665) 0:01:08.605 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.098) 0:01:08.703 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.092) 0:01:08.796 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.083) 0:01:08.879 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.083) 0:01:08.962 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.093) 0:01:09.056 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.076) 0:01:09.133 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.057) 0:01:09.190 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.137) 0:01:09.328 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.078) 0:01:09.406 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.113) 0:01:09.520 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.110) 0:01:09.631 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:08 -0400 (0:00:00.846) 0:01:10.477 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:08 -0400 (0:00:00.085) 0:01:10.562 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:08 -0400 (0:00:00.097) 0:01:10.660 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:08 -0400 (0:00:00.108) 0:01:10.769 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:09 -0400 (0:00:00.679) 0:01:11.449 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:09 -0400 (0:00:00.056) 0:01:11.505 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:09 -0400 (0:00:00.044) 0:01:11.550 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:09 -0400 (0:00:00.045) 0:01:11.595 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:09 -0400 (0:00:00.042) 0:01:11.638 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:05:09 -0400 (0:00:00.361) 0:01:12.000 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 07:05:09 -0400 (0:00:00.167) 0:01:12.167 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:05:09 -0400 (0:00:00.088) 0:01:12.256 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723719894.7683828, "block_size": 4096, "blocks": 0, "ctime": 1723719894.7683828, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38018, "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": 1723719894.7683828, "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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 07:05:10 -0400 (0:00:00.426) 0:01:12.683 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 07:05:10 -0400 (0:00:00.075) 0:01:12.759 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:05:10 -0400 (0:00:00.201) 0:01:12.960 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:05:10 -0400 (0:00:00.070) 0:01:13.031 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.457) 0:01:13.488 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.071) 0:01:13.560 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017701", "end": "2024-08-15 07:05:11.460461", "rc": 1, "start": "2024-08-15 07:05:11.442760" } 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.405) 0:01:13.965 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.043) 0:01:14.009 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.043) 0:01:14.053 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.082) 0:01:14.136 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.044) 0:01:14.180 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.053) 0:01:14.233 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.067) 0:01:14.300 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.098) 0:01:14.399 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.077) 0:01:14.476 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.160) 0:01:14.637 ******* 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.065487", "end": "2024-08-15 07:05:12.621268", "rc": 1, "start": "2024-08-15 07:05:12.555781" } STDOUT: Connection 'statebr' (20919bc6-8ab9-4c69-8d02-04485ee39b49) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.585) 0:01:15.222 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.160) 0:01:15.383 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.094) 0:01:15.478 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.149) 0:01:15.628 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.122) 0:01:15.750 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.197) 0:01:15.948 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2024-08-15 07:05:13.889671", "rc": 0, "start": "2024-08-15 07:05:13.886526" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.459) 0:01:16.408 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:05:14 -0400 (0:00:00.070) 0:01:16.478 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:05:14 -0400 (0:00:00.069) 0:01:16.547 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:05:14 -0400 (0:00:00.171) 0:01:16.719 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:14 -0400 (0:00:00.101) 0:01:16.820 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:14 -0400 (0:00:00.087) 0:01:16.908 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:14 -0400 (0:00:00.068) 0:01:16.976 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:14 -0400 (0:00:00.071) 0:01:17.047 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:14 -0400 (0:00:00.069) 0:01:17.117 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:16 -0400 (0:00:01.575) 0:01:18.692 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:17 -0400 (0:00:01.406) 0:01:20.098 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:17 -0400 (0:00:00.062) 0:01:20.161 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:17 -0400 (0:00:00.048) 0:01:20.209 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:17 -0400 (0:00:00.054) 0:01:20.264 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:17 -0400 (0:00:00.057) 0:01:20.322 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:17 -0400 (0:00:00.066) 0:01:20.388 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.073) 0:01:20.462 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.049) 0:01:20.511 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.085) 0:01:20.597 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.042) 0:01:20.639 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.042) 0:01:20.681 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.064) 0:01:20.746 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.528) 0:01:21.274 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.050) 0:01:21.324 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.041) 0:01:21.366 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:18 -0400 (0:00:00.043) 0:01:21.410 ******* 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, 0b82b847-23ad-4b2a-a66d-f85b05289b44 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:19 -0400 (0:00:00.682) 0:01:22.093 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:19 -0400 (0:00:00.068) 0:01:22.162 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b82b847-23ad-4b2a-a66d-f85b05289b44" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:19 -0400 (0:00:00.069) 0:01:22.231 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b82b847-23ad-4b2a-a66d-f85b05289b44\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b82b847-23ad-4b2a-a66d-f85b05289b44" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:19 -0400 (0:00:00.123) 0:01:22.355 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.097) 0:01:22.452 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.574) 0:01:23.027 ******* 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, 0b82b847-23ad-4b2a-a66d-f85b05289b44\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b82b847-23ad-4b2a-a66d-f85b05289b44" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.044) 0:01:23.072 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.070) 0:01:23.142 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.125) 0:01:23.267 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.061) 0:01:23.329 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.053) 0:01:23.383 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:21 -0400 (0:00:00.052) 0:01:23.435 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:22 -0400 (0:00:01.570) 0:01:25.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 : Print network provider] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:24 -0400 (0:00:01.511) 0:01:26.517 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.071) 0:01:26.589 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.070) 0:01:26.659 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.066) 0:01:26.726 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.068) 0:01:26.794 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.083) 0:01:26.878 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.081) 0:01:26.959 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.099) 0:01:27.059 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.156) 0:01:27.216 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.073) 0:01:27.289 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.129) 0:01:27.419 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.127) 0:01:27.547 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.549) 0:01:28.096 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.050) 0:01:28.147 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.042) 0:01:28.189 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.041) 0:01:28.231 ******* 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, 0b82b847-23ad-4b2a-a66d-f85b05289b44 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:26 -0400 (0:00:00.558) 0:01:28.789 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:26 -0400 (0:00:00.069) 0:01:28.859 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0b82b847-23ad-4b2a-a66d-f85b05289b44 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:26 -0400 (0:00:00.078) 0:01:28.938 ******* 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, 0b82b847-23ad-4b2a-a66d-f85b05289b44 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0b82b847-23ad-4b2a-a66d-f85b05289b44 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:26 -0400 (0:00:00.102) 0:01:29.040 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:26 -0400 (0:00:00.112) 0:01:29.153 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 15 August 2024 07:05:27 -0400 (0:00:00.492) 0:01:29.646 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:27 -0400 (0:00:00.167) 0:01:29.813 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:27 -0400 (0:00:00.146) 0:01:29.959 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:27 -0400 (0:00:00.086) 0:01:30.046 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:27 -0400 (0:00:00.048) 0:01:30.095 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:27 -0400 (0:00:00.060) 0:01:30.155 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:29 -0400 (0:00:01.549) 0:01:31.705 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:30 -0400 (0:00:01.427) 0:01:33.133 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.042) 0:01:33.176 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.042) 0:01:33.218 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.040) 0:01:33.258 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.053) 0:01:33.312 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.053) 0:01:33.366 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.041) 0:01:33.407 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.052) 0:01:33.459 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.086) 0:01:33.546 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.041) 0:01:33.587 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.041) 0:01:33.629 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.049) 0:01:33.679 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.535) 0:01:34.214 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.051) 0:01:34.265 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.042) 0:01:34.308 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.057) 0:01:34.365 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:32 -0400 (0:00:00.551) 0:01:34.917 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:32 -0400 (0:00:00.041) 0:01:34.959 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:32 -0400 (0:00:00.044) 0:01:35.004 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:32 -0400 (0:00:00.044) 0:01:35.049 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:32 -0400 (0:00:00.041) 0:01:35.090 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.387) 0:01:35.478 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.129) 0:01:35.608 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.187) 0:01:35.795 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.138) 0:01:35.934 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.085) 0:01:36.020 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.068) 0:01:36.088 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.069) 0:01:36.157 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:35 -0400 (0:00:01.541) 0:01:37.698 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:36 -0400 (0:00:01.384) 0:01:39.083 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:36 -0400 (0:00:00.069) 0:01:39.153 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:36 -0400 (0:00:00.064) 0:01:39.218 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:36 -0400 (0:00:00.054) 0:01:39.272 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:36 -0400 (0:00:00.050) 0:01:39.323 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:36 -0400 (0:00:00.059) 0:01:39.383 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:36 -0400 (0:00:00.040) 0:01:39.423 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.049) 0:01:39.472 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.112) 0:01:39.585 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.067) 0:01:39.653 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.074) 0:01:39.728 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.074) 0:01:39.802 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.630) 0:01:40.433 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:38 -0400 (0:00:00.067) 0:01:40.501 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:38 -0400 (0:00:00.081) 0:01:40.582 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:38 -0400 (0:00:00.071) 0:01:40.654 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:38 -0400 (0:00:00.726) 0:01:41.380 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:39 -0400 (0:00:00.155) 0:01:41.536 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:39 -0400 (0:00:00.091) 0:01:41.627 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:39 -0400 (0:00:00.106) 0:01:41.734 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:39 -0400 (0:00:00.074) 0:01:41.808 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:05:39 -0400 (0:00:00.403) 0:01:42.211 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 07:05:39 -0400 (0:00:00.220) 0:01:42.432 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:05:40 -0400 (0:00:00.177) 0:01:42.610 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:05:40 -0400 (0:00:00.075) 0:01:42.685 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:05:40 -0400 (0:00:00.468) 0:01:43.154 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:05:40 -0400 (0:00:00.043) 0:01:43.197 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015920", "end": "2024-08-15 07:05:41.072608", "rc": 1, "start": "2024-08-15 07:05:41.056688" } 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:05:41 -0400 (0:00:00.443) 0:01:43.640 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:05:41 -0400 (0:00:00.102) 0:01:43.743 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:05:41 -0400 (0:00:00.123) 0:01:43.867 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:05:41 -0400 (0:00:00.081) 0:01:43.948 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:05:41 -0400 (0:00:00.114) 0:01:44.062 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 07:05:41 -0400 (0:00:00.166) 0:01:44.229 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:05:41 -0400 (0:00:00.118) 0:01:44.347 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:05:42 -0400 (0:00:00.159) 0:01:44.507 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:05:42 -0400 (0:00:00.132) 0:01:44.640 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:05:42 -0400 (0:00:00.695) 0:01:45.335 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:05:42 -0400 (0:00:00.079) 0:01:45.415 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:05:43 -0400 (0:00:00.066) 0:01:45.481 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:05:43 -0400 (0:00:00.116) 0:01:45.598 ******* 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.032520", "end": "2024-08-15 07:05:43.500473", "rc": 1, "start": "2024-08-15 07:05:43.467953" } 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 15 August 2024 07:05:43 -0400 (0:00:00.416) 0:01:46.014 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:05:43 -0400 (0:00:00.114) 0:01:46.129 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:05:43 -0400 (0:00:00.071) 0:01:46.201 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:05:43 -0400 (0:00:00.127) 0:01:46.328 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:05:44 -0400 (0:00:00.134) 0:01:46.462 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:05:44 -0400 (0:00:00.111) 0:01:46.574 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002780", "end": "2024-08-15 07:05:44.482304", "rc": 0, "start": "2024-08-15 07:05:44.479524" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:05:44 -0400 (0:00:00.541) 0:01:47.115 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:05:44 -0400 (0:00:00.075) 0:01:47.190 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:05:44 -0400 (0:00:00.091) 0:01:47.281 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:05:44 -0400 (0:00:00.133) 0:01:47.414 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:45 -0400 (0:00:00.093) 0:01:47.508 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:45 -0400 (0:00:00.085) 0:01:47.593 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:45 -0400 (0:00:00.073) 0:01:47.666 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:45 -0400 (0:00:00.081) 0:01:47.748 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:45 -0400 (0:00:00.135) 0:01:47.883 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:47 -0400 (0:00:01.759) 0:01:49.643 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:48 -0400 (0:00:01.412) 0:01:51.056 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:48 -0400 (0:00:00.065) 0:01:51.121 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:48 -0400 (0:00:00.092) 0:01:51.214 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:48 -0400 (0:00:00.083) 0:01:51.297 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:48 -0400 (0:00:00.069) 0:01:51.366 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:49 -0400 (0:00:00.082) 0:01:51.449 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:49 -0400 (0:00:00.049) 0:01:51.498 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:49 -0400 (0:00:00.083) 0:01:51.582 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:49 -0400 (0:00:00.081) 0:01:51.664 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:49 -0400 (0:00:00.040) 0:01:51.704 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:49 -0400 (0:00:00.039) 0:01:51.744 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:49 -0400 (0:00:00.045) 0:01:51.789 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:49 -0400 (0:00:00.564) 0:01:52.354 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:50 -0400 (0:00:00.092) 0:01:52.446 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:50 -0400 (0:00:00.071) 0:01:52.518 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:50 -0400 (0:00:00.076) 0:01:52.595 ******* 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, d4b941cf-a75c-4961-860d-f86a155db069 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:50 -0400 (0:00:00.708) 0:01:53.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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:50 -0400 (0:00:00.081) 0:01:53.385 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4b941cf-a75c-4961-860d-f86a155db069" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.077) 0:01:53.463 ******* 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, d4b941cf-a75c-4961-860d-f86a155db069\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4b941cf-a75c-4961-860d-f86a155db069" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.050) 0:01:53.514 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.047) 0:01:53.561 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.386) 0:01:53.947 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4b941cf-a75c-4961-860d-f86a155db069\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4b941cf-a75c-4961-860d-f86a155db069" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.046) 0:01:53.994 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.072) 0:01:54.067 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.117) 0:01:54.185 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.096) 0:01:54.282 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.047) 0:01:54.330 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:51 -0400 (0:00:00.052) 0:01:54.382 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:53 -0400 (0:00:01.556) 0:01:55.938 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:54 -0400 (0:00:01.445) 0:01:57.384 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.054) 0:01:57.439 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.043) 0:01:57.483 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.042) 0:01:57.525 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.043) 0:01:57.569 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.065) 0:01:57.634 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.075) 0:01:57.710 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.082) 0:01:57.792 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.181) 0:01:57.974 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.047) 0:01:58.021 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.052) 0:01:58.074 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:55 -0400 (0:00:00.061) 0:01:58.136 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:56 -0400 (0:00:00.546) 0:01:58.682 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:56 -0400 (0:00:00.059) 0:01:58.742 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:56 -0400 (0:00:00.041) 0:01:58.783 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:56 -0400 (0:00:00.041) 0:01:58.825 ******* 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, d4b941cf-a75c-4961-860d-f86a155db069 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:56 -0400 (0:00:00.529) 0:01:59.355 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:56 -0400 (0:00:00.042) 0:01:59.397 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d4b941cf-a75c-4961-860d-f86a155db069 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.057) 0:01:59.455 ******* 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, d4b941cf-a75c-4961-860d-f86a155db069 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d4b941cf-a75c-4961-860d-f86a155db069 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.044) 0:01:59.500 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.042) 0:01:59.542 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.365) 0:01:59.907 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.071) 0:01:59.979 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.083) 0:02:00.062 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.053) 0:02:00.116 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.041) 0:02:00.157 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:57 -0400 (0:00:00.043) 0:02:00.201 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:59 -0400 (0:00:01.465) 0:02:01.666 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:06:00 -0400 (0:00:01.448) 0:02:03.114 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:06:00 -0400 (0:00:00.054) 0:02:03.168 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:06:00 -0400 (0:00:00.056) 0:02:03.225 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:06:00 -0400 (0:00:00.047) 0:02:03.272 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:06:00 -0400 (0:00:00.043) 0:02:03.316 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:06:00 -0400 (0:00:00.051) 0:02:03.368 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:06:00 -0400 (0:00:00.042) 0:02:03.411 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:06:01 -0400 (0:00:00.055) 0:02:03.466 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:06:01 -0400 (0:00:00.152) 0:02:03.618 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:06:01 -0400 (0:00:00.071) 0:02:03.690 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:06:01 -0400 (0:00:00.123) 0:02:03.814 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:06:01 -0400 (0:00:00.064) 0:02:03.878 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:06:02 -0400 (0:00:00.603) 0:02:04.482 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:06:02 -0400 (0:00:00.076) 0:02:04.559 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:06:02 -0400 (0:00:00.090) 0:02:04.649 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:06:02 -0400 (0:00:00.053) 0:02:04.703 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:06:02 -0400 (0:00:00.613) 0:02:05.316 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:06:02 -0400 (0:00:00.042) 0:02:05.359 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:06:02 -0400 (0:00:00.046) 0:02:05.405 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.044) 0:02:05.449 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.043) 0:02:05.492 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.357) 0:02:05.849 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.115) 0:02:05.964 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.071) 0:02:06.036 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.119) 0:02:06.156 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.065) 0:02:06.221 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.083) 0:02:06.305 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:06:03 -0400 (0:00:00.076) 0:02:06.381 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:06:05 -0400 (0:00:01.581) 0:02:07.963 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:06:07 -0400 (0:00:01.511) 0:02:09.474 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.052) 0:02:09.527 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.051) 0:02:09.578 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.044) 0:02:09.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.043) 0:02:09.666 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.051) 0:02:09.718 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.048) 0:02:09.767 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.089) 0:02:09.856 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.157) 0:02:10.014 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.083) 0:02:10.098 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.113) 0:02:10.211 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:06:07 -0400 (0:00:00.078) 0:02:10.290 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:06:08 -0400 (0:00:00.605) 0:02:10.895 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:06:08 -0400 (0:00:00.062) 0:02:10.958 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:06:08 -0400 (0:00:00.075) 0:02:11.034 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:06:08 -0400 (0:00:00.084) 0:02:11.118 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:06:09 -0400 (0:00:00.724) 0:02:11.842 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:06:09 -0400 (0:00:00.078) 0:02:11.921 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:06:09 -0400 (0:00:00.081) 0:02:12.002 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:06:09 -0400 (0:00:00.073) 0:02:12.075 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:06:09 -0400 (0:00:00.079) 0:02:12.154 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:06:10 -0400 (0:00:00.595) 0:02:12.750 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 07:06:10 -0400 (0:00:00.196) 0:02:12.946 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:06:10 -0400 (0:00:00.171) 0:02:13.118 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:06:10 -0400 (0:00:00.087) 0:02:13.206 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:06:11 -0400 (0:00:00.675) 0:02:13.881 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:06:11 -0400 (0:00:00.042) 0:02:13.924 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016820", "end": "2024-08-15 07:06:11.853754", "rc": 1, "start": "2024-08-15 07:06:11.836934" } 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:06:11 -0400 (0:00:00.445) 0:02:14.370 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:06:12 -0400 (0:00:00.064) 0:02:14.434 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:06:12 -0400 (0:00:00.067) 0:02:14.501 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:06:12 -0400 (0:00:00.115) 0:02:14.617 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:06:12 -0400 (0:00:00.097) 0:02:14.714 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 07:06:12 -0400 (0:00:00.068) 0:02:14.782 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 15 August 2024 07:06:12 -0400 (0:00:00.056) 0:02:14.839 ******* [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.825142", "end": "2024-08-15 07:06:13.533796", "rc": 0, "start": "2024-08-15 07:06:12.708654" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 15 August 2024 07:06:13 -0400 (0:00:01.223) 0:02:16.062 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 15 August 2024 07:06:13 -0400 (0:00:00.075) 0:02:16.138 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:06:13 -0400 (0:00:00.062) 0:02:16.200 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:06:13 -0400 (0:00:00.106) 0:02:16.307 ******* included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:06:13 -0400 (0:00:00.068) 0:02:16.375 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:06:14 -0400 (0:00:00.422) 0:02:16.798 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:06:14 -0400 (0:00:00.104) 0:02:16.902 ******* 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:06:14 -0400 (0:00:00.098) 0:02:17.001 ******* included: /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:06:14 -0400 (0:00:00.136) 0:02:17.137 ******* 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.033183", "end": "2024-08-15 07:06:15.036625", "rc": 1, "start": "2024-08-15 07:06:15.003442" } 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 15 August 2024 07:06:15 -0400 (0:00:00.455) 0:02:17.592 ******* 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.008100", "end": "2024-08-15 07:06:15.465535", "rc": 0, "start": "2024-08-15 07:06:15.457435" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:d8:b5:cf:7d brd ff:ff:ff:ff:ff:ff inet 10.31.13.119/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2115sec preferred_lft 2115sec inet6 fe80::8ff:d8ff:feb5:cf7d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.119 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.119 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-3EE/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 15 August 2024 07:06:15 -0400 (0:00:00.390) 0:02:17.982 ******* 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.146760", "end": "2024-08-15 07:06:16.017125", "rc": 0, "start": "2024-08-15 07:06:15.870365" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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 100 305 100 305 0 0 11296 0 --:--:-- --:--:-- --:--:-- 11296 % 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 291 100 291 0 0 3129 0 --:--:-- --:--:-- --:--:-- 3095 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Thursday 15 August 2024 07:06:16 -0400 (0:00:00.527) 0:02:18.510 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.99s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-3EE/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-3EE/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-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/collections-3EE/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26