ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 11 January 2025 07:51:14 -0500 (0:00:00.038) 0:00:00.038 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 11 January 2025 07:51:15 -0500 (0:00:01.524) 0:00:01.563 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 11 January 2025 07:51:16 -0500 (0:00:00.158) 0:00:01.721 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 11 January 2025 07:51:16 -0500 (0:00:00.436) 0:00:02.157 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 11 January 2025 07:51:17 -0500 (0:00:00.855) 0:00:03.013 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 11 January 2025 07:51:17 -0500 (0:00:00.156) 0:00:03.169 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 11 January 2025 07:51:17 -0500 (0:00:00.085) 0:00:03.254 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 11 January 2025 07:51:17 -0500 (0:00:00.118) 0:00:03.373 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 11 January 2025 07:51:18 -0500 (0:00:00.632) 0:00:04.006 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 11 January 2025 07:51:19 -0500 (0:00:01.034) 0:00:05.041 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.162661", "end": "2025-01-11 07:51:19.834938", "rc": 0, "start": "2025-01-11 07:51:19.672277" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 11 January 2025 07:51:19 -0500 (0:00:00.559) 0:00:05.601 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 11 January 2025 07:51:20 -0500 (0:00:00.055) 0:00:05.656 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 11 January 2025 07:51:20 -0500 (0:00:00.087) 0:00:05.744 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 11 January 2025 07:51:20 -0500 (0:00:00.177) 0:00:05.922 ****** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.910) 0:00:06.832 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.042) 0:00:06.874 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.069) 0:00:06.944 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.044) 0:00:06.988 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.123) 0:00:07.111 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.055) 0:00:07.167 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.048) 0:00:07.215 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003038", "end": "2025-01-11 07:51:21.828933", "rc": 0, "start": "2025-01-11 07:51:21.825895" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.331) 0:00:07.547 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:51:21 -0500 (0:00:00.043) 0:00:07.590 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:51:22 -0500 (0:00:00.068) 0:00:07.659 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 11 January 2025 07:51:22 -0500 (0:00:00.181) 0:00:07.841 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007470", "end": "2025-01-11 07:51:22.547633", "rc": 1, "start": "2025-01-11 07:51:22.540163" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:51:22 -0500 (0:00:00.416) 0:00:08.257 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:51:22 -0500 (0:00:00.055) 0:00:08.313 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:51:22 -0500 (0:00:00.322) 0:00:08.636 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:51:23 -0500 (0:00:00.051) 0:00:08.687 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:51:23 -0500 (0:00:00.073) 0:00:08.760 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:51:23 -0500 (0:00:00.263) 0:00:09.024 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:51:23 -0500 (0:00:00.184) 0:00:09.209 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:51:23 -0500 (0:00:00.088) 0:00:09.297 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:51:23 -0500 (0:00:00.088) 0:00:09.386 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:51:23 -0500 (0:00:00.115) 0:00:09.501 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:51:25 -0500 (0:00:01.528) 0:00:11.029 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:51:27 -0500 (0:00:01.775) 0:00:12.804 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:51:27 -0500 (0:00:00.110) 0:00:12.915 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:51:27 -0500 (0:00:00.131) 0:00:13.047 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:51:27 -0500 (0:00:00.085) 0:00:13.132 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:51:27 -0500 (0:00:00.100) 0:00:13.232 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:51:27 -0500 (0:00:00.129) 0:00:13.362 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:51:27 -0500 (0:00:00.133) 0:00:13.496 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:51:28 -0500 (0:00:00.196) 0:00:13.692 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:51:28 -0500 (0:00:00.269) 0:00:13.962 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:51:28 -0500 (0:00:00.093) 0:00:14.055 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:51:28 -0500 (0:00:00.090) 0:00:14.145 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:51:28 -0500 (0:00:00.117) 0:00:14.263 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:51:29 -0500 (0:00:01.022) 0:00:15.285 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:51:29 -0500 (0:00:00.143) 0:00:15.429 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:51:29 -0500 (0:00:00.163) 0:00:15.592 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:51:30 -0500 (0:00:00.095) 0:00:15.687 ****** 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, c0ca6923-91f7-40cd-bb57-d7b7ef4137cd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:51:31 -0500 (0:00:01.109) 0:00:16.797 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:51:31 -0500 (0:00:00.136) 0:00:16.933 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0ca6923-91f7-40cd-bb57-d7b7ef4137cd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:51:31 -0500 (0:00:00.152) 0:00:17.085 ****** 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, c0ca6923-91f7-40cd-bb57-d7b7ef4137cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0ca6923-91f7-40cd-bb57-d7b7ef4137cd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:51:31 -0500 (0:00:00.155) 0:00:17.241 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:51:31 -0500 (0:00:00.071) 0:00:17.312 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:51:32 -0500 (0:00:00.534) 0:00:17.846 ****** 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, c0ca6923-91f7-40cd-bb57-d7b7ef4137cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c0ca6923-91f7-40cd-bb57-d7b7ef4137cd" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:51:32 -0500 (0:00:00.121) 0:00:17.968 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:51:32 -0500 (0:00:00.228) 0:00:18.197 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:51:32 -0500 (0:00:00.282) 0:00:18.479 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:51:32 -0500 (0:00:00.154) 0:00:18.633 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736599890.9443126, "block_size": 4096, "blocks": 8, "ctime": 1736599890.9433124, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736599890.9433124, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:51:33 -0500 (0:00:00.579) 0:00:19.213 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:51:33 -0500 (0:00:00.149) 0:00:19.362 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022819", "end": "2025-01-11 07:51:34.009354", "rc": 0, "start": "2025-01-11 07:51:33.986535" } 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.510) 0:00:19.873 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.168) 0:00:20.042 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.138) 0:00:20.180 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.113) 0:00:20.293 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.100) 0:00:20.393 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.119) 0:00:20.513 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.239) 0:00:20.753 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.098) 0:00:20.851 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.092) 0:00:20.944 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.142) 0:00:21.086 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.191) 0:00:21.278 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736599890.9463124, "block_size": 4096, "blocks": 0, "ctime": 1736599890.9453125, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1736599890.9453125, "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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.447) 0:00:21.725 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.184) 0:00:21.910 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.116) 0:00:22.026 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.245) 0:00:22.272 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.072867", "end": "2025-01-11 07:51:36.992015", "rc": 1, "start": "2025-01-11 07:51:36.919148" } STDOUT: Connection 'statebr' (c0ca6923-91f7-40cd-bb57-d7b7ef4137cd) successfully deleted. STDERR: (process:19097): GLib-GIO-WARNING **: 07:51:36.974: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/29 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.488) 0:00:22.760 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.205) 0:00:22.966 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.096) 0:00:23.063 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.199) 0:00:23.262 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.280) 0:00:23.543 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.207) 0:00:23.751 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2025-01-11 07:51:38.383358", "rc": 0, "start": "2025-01-11 07:51:38.379906" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.422) 0:00:24.173 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.161) 0:00:24.335 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.197) 0:00:24.532 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.252) 0:00:24.785 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006793", "end": "2025-01-11 07:51:39.415594", "rc": 1, "start": "2025-01-11 07:51:39.408801" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.418) 0:00:25.204 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.225) 0:00:25.430 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.471) 0:00:25.901 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.103) 0:00:26.004 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.235) 0:00:26.240 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.353) 0:00:26.593 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:51:41 -0500 (0:00:00.202) 0:00:26.796 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:51:41 -0500 (0:00:00.245) 0:00:27.041 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:51:41 -0500 (0:00:00.142) 0:00:27.184 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:51:41 -0500 (0:00:00.116) 0:00:27.300 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:51:42 -0500 (0:00:01.004) 0:00:28.304 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:51:44 -0500 (0:00:01.447) 0:00:29.752 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.099) 0:00:29.852 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.112) 0:00:29.964 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.205) 0:00:30.170 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.144) 0:00:30.314 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.124) 0:00:30.439 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.137) 0:00:30.576 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.120) 0:00:30.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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.236) 0:00:30.932 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.100) 0:00:31.033 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.096) 0:00:31.129 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.087) 0:00:31.217 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.560) 0:00:31.777 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.158) 0:00:31.936 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.222) 0:00:32.159 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.132) 0:00:32.292 ****** 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, 5001d548-f251-4298-83d7-6826d61db023 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.806) 0:00:33.098 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.096) 0:00:33.195 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5001d548-f251-4298-83d7-6826d61db023" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.085) 0:00:33.281 ****** 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, 5001d548-f251-4298-83d7-6826d61db023\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5001d548-f251-4298-83d7-6826d61db023" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.118) 0:00:33.399 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.247) 0:00:33.647 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 11 January 2025 07:51:48 -0500 (0:00:00.876) 0:00:34.524 ****** 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, 5001d548-f251-4298-83d7-6826d61db023\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5001d548-f251-4298-83d7-6826d61db023" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.158) 0:00:34.682 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.330) 0:00:35.013 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.277) 0:00:35.290 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.577) 0:00:35.868 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.123) 0:00:35.991 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.222) 0:00:36.214 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.186) 0:00:36.400 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736599907.3013399, "block_size": 4096, "blocks": 8, "ctime": 1736599907.3013399, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736599907.3013399, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.415) 0:00:36.815 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.214) 0:00:37.030 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022648", "end": "2025-01-11 07:51:51.678350", "rc": 0, "start": "2025-01-11 07:51:51.655702" } 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.512) 0:00:37.542 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.242) 0:00:37.785 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.151) 0:00:37.936 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.328) 0:00:38.265 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.248) 0:00:38.514 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.116) 0:00:38.631 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.155) 0:00:38.786 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.121) 0:00:38.908 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.121) 0:00:39.030 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.087) 0:00:39.118 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.098) 0:00:39.216 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.139) 0:00:39.356 ****** 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.045351", "end": "2025-01-11 07:51:53.997631", "rc": 1, "start": "2025-01-11 07:51:53.952280" } STDOUT: Connection 'statebr' (5001d548-f251-4298-83d7-6826d61db023) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.385) 0:00:39.742 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.169) 0:00:39.912 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.112) 0:00:40.024 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.178) 0:00:40.202 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.127) 0:00:40.330 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.189) 0:00:40.519 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2025-01-11 07:51:55.109327", "rc": 0, "start": "2025-01-11 07:51:55.105879" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:51:55 -0500 (0:00:00.334) 0:00:40.853 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:51:55 -0500 (0:00:00.076) 0:00:40.930 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:51:55 -0500 (0:00:00.111) 0:00:41.041 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:51:55 -0500 (0:00:00.210) 0:00:41.252 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:51:55 -0500 (0:00:00.226) 0:00:41.478 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.289) 0:00:41.767 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.153) 0:00:41.921 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.132) 0:00:42.053 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.179) 0:00:42.233 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:51:57 -0500 (0:00:01.227) 0:00:43.461 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:51:59 -0500 (0:00:01.504) 0:00:44.966 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.134) 0:00:45.100 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.116) 0:00:45.217 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.094) 0:00:45.311 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.078) 0:00:45.390 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.096) 0:00:45.486 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.175) 0:00:45.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.135) 0:00:45.797 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.268) 0:00:46.066 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.162) 0:00:46.228 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.103) 0:00:46.332 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.142) 0:00:46.475 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.748) 0:00:47.224 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.199) 0:00:47.423 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.203) 0:00:47.627 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:02 -0500 (0:00:00.127) 0:00:47.755 ****** 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, 0174a435-13ae-4a27-8e25-18e82b1a3d10 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.939) 0:00:48.695 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.114) 0:00:48.809 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0174a435-13ae-4a27-8e25-18e82b1a3d10" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.098) 0:00:48.908 ****** 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, 0174a435-13ae-4a27-8e25-18e82b1a3d10\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0174a435-13ae-4a27-8e25-18e82b1a3d10" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.106) 0:00:49.014 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.119) 0:00:49.133 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.503) 0:00:49.637 ****** 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, 0174a435-13ae-4a27-8e25-18e82b1a3d10\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0174a435-13ae-4a27-8e25-18e82b1a3d10" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.104) 0:00:49.742 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.204) 0:00:49.947 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.283) 0:00:50.231 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.199) 0:00:50.430 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.220) 0:00:50.651 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.132) 0:00:50.783 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.144) 0:00:50.928 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:06 -0500 (0:00:01.172) 0:00:52.100 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:07 -0500 (0:00:01.373) 0:00:53.474 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:07 -0500 (0:00:00.117) 0:00:53.592 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.132) 0:00:53.724 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.109) 0:00:53.834 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.113) 0:00:53.947 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.115) 0:00:54.063 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.124) 0:00:54.188 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.128) 0:00:54.316 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.199) 0:00:54.516 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.181) 0:00:54.698 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.120) 0:00:54.818 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.224) 0:00:55.043 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.950) 0:00:55.994 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.141) 0:00:56.135 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.122) 0:00:56.258 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.110) 0:00:56.368 ****** 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, 0174a435-13ae-4a27-8e25-18e82b1a3d10 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.837) 0:00:57.206 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.120) 0:00:57.326 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0174a435-13ae-4a27-8e25-18e82b1a3d10 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.114) 0:00:57.440 ****** 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, 0174a435-13ae-4a27-8e25-18e82b1a3d10 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0174a435-13ae-4a27-8e25-18e82b1a3d10 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.139) 0:00:57.580 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.131) 0:00:57.712 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.383) 0:00:58.095 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.234) 0:00:58.330 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.198) 0:00:58.529 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736599922.7833655, "block_size": 4096, "blocks": 0, "ctime": 1736599922.7823656, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1736599922.7823656, "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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.628) 0:00:59.157 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.130) 0:00:59.287 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.238) 0:00:59.526 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.121) 0:00:59.648 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736599922.8503656, "block_size": 4096, "blocks": 8, "ctime": 1736599922.7813656, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736599922.7813656, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:52:14 -0500 (0:00:00.734) 0:01:00.382 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:52:14 -0500 (0:00:00.144) 0:01:00.527 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021069", "end": "2025-01-11 07:52:15.183176", "rc": 0, "start": "2025-01-11 07:52:15.162107" } 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:52:15 -0500 (0:00:00.593) 0:01:01.120 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:52:15 -0500 (0:00:00.226) 0:01:01.346 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:52:15 -0500 (0:00:00.146) 0:01:01.492 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:52:15 -0500 (0:00:00.114) 0:01:01.607 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.084) 0:01:01.691 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.075) 0:01:01.767 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.116) 0:01:01.883 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.183) 0:01:02.067 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.122) 0:01:02.189 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.105) 0:01:02.295 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.129) 0:01:02.425 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.284) 0:01:02.710 ****** 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.079361", "end": "2025-01-11 07:52:17.577884", "rc": 1, "start": "2025-01-11 07:52:17.498523" } STDOUT: Connection 'statebr' (0174a435-13ae-4a27-8e25-18e82b1a3d10) successfully deleted. STDERR: (process:20907): GLib-GIO-WARNING **: 07:52:17.558: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/30 but no object proxy exists (process:20907): GLib-GIO-WARNING **: 07:52:17.558: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/61 but no object proxy exists (process:20907): GLib-GIO-WARNING **: 07:52:17.558: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/39 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.661) 0:01:03.371 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.230) 0:01:03.602 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.134) 0:01:03.737 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.218) 0:01:03.955 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.214) 0:01:04.170 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.259) 0:01:04.429 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004315", "end": "2025-01-11 07:52:20.082712", "rc": 0, "start": "2025-01-11 07:52:19.078397" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:52:20 -0500 (0:00:01.403) 0:01:05.833 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.093) 0:01:05.927 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.121) 0:01:06.049 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.374) 0:01:06.424 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.358) 0:01:06.782 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.271) 0:01:07.054 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.161) 0:01:07.215 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.145) 0:01:07.361 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.120) 0:01:07.482 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:22 -0500 (0:00:01.001) 0:01:08.483 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:24 -0500 (0:00:01.608) 0:01:10.091 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:24 -0500 (0:00:00.254) 0:01:10.346 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:24 -0500 (0:00:00.190) 0:01:10.537 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.130) 0:01:10.668 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.101) 0:01:10.769 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.118) 0:01:10.888 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.114) 0:01:11.002 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.135) 0:01:11.138 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.220) 0:01:11.358 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.089) 0:01:11.448 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.078) 0:01:11.526 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.091) 0:01:11.617 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.588) 0:01:12.206 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.106) 0:01:12.313 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.133) 0:01:12.447 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.095) 0:01:12.542 ****** 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, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.968) 0:01:13.511 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.149) 0:01:13.661 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.376) 0:01:14.038 ****** 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, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.159) 0:01:14.197 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.155) 0:01:14.352 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.428) 0:01:14.781 ****** 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, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.166) 0:01:14.948 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.199) 0:01:15.147 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.249) 0:01:15.397 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.140) 0:01:15.538 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.095) 0:01:15.633 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.123) 0:01:15.756 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:31 -0500 (0:00:01.014) 0:01:16.771 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:32 -0500 (0:00:01.702) 0:01:18.474 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.108) 0:01:18.582 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.104) 0:01:18.687 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.075) 0:01:18.762 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.088) 0:01:18.851 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.126) 0:01:18.978 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.128) 0:01:19.106 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.133) 0:01:19.239 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.247) 0:01:19.487 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.192) 0:01:19.680 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.223) 0:01:19.903 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.174) 0:01:20.078 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.516) 0:01:20.594 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:35 -0500 (0:00:00.078) 0:01:20.673 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:35 -0500 (0:00:00.073) 0:01:20.746 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:35 -0500 (0:00:00.085) 0:01:20.832 ****** 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, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:36 -0500 (0:00:00.943) 0:01:21.775 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:36 -0500 (0:00:00.202) 0:01:21.977 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:36 -0500 (0:00:00.252) 0:01:22.230 ****** 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, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:36 -0500 (0:00:00.217) 0:01:22.448 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:36 -0500 (0:00:00.161) 0:01:22.610 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:52:37 -0500 (0:00:00.783) 0:01:23.393 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.280) 0:01:23.674 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.250) 0:01:23.925 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.171) 0:01:24.096 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.118) 0:01:24.215 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.114) 0:01:24.330 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.095) 0:01:24.425 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.987) 0:01:25.413 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:41 -0500 (0:00:01.292) 0:01:26.705 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.117) 0:01:26.823 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.111) 0:01:26.935 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.118) 0:01:27.054 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.138) 0:01:27.192 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.132) 0:01:27.325 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.125) 0:01:27.450 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.106) 0:01:27.557 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.151) 0:01:27.708 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.073) 0:01:27.782 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.089) 0:01:27.871 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.168) 0:01:28.039 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.553) 0:01:28.592 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:43 -0500 (0:00:00.111) 0:01:28.703 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:43 -0500 (0:00:00.093) 0:01:28.797 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:43 -0500 (0:00:00.076) 0:01:28.873 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:43 -0500 (0:00:00.748) 0:01:29.622 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.080) 0:01:29.703 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.083) 0:01:29.787 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.113) 0:01:29.900 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.112) 0:01:30.013 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.419) 0:01:30.432 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.227) 0:01:30.660 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.174) 0:01:30.835 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736599947.686407, "block_size": 4096, "blocks": 0, "ctime": 1736599947.6854072, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17658, "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": 1736599947.6854072, "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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.387) 0:01:31.223 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.080) 0:01:31.303 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.146) 0:01:31.449 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.090) 0:01:31.540 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.478) 0:01:32.018 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.114) 0:01:32.133 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020129", "end": "2025-01-11 07:52:46.775420", "rc": 1, "start": "2025-01-11 07:52:46.755291" } 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.426) 0:01:32.559 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.081) 0:01:32.640 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.085) 0:01:32.725 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.180) 0:01:32.906 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.116) 0:01:33.022 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.202) 0:01:33.225 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.231) 0:01:33.456 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.218) 0:01:33.675 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.148) 0:01:33.824 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.323) 0:01:34.147 ****** 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.078751", "end": "2025-01-11 07:52:48.962934", "rc": 1, "start": "2025-01-11 07:52:48.884183" } STDOUT: Connection 'statebr' (e9a65d3c-2642-4cb7-b2ac-e0bdb5b10d81) successfully deleted. STDERR: (process:22334): GLib-GIO-WARNING **: 07:52:48.944: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/31 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.695) 0:01:34.843 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.212) 0:01:35.055 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.117) 0:01:35.173 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.231) 0:01:35.405 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.224) 0:01:35.630 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.216) 0:01:35.846 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003571", "end": "2025-01-11 07:52:50.436317", "rc": 0, "start": "2025-01-11 07:52:50.432746" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.485) 0:01:36.332 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.118) 0:01:36.450 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.090) 0:01:36.541 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.303) 0:01:36.844 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.288) 0:01:37.133 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.254) 0:01:37.388 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.137) 0:01:37.526 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.115) 0:01:37.642 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:52 -0500 (0:00:00.170) 0:01:37.812 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:53 -0500 (0:00:01.085) 0:01:38.898 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:54 -0500 (0:00:01.403) 0:01:40.301 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:54 -0500 (0:00:00.122) 0:01:40.424 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:54 -0500 (0:00:00.119) 0:01:40.544 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.180) 0:01:40.724 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.142) 0:01:40.866 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.127) 0:01:40.994 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.126) 0:01:41.121 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.133) 0:01:41.254 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.129) 0:01:41.384 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.077) 0:01:41.462 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.077) 0:01:41.539 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.095) 0:01:41.634 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.603) 0:01:42.237 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.123) 0:01:42.361 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.108) 0:01:42.470 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.111) 0:01:42.581 ****** 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, eb09b630-881b-4f29-8cbd-07f4cf7a1945 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:58 -0500 (0:00:01.126) 0:01:43.708 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.250) 0:01:43.958 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb09b630-881b-4f29-8cbd-07f4cf7a1945" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.245) 0:01:44.204 ****** 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, eb09b630-881b-4f29-8cbd-07f4cf7a1945\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb09b630-881b-4f29-8cbd-07f4cf7a1945" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.214) 0:01:44.418 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.139) 0:01:44.557 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.528) 0:01:45.085 ****** 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, eb09b630-881b-4f29-8cbd-07f4cf7a1945\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb09b630-881b-4f29-8cbd-07f4cf7a1945" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.169) 0:01:45.255 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.275) 0:01:45.530 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.244) 0:01:45.775 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.223) 0:01:45.998 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.116) 0:01:46.115 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.092) 0:01:46.208 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:01 -0500 (0:00:01.033) 0:01:47.241 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:03 -0500 (0:00:01.789) 0:01:49.031 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.129) 0:01:49.160 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.115) 0:01:49.275 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.125) 0:01:49.401 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.129) 0:01:49.530 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.218) 0:01:49.749 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.106) 0:01:49.855 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.108) 0:01:49.964 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.263) 0:01:50.227 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.210) 0:01:50.437 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.147) 0:01:50.585 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:05 -0500 (0:00:00.166) 0:01:50.752 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:05 -0500 (0:00:00.681) 0:01:51.433 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:05 -0500 (0:00:00.216) 0:01:51.649 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:06 -0500 (0:00:00.109) 0:01:51.759 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:06 -0500 (0:00:00.121) 0:01:51.880 ****** 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, eb09b630-881b-4f29-8cbd-07f4cf7a1945 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:07 -0500 (0:00:01.031) 0:01:52.911 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.238) 0:01:53.150 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eb09b630-881b-4f29-8cbd-07f4cf7a1945 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.158) 0:01:53.308 ****** 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, eb09b630-881b-4f29-8cbd-07f4cf7a1945 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eb09b630-881b-4f29-8cbd-07f4cf7a1945 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.139) 0:01:53.448 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.154) 0:01:53.602 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 11 January 2025 07:53:08 -0500 (0:00:00.569) 0:01:54.171 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:08 -0500 (0:00:00.327) 0:01:54.499 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.268) 0:01:54.768 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.163) 0:01:54.931 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.187) 0:01:55.119 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.255) 0:01:55.374 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:10 -0500 (0:00:01.046) 0:01:56.421 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:12 -0500 (0:00:01.598) 0:01:58.020 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.200) 0:01:58.221 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.161) 0:01:58.382 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.228) 0:01:58.611 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:13 -0500 (0:00:00.224) 0:01:58.836 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:13 -0500 (0:00:00.212) 0:01:59.049 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:13 -0500 (0:00:00.145) 0:01:59.194 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:13 -0500 (0:00:00.139) 0:01:59.334 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:13 -0500 (0:00:00.238) 0:01:59.573 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:14 -0500 (0:00:00.115) 0:01:59.688 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:14 -0500 (0:00:00.117) 0:01:59.805 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:14 -0500 (0:00:00.123) 0:01:59.929 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:14 -0500 (0:00:00.669) 0:02:00.598 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.084) 0:02:00.682 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.079) 0:02:00.762 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.109) 0:02:00.872 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.776) 0:02:01.648 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.127) 0:02:01.776 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.170) 0:02:01.946 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.200) 0:02:02.147 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.135) 0:02:02.283 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.724) 0:02:03.007 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.257) 0:02:03.265 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.243) 0:02:03.508 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.256) 0:02:03.765 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.261) 0:02:04.026 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.115) 0:02:04.142 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.185) 0:02:04.327 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:19 -0500 (0:00:01.002) 0:02:05.330 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:20 -0500 (0:00:01.297) 0:02:06.627 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.105) 0:02:06.733 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.112) 0:02:06.846 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.136) 0:02:06.982 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.118) 0:02:07.101 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.112) 0:02:07.214 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.127) 0:02:07.342 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.121) 0:02:07.464 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.189) 0:02:07.654 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.116) 0:02:07.770 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.112) 0:02:07.882 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.140) 0:02:08.023 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.569) 0:02:08.593 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.121) 0:02:08.714 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.180) 0:02:08.894 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.095) 0:02:08.990 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:24 -0500 (0:00:00.765) 0:02:09.756 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:24 -0500 (0:00:00.117) 0:02:09.874 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:24 -0500 (0:00:00.116) 0:02:09.991 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:24 -0500 (0:00:00.116) 0:02:10.107 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:24 -0500 (0:00:00.090) 0:02:10.198 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:53:24 -0500 (0:00:00.345) 0:02:10.543 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.205) 0:02:10.749 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.206) 0:02:10.955 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.119) 0:02:11.075 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.389) 0:02:11.465 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.117) 0:02:11.582 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019734", "end": "2025-01-11 07:53:26.224088", "rc": 1, "start": "2025-01-11 07:53:26.204354" } 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.515) 0:02:12.098 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.222) 0:02:12.321 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.160) 0:02:12.481 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.125) 0:02:12.606 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.127) 0:02:12.734 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.114) 0:02:12.849 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.098) 0:02:12.947 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.168) 0:02:13.116 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.226) 0:02:13.343 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:53:28 -0500 (0:00:00.537) 0:02:13.881 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:53:28 -0500 (0:00:00.103) 0:02:13.985 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:53:28 -0500 (0:00:00.092) 0:02:14.077 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:53:28 -0500 (0:00:00.169) 0:02:14.247 ****** 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.040415", "end": "2025-01-11 07:53:28.928684", "rc": 1, "start": "2025-01-11 07:53:28.888269" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.502) 0:02:14.750 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.466) 0:02:15.216 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.136) 0:02:15.353 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.246) 0:02:15.599 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.208) 0:02:15.808 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.259) 0:02:16.067 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004348", "end": "2025-01-11 07:53:31.808699", "rc": 0, "start": "2025-01-11 07:53:30.804351" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:53:31 -0500 (0:00:01.546) 0:02:17.614 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:53:32 -0500 (0:00:00.107) 0:02:17.722 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:53:32 -0500 (0:00:00.122) 0:02:17.845 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:53:32 -0500 (0:00:00.254) 0:02:18.099 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:32 -0500 (0:00:00.217) 0:02:18.317 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:32 -0500 (0:00:00.285) 0:02:18.603 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:33 -0500 (0:00:00.310) 0:02:18.913 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:33 -0500 (0:00:00.100) 0:02:19.014 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:33 -0500 (0:00:00.079) 0:02:19.093 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:34 -0500 (0:00:01.263) 0:02:20.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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:36 -0500 (0:00:01.582) 0:02:21.939 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.125) 0:02:22.064 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.129) 0:02:22.194 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.111) 0:02:22.305 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.091) 0:02:22.397 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.092) 0:02:22.490 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.137) 0:02:22.628 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.082) 0:02:22.710 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.147) 0:02:22.858 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.074) 0:02:22.932 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.077) 0:02:23.009 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.114) 0:02:23.124 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.965) 0:02:24.089 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.204) 0:02:24.294 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.170) 0:02:24.465 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:39 -0500 (0:00:00.199) 0:02:24.665 ****** 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, 54213fc7-69f8-40c8-a0a7-542cb5326bea TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:40 -0500 (0:00:01.265) 0:02:25.930 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:40 -0500 (0:00:00.144) 0:02:26.075 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54213fc7-69f8-40c8-a0a7-542cb5326bea" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:40 -0500 (0:00:00.116) 0:02:26.191 ****** 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, 54213fc7-69f8-40c8-a0a7-542cb5326bea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54213fc7-69f8-40c8-a0a7-542cb5326bea" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:40 -0500 (0:00:00.084) 0:02:26.276 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:40 -0500 (0:00:00.101) 0:02:26.377 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.451) 0:02:26.829 ****** 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, 54213fc7-69f8-40c8-a0a7-542cb5326bea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54213fc7-69f8-40c8-a0a7-542cb5326bea" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.144) 0:02:26.973 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.310) 0:02:27.284 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.237) 0:02:27.522 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.156) 0:02:27.678 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.095) 0:02:27.774 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.087) 0:02:27.861 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.998) 0:02:28.860 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:44 -0500 (0:00:01.502) 0:02:30.362 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:44 -0500 (0:00:00.127) 0:02:30.490 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:44 -0500 (0:00:00.099) 0:02:30.590 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.125) 0:02:30.716 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.201) 0:02:30.918 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.370) 0:02:31.289 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.209) 0:02:31.498 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.140) 0:02:31.639 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:46 -0500 (0:00:00.218) 0:02:31.857 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:46 -0500 (0:00:00.118) 0:02:31.975 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:46 -0500 (0:00:00.118) 0:02:32.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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:46 -0500 (0:00:00.135) 0:02:32.229 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.637) 0:02:32.867 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.130) 0:02:32.998 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.219) 0:02:33.217 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.214) 0:02:33.432 ****** 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, 54213fc7-69f8-40c8-a0a7-542cb5326bea skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:48 -0500 (0:00:01.026) 0:02:34.458 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:48 -0500 (0:00:00.093) 0:02:34.552 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54213fc7-69f8-40c8-a0a7-542cb5326bea skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:48 -0500 (0:00:00.077) 0:02:34.630 ****** 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, 54213fc7-69f8-40c8-a0a7-542cb5326bea skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54213fc7-69f8-40c8-a0a7-542cb5326bea skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:49 -0500 (0:00:00.131) 0:02:34.761 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:49 -0500 (0:00:00.111) 0:02:34.873 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:53:49 -0500 (0:00:00.343) 0:02:35.216 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:49 -0500 (0:00:00.193) 0:02:35.410 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:49 -0500 (0:00:00.229) 0:02:35.639 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.207) 0:02:35.847 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.110) 0:02:35.958 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.138) 0:02:36.096 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:51 -0500 (0:00:01.038) 0:02:37.134 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:52 -0500 (0:00:01.248) 0:02:38.382 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.157) 0:02:38.540 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.114) 0:02:38.655 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.124) 0:02:38.779 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.154) 0:02:38.933 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.119) 0:02:39.052 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.139) 0:02:39.192 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.129) 0:02:39.321 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.231) 0:02:39.553 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.227) 0:02:39.781 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.230) 0:02:40.011 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.130) 0:02:40.142 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:55 -0500 (0:00:00.880) 0:02:41.022 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:55 -0500 (0:00:00.151) 0:02:41.174 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:55 -0500 (0:00:00.110) 0:02:41.285 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:55 -0500 (0:00:00.124) 0:02:41.410 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:56 -0500 (0:00:01.013) 0:02:42.423 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:56 -0500 (0:00:00.121) 0:02:42.545 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:57 -0500 (0:00:00.194) 0:02:42.739 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:57 -0500 (0:00:00.088) 0:02:42.827 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:57 -0500 (0:00:00.074) 0:02:42.902 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:53:57 -0500 (0:00:00.534) 0:02:43.437 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:53:57 -0500 (0:00:00.206) 0:02:43.644 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.167) 0:02:43.811 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.243) 0:02:44.055 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.177) 0:02:44.233 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.135) 0:02:44.368 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.165) 0:02:44.533 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:59 -0500 (0:00:01.095) 0:02:45.629 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:54:01 -0500 (0:00:01.322) 0:02:46.952 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.078) 0:02:47.030 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.072) 0:02:47.103 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.074) 0:02:47.177 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.100) 0:02:47.278 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.105) 0:02:47.383 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.200) 0:02:47.584 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:54:02 -0500 (0:00:00.171) 0:02:47.755 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:54:02 -0500 (0:00:00.368) 0:02:48.124 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:54:02 -0500 (0:00:00.190) 0:02:48.314 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:54:02 -0500 (0:00:00.124) 0:02:48.438 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:54:02 -0500 (0:00:00.142) 0:02:48.580 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:54:03 -0500 (0:00:00.585) 0:02:49.166 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:54:03 -0500 (0:00:00.124) 0:02:49.290 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:54:03 -0500 (0:00:00.195) 0:02:49.486 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:54:04 -0500 (0:00:00.182) 0:02:49.668 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:54:04 -0500 (0:00:00.919) 0:02:50.588 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.124) 0:02:50.712 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.088) 0:02:50.801 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.120) 0:02:50.921 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.116) 0:02:51.038 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.350) 0:02:51.388 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.147) 0:02:51.536 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.134) 0:02:51.670 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.120) 0:02:51.790 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.418) 0:02:52.208 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.105) 0:02:52.313 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019382", "end": "2025-01-11 07:54:06.931264", "rc": 1, "start": "2025-01-11 07:54:06.911882" } 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:54:07 -0500 (0:00:00.406) 0:02:52.720 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:54:07 -0500 (0:00:00.211) 0:02:52.932 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:54:07 -0500 (0:00:00.122) 0:02:53.054 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:54:07 -0500 (0:00:00.120) 0:02:53.174 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:54:07 -0500 (0:00:00.117) 0:02:53.292 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:54:07 -0500 (0:00:00.114) 0:02:53.406 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 11 January 2025 07:54:07 -0500 (0:00:00.108) 0:02:53.515 ****** [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.610283", "end": "2025-01-11 07:54:08.724043", "rc": 0, "start": "2025-01-11 07:54:08.113760" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.974) 0:02:54.489 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.080) 0:02:54.570 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.075) 0:02:54.646 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.147) 0:02:54.793 ****** included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.123) 0:02:54.916 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.332) 0:02:55.249 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.110) 0:02:55.359 ****** 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.180) 0:02:55.539 ****** included: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.262) 0:02:55.802 ****** 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.041741", "end": "2025-01-11 07:54:10.671487", "rc": 1, "start": "2025-01-11 07:54:10.629746" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.803) 0:02:56.605 ****** 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.007303", "end": "2025-01-11 07:54:11.388757", "rc": 0, "start": "2025-01-11 07:54:11.381454" } 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:ae:07:c5:8b:6b brd ff:ff:ff:ff:ff:ff inet 10.31.8.59/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2417sec preferred_lft 2417sec inet6 fe80::10ae:7ff:fec5:8b6b/64 scope link valid_lft forever preferred_lft forever 21: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 96:cf:4d:ed:23:ed brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.59 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 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-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 11 January 2025 07:54:11 -0500 (0:00:00.709) 0:02:57.314 ****** 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.396234", "end": "2025-01-11 07:54:12.524940", "rc": 0, "start": "2025-01-11 07:54:12.128706" } STDOUT: CHECK DNS AND CONNECTIVITY 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.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1790 0 --:--:-- --:--:-- --:--:-- 1794 % 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 1410 0 --:--:-- --:--:-- --:--:-- 1412 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 11 January 2025 07:54:12 -0500 (0:00:00.956) 0:02:58.271 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-yzG/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-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.55s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.52s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.40s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.27s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 1.26s /tmp/collections-yzG/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21