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-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 31 August 2024 08:48:36 -0400 (0:00:00.018) 0:00:00.019 ******* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.979) 0:00:00.998 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 31 August 2024 08:48:37 -0400 (0:00:00.063) 0:00:01.061 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 31 August 2024 08:48:38 -0400 (0:00:00.494) 0:00:01.556 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.576) 0:00:02.132 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.050) 0:00:02.183 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.072) 0:00:02.256 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.158) 0:00:02.414 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.529) 0:00:02.944 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.017) 0:00:02.962 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 31 August 2024 08:48:39 -0400 (0:00:00.018) 0:00:02.981 ******* [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.209684", "end": "2024-08-31 08:48:40.370136", "rc": 0, "start": "2024-08-31 08:48:40.160452" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.554) 0:00:03.535 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.018) 0:00:03.553 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 31 August 2024 08:48:40 -0400 (0:00:00.029) 0:00:03.583 ******* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.635) 0:00:04.219 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.025) 0:00:04.245 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.035) 0:00:04.280 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.026) 0:00:04.307 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.083) 0:00:04.391 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.038) 0:00:04.429 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.050) 0:00:04.480 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002344", "end": "2024-08-31 08:48:41.654270", "rc": 0, "start": "2024-08-31 08:48:41.651926" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.339) 0:00:04.819 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.022) 0:00:04.842 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.021) 0:00:04.863 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:48:41 -0400 (0:00:00.044) 0:00:04.908 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006518", "end": "2024-08-31 08:48:42.082275", "rc": 1, "start": "2024-08-31 08:48:42.075757" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.336) 0:00:05.245 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.032) 0:00:05.278 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.511) 0:00:05.789 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.031) 0:00:05.821 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.030) 0:00:05.851 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.096) 0:00:05.947 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.040) 0:00:05.988 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.028) 0:00:06.016 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.028) 0:00:06.045 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:48:42 -0400 (0:00:00.034) 0:00:06.080 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:48:44 -0400 (0:00:01.592) 0:00:07.672 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:48:46 -0400 (0:00:01.974) 0:00:09.647 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.059) 0:00:09.706 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.056) 0:00:09.763 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.122) 0:00:09.885 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.113) 0:00:09.999 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:48:46 -0400 (0:00:00.080) 0:00:10.079 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:48:47 -0400 (0:00:00.052) 0:00:10.132 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:48:47 -0400 (0:00:00.051) 0:00:10.183 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:48:47 -0400 (0:00:00.098) 0:00:10.281 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:48:47 -0400 (0:00:00.040) 0:00:10.321 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:48:47 -0400 (0:00:00.035) 0:00:10.357 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:48:47 -0400 (0:00:00.042) 0:00:10.399 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:48:48 -0400 (0:00:00.735) 0:00:11.134 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:48:48 -0400 (0:00:00.091) 0:00:11.226 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:48:48 -0400 (0:00:00.037) 0:00:11.263 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:48:48 -0400 (0:00:00.046) 0:00:11.309 ******* 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, 5a813cfa-13be-402a-859a-46ac2be91045 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.847) 0:00:12.157 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.054) 0:00:12.212 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a813cfa-13be-402a-859a-46ac2be91045" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.059) 0:00:12.271 ******* 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, 5a813cfa-13be-402a-859a-46ac2be91045\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a813cfa-13be-402a-859a-46ac2be91045" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.047) 0:00:12.318 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.046) 0:00:12.365 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.483) 0:00:12.848 ******* 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, 5a813cfa-13be-402a-859a-46ac2be91045\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a813cfa-13be-402a-859a-46ac2be91045" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.037) 0:00:12.886 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.085) 0:00:12.971 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:48:49 -0400 (0:00:00.143) 0:00:13.115 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.062) 0:00:13.177 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108528.9578538, "block_size": 4096, "blocks": 8, "ctime": 1725108528.9128535, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108528.9128535, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.450) 0:00:13.627 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:48:50 -0400 (0:00:00.074) 0:00:13.702 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017088", "end": "2024-08-31 08:48:50.919699", "rc": 0, "start": "2024-08-31 08:48:50.902611" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.482) 0:00:14.184 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.065) 0:00:14.250 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.068) 0:00:14.319 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.048) 0:00:14.367 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.046) 0:00:14.414 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.065) 0:00:14.479 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.053) 0:00:14.533 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.046) 0:00:14.579 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.044) 0:00:14.624 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.099) 0:00:14.724 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:48:51 -0400 (0:00:00.109) 0:00:14.833 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108528.9142992, "block_size": 4096, "blocks": 0, "ctime": 1725108528.9142992, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36389, "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": 1725108528.9142992, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.361) 0:00:15.195 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.045) 0:00:15.240 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.044) 0:00:15.285 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.077) 0:00:15.363 ******* 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.056585", "end": "2024-08-31 08:48:52.576563", "rc": 1, "start": "2024-08-31 08:48:52.519978" } STDOUT: Connection 'statebr' (5a813cfa-13be-402a-859a-46ac2be91045) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.418) 0:00:15.782 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.071) 0:00:15.853 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.043) 0:00:15.897 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.090) 0:00:15.988 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:48:52 -0400 (0:00:00.078) 0:00:16.066 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.132) 0:00:16.199 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002516", "end": "2024-08-31 08:48:53.530572", "rc": 0, "start": "2024-08-31 08:48:53.528056" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.540) 0:00:16.739 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.064) 0:00:16.804 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.056) 0:00:16.860 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:48:53 -0400 (0:00:00.081) 0:00:16.942 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005379", "end": "2024-08-31 08:48:54.102894", "rc": 1, "start": "2024-08-31 08:48:54.097515" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:48:54 -0400 (0:00:00.341) 0:00:17.283 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:48:54 -0400 (0:00:00.070) 0:00:17.354 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:48:54 -0400 (0:00:00.345) 0:00:17.700 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:48:54 -0400 (0:00:00.052) 0:00:17.753 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 31 August 2024 08:48:54 -0400 (0:00:00.151) 0:00:17.905 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:48:54 -0400 (0:00:00.122) 0:00:18.027 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:48:55 -0400 (0:00:00.110) 0:00:18.137 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:48:55 -0400 (0:00:00.074) 0:00:18.212 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:48:55 -0400 (0:00:00.067) 0:00:18.279 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:48:55 -0400 (0:00:00.067) 0:00:18.347 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:48:56 -0400 (0:00:01.643) 0:00:19.990 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:48:58 -0400 (0:00:01.649) 0:00:21.640 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.067) 0:00:21.707 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.086) 0:00:21.793 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.066) 0:00:21.860 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.057) 0:00:21.917 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.075) 0:00:21.993 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.057) 0:00:22.051 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:48:58 -0400 (0:00:00.052) 0:00:22.104 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.084) 0:00:22.188 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.038) 0:00:22.226 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.035) 0:00:22.261 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.039) 0:00:22.301 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:48:59 -0400 (0:00:00.777) 0:00:23.079 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.050) 0:00:23.129 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.040) 0:00:23.169 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.043) 0:00:23.213 ******* 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, 37ee98df-152b-4597-b4e0-f7eb9842bedf TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.572) 0:00:23.785 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.054) 0:00:23.840 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37ee98df-152b-4597-b4e0-f7eb9842bedf" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.058) 0:00:23.898 ******* 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, 37ee98df-152b-4597-b4e0-f7eb9842bedf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37ee98df-152b-4597-b4e0-f7eb9842bedf" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.060) 0:00:23.958 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:00 -0400 (0:00:00.056) 0:00:24.015 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.348) 0:00:24.364 ******* 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, 37ee98df-152b-4597-b4e0-f7eb9842bedf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37ee98df-152b-4597-b4e0-f7eb9842bedf" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.043) 0:00:24.407 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.109) 0:00:24.516 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.159) 0:00:24.676 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:49:01 -0400 (0:00:00.420) 0:00:25.096 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.047) 0:00:25.144 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.081) 0:00:25.225 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.042) 0:00:25.268 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108540.574955, "block_size": 4096, "blocks": 8, "ctime": 1725108540.574955, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108540.574955, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.353) 0:00:25.622 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.047) 0:00:25.669 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016939", "end": "2024-08-31 08:49:02.853630", "rc": 0, "start": "2024-08-31 08:49:02.836691" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:02 -0400 (0:00:00.391) 0:00:26.061 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.137) 0:00:26.199 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.119) 0:00:26.318 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.084) 0:00:26.403 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.211) 0:00:26.615 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.069) 0:00:26.684 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.071) 0:00:26.755 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.104) 0:00:26.860 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.065) 0:00:26.925 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.059) 0:00:26.985 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:03 -0400 (0:00:00.060) 0:00:27.046 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.114) 0:00:27.160 ******* 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.034045", "end": "2024-08-31 08:49:04.466473", "rc": 1, "start": "2024-08-31 08:49:04.432428" } STDOUT: Connection 'statebr' (37ee98df-152b-4597-b4e0-f7eb9842bedf) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.513) 0:00:27.674 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.078) 0:00:27.752 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.047) 0:00:27.800 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.128) 0:00:27.929 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.077) 0:00:28.006 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:04 -0400 (0:00:00.104) 0:00:28.111 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002382", "end": "2024-08-31 08:49:05.345797", "rc": 0, "start": "2024-08-31 08:49:05.343415" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.462) 0:00:28.573 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.080) 0:00:28.654 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.066) 0:00:28.720 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.104) 0:00:28.825 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.075) 0:00:28.900 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.116) 0:00:29.016 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:05 -0400 (0:00:00.066) 0:00:29.083 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:06 -0400 (0:00:00.051) 0:00:29.134 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:06 -0400 (0:00:00.053) 0:00:29.188 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:07 -0400 (0:00:01.496) 0:00:30.685 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:09 -0400 (0:00:01.480) 0:00:32.165 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.068) 0:00:32.234 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.078) 0:00:32.312 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.063) 0:00:32.376 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.055) 0:00:32.431 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.142) 0:00:32.574 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.057) 0:00:32.631 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.064) 0:00:32.696 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.095) 0:00:32.791 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.043) 0:00:32.835 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.044) 0:00:32.879 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:09 -0400 (0:00:00.053) 0:00:32.933 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:10 -0400 (0:00:00.498) 0:00:33.431 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:10 -0400 (0:00:00.043) 0:00:33.475 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:10 -0400 (0:00:00.034) 0:00:33.509 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:10 -0400 (0:00:00.035) 0:00:33.545 ******* 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, 2f232a59-0347-48d0-8063-a5129185548e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.653) 0:00:34.199 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.112) 0:00:34.312 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f232a59-0347-48d0-8063-a5129185548e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.206) 0:00:34.518 ******* 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, 2f232a59-0347-48d0-8063-a5129185548e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f232a59-0347-48d0-8063-a5129185548e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.106) 0:00:34.625 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.077) 0:00:34.702 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:49:11 -0400 (0:00:00.396) 0:00:35.099 ******* 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, 2f232a59-0347-48d0-8063-a5129185548e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f232a59-0347-48d0-8063-a5129185548e" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.064) 0:00:35.164 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.105) 0:00:35.270 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.158) 0:00:35.428 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.210) 0:00:35.638 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.070) 0:00:35.709 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.062) 0:00:35.772 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:12 -0400 (0:00:00.050) 0:00:35.822 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:14 -0400 (0:00:01.534) 0:00:37.356 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:15 -0400 (0:00:01.497) 0:00:38.854 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.055) 0:00:38.910 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.060) 0:00:38.971 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.059) 0:00:39.030 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:15 -0400 (0:00:00.057) 0:00:39.088 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.124) 0:00:39.212 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.060) 0:00:39.273 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.120) 0:00:39.393 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.124) 0:00:39.517 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.059) 0:00:39.577 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.073) 0:00:39.650 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:16 -0400 (0:00:00.081) 0:00:39.731 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:17 -0400 (0:00:00.549) 0:00:40.281 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:17 -0400 (0:00:00.058) 0:00:40.340 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:17 -0400 (0:00:00.045) 0:00:40.386 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:17 -0400 (0:00:00.045) 0:00:40.431 ******* 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, 2f232a59-0347-48d0-8063-a5129185548e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:17 -0400 (0:00:00.524) 0:00:40.955 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:17 -0400 (0:00:00.062) 0:00:41.018 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2f232a59-0347-48d0-8063-a5129185548e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.103) 0:00:41.121 ******* 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, 2f232a59-0347-48d0-8063-a5129185548e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2f232a59-0347-48d0-8063-a5129185548e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.056) 0:00:41.178 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.058) 0:00:41.236 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.495) 0:00:41.731 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.190) 0:00:41.922 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:18 -0400 (0:00:00.097) 0:00:42.020 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108550.9355931, "block_size": 4096, "blocks": 0, "ctime": 1725108550.9355931, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36520, "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": 1725108550.9355931, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.439) 0:00:42.459 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.095) 0:00:42.555 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.128) 0:00:42.683 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:19 -0400 (0:00:00.056) 0:00:42.740 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108550.9730453, "block_size": 4096, "blocks": 8, "ctime": 1725108550.933045, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108550.933045, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.458) 0:00:43.198 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.075) 0:00:43.274 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016829", "end": "2024-08-31 08:49:20.466149", "rc": 0, "start": "2024-08-31 08:49:20.449320" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.387) 0:00:43.661 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.052) 0:00:43.713 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.048) 0:00:43.762 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.044) 0:00:43.806 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.038) 0:00:43.845 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.038) 0:00:43.883 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.040) 0:00:43.924 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.047) 0:00:43.971 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.058) 0:00:44.030 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:20 -0400 (0:00:00.060) 0:00:44.090 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.062) 0:00:44.153 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.100) 0:00:44.253 ******* 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.064624", "end": "2024-08-31 08:49:21.499422", "rc": 1, "start": "2024-08-31 08:49:21.434798" } STDOUT: Connection 'statebr' (2f232a59-0347-48d0-8063-a5129185548e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.482) 0:00:44.735 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.123) 0:00:44.859 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.049) 0:00:44.908 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.077) 0:00:44.985 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.057) 0:00:45.043 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:21 -0400 (0:00:00.054) 0:00:45.097 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002384", "end": "2024-08-31 08:49:22.285742", "rc": 0, "start": "2024-08-31 08:49:22.283358" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.385) 0:00:45.483 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.045) 0:00:45.528 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.038) 0:00:45.566 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.065) 0:00:45.632 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.063) 0:00:45.695 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.145) 0:00:45.841 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.102) 0:00:45.944 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.068) 0:00:46.012 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:22 -0400 (0:00:00.060) 0:00:46.073 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:24 -0400 (0:00:01.552) 0:00:47.625 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:26 -0400 (0:00:01.609) 0:00:49.235 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.055) 0:00:49.291 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.051) 0:00:49.342 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.043) 0:00:49.386 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.038) 0:00:49.425 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.048) 0:00:49.474 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.047) 0:00:49.521 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.081) 0:00:49.602 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.108) 0:00:49.710 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.065) 0:00:49.776 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.078) 0:00:49.855 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:26 -0400 (0:00:00.066) 0:00:49.921 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.589) 0:00:50.511 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.062) 0:00:50.574 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.077) 0:00:50.651 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:27 -0400 (0:00:00.111) 0:00:50.763 ******* 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, 714e8c0b-7473-4896-9678-3b33cbda2951 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.639) 0:00:51.402 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.057) 0:00:51.460 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 714e8c0b-7473-4896-9678-3b33cbda2951" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.047) 0:00:51.507 ******* 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, 714e8c0b-7473-4896-9678-3b33cbda2951\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 714e8c0b-7473-4896-9678-3b33cbda2951" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.045) 0:00:51.552 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.045) 0:00:51.598 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.399) 0:00:51.997 ******* 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, 714e8c0b-7473-4896-9678-3b33cbda2951\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 714e8c0b-7473-4896-9678-3b33cbda2951" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:49:28 -0400 (0:00:00.067) 0:00:52.065 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.100) 0:00:52.166 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.112) 0:00:52.278 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.075) 0:00:52.354 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.061) 0:00:52.416 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:29 -0400 (0:00:00.111) 0:00:52.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 : Check which packages are installed] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:30 -0400 (0:00:01.512) 0:00:54.040 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:32 -0400 (0:00:01.390) 0:00:55.431 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.036) 0:00:55.467 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.035) 0:00:55.503 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.066) 0:00:55.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.035) 0:00:55.604 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.043) 0:00:55.648 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.034) 0:00:55.682 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.040) 0:00:55.723 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.072) 0:00:55.795 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.042) 0:00:55.838 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.043) 0:00:55.881 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:32 -0400 (0:00:00.058) 0:00:55.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.613) 0:00:56.553 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.069) 0:00:56.622 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.058) 0:00:56.680 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.058) 0:00:56.738 ******* 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, 714e8c0b-7473-4896-9678-3b33cbda2951 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.567) 0:00:57.306 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.070) 0:00:57.377 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 714e8c0b-7473-4896-9678-3b33cbda2951 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.037) 0:00:57.415 ******* 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, 714e8c0b-7473-4896-9678-3b33cbda2951 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 714e8c0b-7473-4896-9678-3b33cbda2951 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.039) 0:00:57.454 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.035) 0:00:57.489 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.396) 0:00:57.886 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.122) 0:00:58.008 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.174) 0:00:58.183 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.131) 0:00:58.314 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.069) 0:00:58.384 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.054) 0:00:58.439 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.046) 0:00:58.485 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:36 -0400 (0:00:01.450) 0:00:59.935 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:38 -0400 (0:00:01.358) 0:01:01.294 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.037) 0:01:01.331 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.047) 0:01:01.378 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.036) 0:01:01.414 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.066) 0:01:01.481 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.043) 0:01:01.524 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.035) 0:01:01.560 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.042) 0:01:01.602 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.070) 0:01:01.673 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.036) 0:01:01.710 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.035) 0:01:01.746 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.040) 0:01:01.786 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.500) 0:01:02.287 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.043) 0:01:02.331 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.046) 0:01:02.377 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.041) 0:01:02.418 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.611) 0:01:03.030 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.116) 0:01:03.146 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.063) 0:01:03.210 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.064) 0:01:03.274 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.042) 0:01:03.317 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.343) 0:01:03.660 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.084) 0:01:03.745 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.080) 0:01:03.825 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108568.1466577, "block_size": 4096, "blocks": 0, "ctime": 1725108568.1466577, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36651, "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": 1725108568.1466577, "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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.421) 0:01:04.247 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.145) 0:01:04.392 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.122) 0:01:04.515 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.068) 0:01:04.584 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.424) 0:01:05.008 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.035) 0:01:05.044 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016997", "end": "2024-08-31 08:49:42.228979", "rc": 1, "start": "2024-08-31 08:49:42.211982" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.450) 0:01:05.495 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.071) 0:01:05.567 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.063) 0:01:05.630 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.066) 0:01:05.696 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.055) 0:01:05.752 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.055) 0:01:05.807 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.078) 0:01:05.885 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.060) 0:01:05.946 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:42 -0400 (0:00:00.065) 0:01:06.012 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.120) 0:01:06.132 ******* 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.063637", "end": "2024-08-31 08:49:43.429093", "rc": 1, "start": "2024-08-31 08:49:43.365456" } STDOUT: Connection 'statebr' (714e8c0b-7473-4896-9678-3b33cbda2951) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.485) 0:01:06.618 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.129) 0:01:06.747 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.057) 0:01:06.805 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.104) 0:01:06.910 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.083) 0:01:06.994 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:43 -0400 (0:00:00.069) 0:01:07.063 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002522", "end": "2024-08-31 08:49:44.246649", "rc": 0, "start": "2024-08-31 08:49:44.244127" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.370) 0:01:07.433 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.057) 0:01:07.490 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.059) 0:01:07.550 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.116) 0:01:07.667 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.096) 0:01:07.763 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.163) 0:01:07.927 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.089) 0:01:08.017 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.049) 0:01:08.066 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:44 -0400 (0:00:00.051) 0:01:08.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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:46 -0400 (0:00:01.500) 0:01:09.618 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:48 -0400 (0:00:01.607) 0:01:11.225 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.062) 0:01:11.288 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.060) 0:01:11.348 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.064) 0:01:11.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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.073) 0:01:11.486 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.067) 0:01:11.553 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.042) 0:01:11.596 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.042) 0:01:11.638 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.071) 0:01:11.710 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.034) 0:01:11.744 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.039) 0:01:11.784 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.050) 0:01:11.835 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.556) 0:01:12.391 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.059) 0:01:12.450 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.067) 0:01:12.517 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.110) 0:01:12.627 ******* 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, 88413e8e-be5b-4a28-91f9-817d3368f15d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.910) 0:01:13.538 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.069) 0:01:13.608 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88413e8e-be5b-4a28-91f9-817d3368f15d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.062) 0:01:13.671 ******* 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, 88413e8e-be5b-4a28-91f9-817d3368f15d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88413e8e-be5b-4a28-91f9-817d3368f15d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.043) 0:01:13.714 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.038) 0:01:13.753 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.333) 0:01:14.086 ******* 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, 88413e8e-be5b-4a28-91f9-817d3368f15d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88413e8e-be5b-4a28-91f9-817d3368f15d" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.038) 0:01:14.125 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.058) 0:01:14.183 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.068) 0:01:14.252 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.049) 0:01:14.302 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.057) 0:01:14.359 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.090) 0:01:14.449 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:52 -0400 (0:00:01.477) 0:01:15.926 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:54 -0400 (0:00:01.522) 0:01:17.449 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.052) 0:01:17.501 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.061) 0:01:17.562 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.100) 0:01:17.662 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.067) 0:01:17.729 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.060) 0:01:17.790 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.062) 0:01:17.852 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.070) 0:01:17.923 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.083) 0:01:18.007 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.044) 0:01:18.051 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.043) 0:01:18.094 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.042) 0:01:18.137 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.496) 0:01:18.633 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.047) 0:01:18.681 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.035) 0:01:18.717 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.049) 0:01:18.766 ******* 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, 88413e8e-be5b-4a28-91f9-817d3368f15d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.530) 0:01:19.297 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.068) 0:01:19.365 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 88413e8e-be5b-4a28-91f9-817d3368f15d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.044) 0:01:19.410 ******* 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, 88413e8e-be5b-4a28-91f9-817d3368f15d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 88413e8e-be5b-4a28-91f9-817d3368f15d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.047) 0:01:19.457 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.058) 0:01:19.516 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.351) 0:01:19.867 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.085) 0:01:19.953 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.109) 0:01:20.063 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.067) 0:01:20.131 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.057) 0:01:20.189 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.063) 0:01:20.252 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:58 -0400 (0:00:01.561) 0:01:21.814 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:00 -0400 (0:00:01.465) 0:01:23.280 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.057) 0:01:23.337 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.055) 0:01:23.393 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.061) 0:01:23.455 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.057) 0:01:23.512 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.075) 0:01:23.588 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.066) 0:01:23.654 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.214) 0:01:23.869 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.115) 0:01:23.985 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.038) 0:01:24.024 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.036) 0:01:24.061 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.041) 0:01:24.102 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.572) 0:01:24.675 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.047) 0:01:24.723 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.051) 0:01:24.774 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:01 -0400 (0:00:00.058) 0:01:24.832 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.658) 0:01:25.491 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.138) 0:01:25.629 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.088) 0:01:25.718 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.095) 0:01:25.813 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:02 -0400 (0:00:00.109) 0:01:25.922 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.595) 0:01:26.517 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.082) 0:01:26.600 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.080) 0:01:26.681 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.071) 0:01:26.752 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.045) 0:01:26.797 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.037) 0:01:26.835 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.036) 0:01:26.871 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:05 -0400 (0:00:01.559) 0:01:28.431 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:06 -0400 (0:00:01.416) 0:01:29.847 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:06 -0400 (0:00:00.036) 0:01:29.883 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:06 -0400 (0:00:00.035) 0:01:29.919 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:06 -0400 (0:00:00.035) 0:01:29.955 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:06 -0400 (0:00:00.034) 0:01:29.989 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:06 -0400 (0:00:00.045) 0:01:30.035 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:06 -0400 (0:00:00.035) 0:01:30.071 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.051) 0:01:30.122 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.135) 0:01:30.258 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.061) 0:01:30.320 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.045) 0:01:30.365 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.049) 0:01:30.415 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.507) 0:01:30.922 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.041) 0:01:30.964 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.033) 0:01:30.998 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.035) 0:01:31.034 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.572) 0:01:31.606 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.047) 0:01:31.654 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.048) 0:01:31.702 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.063) 0:01:31.766 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.056) 0:01:31.823 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.466) 0:01:32.289 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.103) 0:01:32.393 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.101) 0:01:32.494 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.055) 0:01:32.550 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.367) 0:01:32.918 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.036) 0:01:32.954 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016328", "end": "2024-08-31 08:50:10.151874", "rc": 1, "start": "2024-08-31 08:50:10.135546" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.380) 0:01:33.334 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.037) 0:01:33.372 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.037) 0:01:33.410 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.044) 0:01:33.455 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.056) 0:01:33.511 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.105) 0:01:33.617 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.051) 0:01:33.668 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.086) 0:01:33.755 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.065) 0:01:33.821 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.341) 0:01:34.162 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.042) 0:01:34.205 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.053) 0:01:34.258 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.105) 0:01:34.364 ******* 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.034510", "end": "2024-08-31 08:50:11.602550", "rc": 1, "start": "2024-08-31 08:50:11.568040" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.420) 0:01:34.785 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.075) 0:01:34.861 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.102) 0:01:34.963 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.112) 0:01:35.076 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.093) 0:01:35.169 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.109) 0:01:35.278 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002540", "end": "2024-08-31 08:50:12.553676", "rc": 0, "start": "2024-08-31 08:50:12.551136" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.457) 0:01:35.736 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.037) 0:01:35.774 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.037) 0:01:35.811 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.074) 0:01:35.885 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.061) 0:01:35.946 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.069) 0:01:36.015 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.078) 0:01:36.094 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:13 -0400 (0:00:00.037) 0:01:36.132 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:13 -0400 (0:00:00.036) 0:01:36.168 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:14 -0400 (0:00:01.472) 0:01:37.640 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:16 -0400 (0:00:01.549) 0:01:39.190 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.086) 0:01:39.276 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.060) 0:01:39.336 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.059) 0:01:39.396 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.082) 0:01:39.479 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.071) 0:01:39.551 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.049) 0:01:39.601 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.056) 0:01:39.657 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.076) 0:01:39.734 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.042) 0:01:39.777 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.056) 0:01:39.833 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.050) 0:01:39.884 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.530) 0:01:40.414 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.055) 0:01:40.469 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.052) 0:01:40.522 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:17 -0400 (0:00:00.075) 0:01:40.598 ******* 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, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.699) 0:01:41.297 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.045) 0:01:41.343 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.048) 0:01:41.392 ******* 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, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.047) 0:01:41.439 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.054) 0:01:41.493 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.449) 0:01:41.943 ******* 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, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:50:18 -0400 (0:00:00.078) 0:01:42.022 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.135) 0:01:42.157 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.112) 0:01:42.270 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.088) 0:01:42.359 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.044) 0:01:42.403 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.045) 0:01:42.448 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:20 -0400 (0:00:01.568) 0:01:44.017 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:22 -0400 (0:00:01.466) 0:01:45.484 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.057) 0:01:45.541 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.056) 0:01:45.598 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.106) 0:01:45.704 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.128) 0:01:45.832 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.070) 0:01:45.902 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.065) 0:01:45.968 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.062) 0:01:46.031 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.121) 0:01:46.153 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.048) 0:01:46.201 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.039) 0:01:46.240 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.049) 0:01:46.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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.528) 0:01:46.818 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.064) 0:01:46.882 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.046) 0:01:46.929 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.034) 0:01:46.964 ******* 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, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.518) 0:01:47.483 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.074) 0:01:47.557 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.050) 0:01:47.607 ******* 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, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4e24a22a-2cd0-4ab0-9bfd-b2b672ef45f2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.061) 0:01:47.669 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.057) 0:01:47.727 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.378) 0:01:48.105 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.140) 0:01:48.246 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.155) 0:01:48.401 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.083) 0:01:48.485 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.059) 0:01:48.544 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.057) 0:01:48.602 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:27 -0400 (0:00:01.518) 0:01:50.121 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:28 -0400 (0:00:01.429) 0:01:51.551 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.073) 0:01:51.624 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.040) 0:01:51.665 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.054) 0:01:51.719 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.062) 0:01:51.782 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.056) 0:01:51.838 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.059) 0:01:51.898 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.081) 0:01:51.979 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.135) 0:01:52.115 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.051) 0:01:52.166 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.058) 0:01:52.225 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.052) 0:01:52.277 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.535) 0:01:52.813 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.054) 0:01:52.867 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.058) 0:01:52.925 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.075) 0:01:53.000 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.683) 0:01:53.684 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.034) 0:01:53.719 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.036) 0:01:53.755 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.035) 0:01:53.790 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.037) 0:01:53.827 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.389) 0:01:54.217 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.103) 0:01:54.320 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.095) 0:01:54.416 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.112) 0:01:54.529 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.069) 0:01:54.598 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.056) 0:01:54.655 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.054) 0:01:54.709 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:33 -0400 (0:00:01.538) 0:01:56.248 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:34 -0400 (0:00:01.384) 0:01:57.633 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.037) 0:01:57.671 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.036) 0:01:57.708 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.040) 0:01:57.748 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.058) 0:01:57.807 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.054) 0:01:57.861 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.040) 0:01:57.902 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.052) 0:01:57.955 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.115) 0:01:58.070 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.045) 0:01:58.116 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.035) 0:01:58.152 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.041) 0:01:58.193 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.493) 0:01:58.686 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.044) 0:01:58.730 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.036) 0:01:58.767 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.036) 0:01:58.804 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.563) 0:01:59.367 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.041) 0:01:59.408 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.047) 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", "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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.055) 0:01:59.511 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.047) 0:01:59.559 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.399) 0:01:59.959 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.072) 0:02:00.032 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.061) 0:02:00.093 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.039) 0:02:00.133 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.337) 0:02:00.470 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.035) 0:02:00.506 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015905", "end": "2024-08-31 08:50:37.673943", "rc": 1, "start": "2024-08-31 08:50:37.658038" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.348) 0:02:00.854 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.037) 0:02:00.891 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.036) 0:02:00.928 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.035) 0:02:00.963 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.037) 0:02:01.000 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.073) 0:02:01.074 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.038) 0:02:01.113 ******* [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.835622", "end": "2024-08-31 08:50:39.105406", "rc": 0, "start": "2024-08-31 08:50:38.269784" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 31 August 2024 08:50:39 -0400 (0:00:01.176) 0:02:02.289 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.036) 0:02:02.326 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.035) 0:02:02.362 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.072) 0:02:02.434 ******* included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.060) 0:02:02.494 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.338) 0:02:02.832 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.040) 0:02:02.873 ******* 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.076) 0:02:02.950 ******* included: /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.101) 0:02:03.052 ******* 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.033018", "end": "2024-08-31 08:50:40.257622", "rc": 1, "start": "2024-08-31 08:50:40.224604" } 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 31 August 2024 08:50:40 -0400 (0:00:00.391) 0:02:03.443 ******* 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.007298", "end": "2024-08-31 08:50:40.614850", "rc": 0, "start": "2024-08-31 08:50:40.607552" } 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 12:c3:a6:40:3d:4f brd ff:ff:ff:ff:ff:ff inet 10.31.11.18/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2515sec preferred_lft 2515sec inet6 fe80::10c3:a6ff:fe40:3d4f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.18 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.18 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-0Lv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 31 August 2024 08:50:40 -0400 (0:00:00.361) 0:02:03.804 ******* 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.078084", "end": "2024-08-31 08:50:41.048531", "rc": 0, "start": "2024-08-31 08:50:40.970447" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10517 0 --:--:-- --:--:-- --:--:-- 10166 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 11192 0 --:--:-- --:--:-- --:--:-- 11192 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 31 August 2024 08:50:41 -0400 (0:00:00.407) 0:02:04.212 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.97s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-0Lv/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-0Lv/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-0Lv/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-0Lv/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-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-0Lv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26