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-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 07 December 2024 07:55:20 -0500 (0:00:00.042) 0:00:00.042 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 07 December 2024 07:55:22 -0500 (0:00:01.813) 0:00:01.856 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 07 December 2024 07:55:22 -0500 (0:00:00.160) 0:00:02.017 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 07 December 2024 07:55:23 -0500 (0:00:00.552) 0:00:02.570 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 07 December 2024 07:55:24 -0500 (0:00:00.795) 0:00:03.365 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 07 December 2024 07:55:24 -0500 (0:00:00.073) 0:00:03.439 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 07 December 2024 07:55:24 -0500 (0:00:00.085) 0:00:03.524 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 07 December 2024 07:55:24 -0500 (0:00:00.136) 0:00:03.661 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 07 December 2024 07:55:25 -0500 (0:00:00.554) 0:00:04.216 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 07 December 2024 07:55:26 -0500 (0:00:01.304) 0:00:05.520 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.167810", "end": "2024-12-07 07:55:26.881047", "rc": 0, "start": "2024-12-07 07:55:26.713237" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 07 December 2024 07:55:26 -0500 (0:00:00.624) 0:00:06.145 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 07 December 2024 07:55:27 -0500 (0:00:00.064) 0:00:06.209 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 07 December 2024 07:55:27 -0500 (0:00:00.053) 0:00:06.262 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 07 December 2024 07:55:27 -0500 (0:00:00.040) 0:00:06.302 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 07 December 2024 07:55:27 -0500 (0:00:00.812) 0:00:07.115 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 07 December 2024 07:55:27 -0500 (0:00:00.040) 0:00:07.156 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:55:28 -0500 (0:00:00.063) 0:00:07.220 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:55:28 -0500 (0:00:00.041) 0:00:07.261 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:55:28 -0500 (0:00:00.123) 0:00:07.385 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:55:28 -0500 (0:00:00.085) 0:00:07.470 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:55:28 -0500 (0:00:00.056) 0:00:07.527 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003222", "end": "2024-12-07 07:55:28.755336", "rc": 0, "start": "2024-12-07 07:55:28.752114" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:55:28 -0500 (0:00:00.486) 0:00:08.014 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:55:28 -0500 (0:00:00.043) 0:00:08.057 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:55:28 -0500 (0:00:00.050) 0:00:08.107 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 07:55:29 -0500 (0:00:00.126) 0:00:08.234 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010157", "end": "2024-12-07 07:55:29.469853", "rc": 1, "start": "2024-12-07 07:55:29.459696" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:55:29 -0500 (0:00:00.494) 0:00:08.729 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:29 -0500 (0:00:00.059) 0:00:08.789 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:55:29 -0500 (0:00:00.364) 0:00:09.153 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:55:30 -0500 (0:00:00.049) 0:00:09.202 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:55:30 -0500 (0:00:00.074) 0:00:09.277 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:55:30 -0500 (0:00:00.350) 0:00:09.628 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:55:30 -0500 (0:00:00.141) 0:00:09.769 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:55:30 -0500 (0:00:00.080) 0:00:09.849 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:55:30 -0500 (0:00:00.084) 0:00:09.934 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:55:30 -0500 (0:00:00.045) 0:00:09.979 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:55:32 -0500 (0:00:01.601) 0:00:11.581 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:55:34 -0500 (0:00:02.019) 0:00:13.601 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:55:34 -0500 (0:00:00.234) 0:00:13.835 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:55:34 -0500 (0:00:00.217) 0:00:14.052 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:55:34 -0500 (0:00:00.129) 0:00:14.182 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.130) 0:00:14.313 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.115) 0:00:14.428 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.129) 0:00:14.558 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.134) 0:00:14.693 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.206) 0:00:14.899 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.130) 0:00:15.030 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.115) 0:00:15.146 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:55:36 -0500 (0:00:00.114) 0:00:15.261 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:55:37 -0500 (0:00:01.006) 0:00:16.267 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.127) 0:00:16.395 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.109) 0:00:16.504 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.116) 0:00:16.620 ***** changed: [managed-node2] => { "_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, 4cd03193-aca2-4bda-9e83-37b30294270f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:55:38 -0500 (0:00:01.369) 0:00:17.990 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.082) 0:00:18.072 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4cd03193-aca2-4bda-9e83-37b30294270f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.229) 0:00:18.302 ***** ok: [managed-node2] => { "__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, 4cd03193-aca2-4bda-9e83-37b30294270f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4cd03193-aca2-4bda-9e83-37b30294270f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.118) 0:00:18.421 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.110) 0:00:18.531 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.540) 0:00:19.072 ***** ok: [managed-node2] => { "__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, 4cd03193-aca2-4bda-9e83-37b30294270f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4cd03193-aca2-4bda-9e83-37b30294270f" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.168) 0:00:19.241 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.219) 0:00:19.461 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.259) 0:00:19.720 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.155) 0:00:19.876 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576138.6514354, "block_size": 4096, "blocks": 8, "ctime": 1733576138.5774357, "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": 1733576138.5774357, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.487) 0:00:20.364 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.121) 0:00:20.485 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024923", "end": "2024-12-07 07:55:41.618764", "rc": 0, "start": "2024-12-07 07:55:41.593841" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.520) 0:00:21.006 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:55:41 -0500 (0:00:00.112) 0:00:21.119 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.142) 0:00:21.261 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.174) 0:00:21.436 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.109) 0:00:21.545 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.157) 0:00:21.703 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.108) 0:00:21.812 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.101) 0:00:21.914 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.081) 0:00:21.995 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.174) 0:00:22.169 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.150) 0:00:22.319 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576138.5844357, "block_size": 4096, "blocks": 0, "ctime": 1733576138.5794356, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17659, "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": 1733576138.5794356, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.482) 0:00:22.802 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.152) 0:00:22.955 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.122) 0:00:23.078 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.275) 0:00:23.353 ***** fatal: [managed-node2]: 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.078029", "end": "2024-12-07 07:55:44.687733", "rc": 1, "start": "2024-12-07 07:55:44.609704" } STDOUT: Connection 'statebr' (4cd03193-aca2-4bda-9e83-37b30294270f) successfully deleted. STDERR: (process:16879): GLib-GIO-WARNING **: 07:55:44.661: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/40 but no object proxy exists (process:16879): GLib-GIO-WARNING **: 07:55:44.664: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/68 but no object proxy exists (process:16879): GLib-GIO-WARNING **: 07:55:44.664: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/40 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.651) 0:00:24.005 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.194) 0:00:24.200 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.116) 0:00:24.317 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.272) 0:00:24.589 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.187) 0:00:24.777 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:55:45 -0500 (0:00:00.122) 0:00:24.900 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003311", "end": "2024-12-07 07:55:45.971094", "rc": 0, "start": "2024-12-07 07:55:45.967783" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.361) 0:00:25.261 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.077) 0:00:25.338 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.091) 0:00:25.429 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.207) 0:00:25.637 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006712", "end": "2024-12-07 07:55:46.770487", "rc": 1, "start": "2024-12-07 07:55:46.763775" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.418) 0:00:26.056 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:46 -0500 (0:00:00.126) 0:00:26.182 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.361) 0:00:26.543 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.075) 0:00:26.619 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.155) 0:00:26.774 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:55:47 -0500 (0:00:00.293) 0:00:27.068 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.239) 0:00:27.308 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.144) 0:00:27.452 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.209) 0:00:27.661 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.227) 0:00:27.889 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:55:50 -0500 (0:00:01.309) 0:00:29.199 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:55:51 -0500 (0:00:01.585) 0:00:30.785 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.101) 0:00:30.887 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.234) 0:00:31.121 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.120) 0:00:31.241 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.116) 0:00:31.357 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.136) 0:00:31.494 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.137) 0:00:31.631 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.175) 0:00:31.806 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.171) 0:00:31.978 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.111) 0:00:32.089 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.128) 0:00:32.218 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.090) 0:00:32.309 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.620) 0:00:32.930 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.124) 0:00:33.055 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.089) 0:00:33.145 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.097) 0:00:33.242 ***** changed: [managed-node2] => { "_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, ceffe0dc-7ab2-43b8-bdda-c9c8cae6aa62 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.746) 0:00:33.989 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.125) 0:00:34.114 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ceffe0dc-7ab2-43b8-bdda-c9c8cae6aa62" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.120) 0:00:34.234 ***** ok: [managed-node2] => { "__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, ceffe0dc-7ab2-43b8-bdda-c9c8cae6aa62\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ceffe0dc-7ab2-43b8-bdda-c9c8cae6aa62" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.246) 0:00:34.480 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.143) 0:00:34.624 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.566) 0:00:35.190 ***** ok: [managed-node2] => { "__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, ceffe0dc-7ab2-43b8-bdda-c9c8cae6aa62\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ceffe0dc-7ab2-43b8-bdda-c9c8cae6aa62" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.089) 0:00:35.280 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.341) 0:00:35.622 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.324) 0:00:35.946 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.623) 0:00:36.570 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.225) 0:00:36.795 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.220) 0:00:37.015 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.120) 0:00:37.135 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576154.6503754, "block_size": 4096, "blocks": 8, "ctime": 1733576154.6503754, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576154.6503754, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.521) 0:00:37.657 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.218) 0:00:37.876 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023280", "end": "2024-12-07 07:55:59.168925", "rc": 0, "start": "2024-12-07 07:55:59.145645" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.611) 0:00:38.487 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.138) 0:00:38.626 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.210) 0:00:38.837 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.104) 0:00:38.941 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.075) 0:00:39.016 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.102) 0:00:39.119 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.117) 0:00:39.237 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.122) 0:00:39.360 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.095) 0:00:39.455 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.079) 0:00:39.534 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.082) 0:00:39.617 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.225) 0:00:39.842 ***** fatal: [managed-node2]: 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.050489", "end": "2024-12-07 07:56:01.287743", "rc": 1, "start": "2024-12-07 07:56:01.237254" } STDOUT: Connection 'statebr' (ceffe0dc-7ab2-43b8-bdda-c9c8cae6aa62) 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.761) 0:00:40.604 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.209) 0:00:40.814 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.179) 0:00:40.993 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.200) 0:00:41.193 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.263) 0:00:41.457 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.222) 0:00:41.680 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003658", "end": "2024-12-07 07:56:02.913519", "rc": 0, "start": "2024-12-07 07:56:02.909861" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.620) 0:00:42.300 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.173) 0:00:42.474 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.128) 0:00:42.602 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.220) 0:00:42.823 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.362) 0:00:43.185 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:04 -0500 (0:00:00.238) 0:00:43.423 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:04 -0500 (0:00:00.091) 0:00:43.515 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:04 -0500 (0:00:00.090) 0:00:43.606 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:04 -0500 (0:00:00.110) 0:00:43.717 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:05 -0500 (0:00:00.971) 0:00:44.688 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:06 -0500 (0:00:01.417) 0:00:46.106 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.192) 0:00:46.298 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.160) 0:00:46.459 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.143) 0:00:46.602 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.210) 0:00:46.813 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.213) 0:00:47.027 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.190) 0:00:47.218 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.206) 0:00:47.425 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.276) 0:00:47.701 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.115) 0:00:47.817 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.116) 0:00:47.933 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.190) 0:00:48.124 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:09 -0500 (0:00:00.844) 0:00:48.969 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:09 -0500 (0:00:00.129) 0:00:49.098 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:09 -0500 (0:00:00.078) 0:00:49.176 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.091) 0:00:49.268 ***** changed: [managed-node2] => { "_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, 47dea32f-5300-4142-8762-b8f3fba2d9ed TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.986) 0:00:50.254 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.142) 0:00:50.397 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47dea32f-5300-4142-8762-b8f3fba2d9ed" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.128) 0:00:50.526 ***** ok: [managed-node2] => { "__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, 47dea32f-5300-4142-8762-b8f3fba2d9ed\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47dea32f-5300-4142-8762-b8f3fba2d9ed" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.122) 0:00:50.649 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.120) 0:00:50.769 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.434) 0:00:51.204 ***** ok: [managed-node2] => { "__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, 47dea32f-5300-4142-8762-b8f3fba2d9ed\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47dea32f-5300-4142-8762-b8f3fba2d9ed" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.167) 0:00:51.372 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.353) 0:00:51.726 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.269) 0:00:51.996 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.244) 0:00:52.240 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.285) 0:00:52.526 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.119) 0:00:52.645 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.184) 0:00:52.830 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:14 -0500 (0:00:01.263) 0:00:54.094 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:16 -0500 (0:00:01.611) 0:00:55.706 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.209) 0:00:55.915 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.135) 0:00:56.051 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.132) 0:00:56.184 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.135) 0:00:56.319 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.103) 0:00:56.423 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.174) 0:00:56.598 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.144) 0:00:56.742 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.270) 0:00:57.013 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.144) 0:00:57.158 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.114) 0:00:57.272 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.141) 0:00:57.414 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.675) 0:00:58.090 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.091) 0:00:58.182 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.165) 0:00:58.347 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.214) 0:00:58.561 ***** ok: [managed-node2] => { "_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, 47dea32f-5300-4142-8762-b8f3fba2d9ed skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.940) 0:00:59.502 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.211) 0:00:59.713 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 47dea32f-5300-4142-8762-b8f3fba2d9ed skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.140) 0:00:59.853 ***** ok: [managed-node2] => { "__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, 47dea32f-5300-4142-8762-b8f3fba2d9ed skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 47dea32f-5300-4142-8762-b8f3fba2d9ed skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.142) 0:00:59.996 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.123) 0:01:00.120 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.420) 0:01:00.541 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.314) 0:01:00.856 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.258) 0:01:01.114 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576170.8413148, "block_size": 4096, "blocks": 0, "ctime": 1733576170.8363147, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17659, "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": 1733576170.8363147, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 07:56:22 -0500 (0:00:00.390) 0:01:01.504 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:56:22 -0500 (0:00:00.109) 0:01:01.614 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:56:22 -0500 (0:00:00.195) 0:01:01.809 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:56:22 -0500 (0:00:00.094) 0:01:01.904 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576170.8353148, "block_size": 4096, "blocks": 8, "ctime": 1733576170.8343148, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576170.8343148, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.454) 0:01:02.358 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.133) 0:01:02.492 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021384", "end": "2024-12-07 07:56:23.663694", "rc": 0, "start": "2024-12-07 07:56:23.642310" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.509) 0:01:03.002 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.215) 0:01:03.217 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.195) 0:01:03.412 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.171) 0:01:03.583 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.228) 0:01:03.812 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.190) 0:01:04.002 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.158) 0:01:04.161 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.245) 0:01:04.406 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.152) 0:01:04.559 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.154) 0:01:04.713 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.152) 0:01:04.867 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.166) 0:01:05.033 ***** fatal: [managed-node2]: 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.081239", "end": "2024-12-07 07:56:26.212517", "rc": 1, "start": "2024-12-07 07:56:26.131278" } STDOUT: Connection 'statebr' (47dea32f-5300-4142-8762-b8f3fba2d9ed) 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.496) 0:01:05.530 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.241) 0:01:05.771 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.123) 0:01:05.895 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.213) 0:01:06.108 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.193) 0:01:06.302 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.144) 0:01:06.446 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003522", "end": "2024-12-07 07:56:27.577118", "rc": 0, "start": "2024-12-07 07:56:27.573596" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.577) 0:01:07.023 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.122) 0:01:07.146 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:56:28 -0500 (0:00:00.170) 0:01:07.317 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:56:28 -0500 (0:00:00.272) 0:01:07.590 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:28 -0500 (0:00:00.330) 0:01:07.921 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.380) 0:01:08.301 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.179) 0:01:08.481 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.126) 0:01:08.607 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.121) 0:01:08.728 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:30 -0500 (0:00:01.035) 0:01:09.764 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:32 -0500 (0:00:01.796) 0:01:11.560 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.139) 0:01:11.700 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.135) 0:01:11.836 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.139) 0:01:11.976 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.119) 0:01:12.095 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.161) 0:01:12.256 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.164) 0:01:12.421 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.198) 0:01:12.619 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.241) 0:01:12.860 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.207) 0:01:13.068 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.250) 0:01:13.318 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.197) 0:01:13.516 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.603) 0:01:14.119 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.119) 0:01:14.239 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.122) 0:01:14.361 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.151) 0:01:14.513 ***** changed: [managed-node2] => { "_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, c9b4b7fe-3421-4276-a41c-567e3e87b3eb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:36 -0500 (0:00:01.048) 0:01:15.561 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.073) 0:01:15.634 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9b4b7fe-3421-4276-a41c-567e3e87b3eb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.079) 0:01:15.714 ***** ok: [managed-node2] => { "__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, c9b4b7fe-3421-4276-a41c-567e3e87b3eb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9b4b7fe-3421-4276-a41c-567e3e87b3eb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.108) 0:01:15.822 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.154) 0:01:15.977 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.811) 0:01:16.788 ***** ok: [managed-node2] => { "__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, c9b4b7fe-3421-4276-a41c-567e3e87b3eb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9b4b7fe-3421-4276-a41c-567e3e87b3eb" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.134) 0:01:16.923 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.342) 0:01:17.266 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.276) 0:01:17.542 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.234) 0:01:17.776 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.134) 0:01:17.911 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.127) 0:01:18.039 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:39 -0500 (0:00:01.050) 0:01:19.090 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:41 -0500 (0:00:01.551) 0:01:20.641 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.120) 0:01:20.762 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.119) 0:01:20.881 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.100) 0:01:20.982 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.091) 0:01:21.073 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.073) 0:01:21.146 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.113) 0:01:21.260 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.122) 0:01:21.382 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.200) 0:01:21.583 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.121) 0:01:21.705 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.115) 0:01:21.820 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.147) 0:01:21.968 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.625) 0:01:22.594 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.126) 0:01:22.720 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.121) 0:01:22.841 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.121) 0:01:22.963 ***** ok: [managed-node2] => { "_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, c9b4b7fe-3421-4276-a41c-567e3e87b3eb skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.777) 0:01:23.741 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.075) 0:01:23.816 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c9b4b7fe-3421-4276-a41c-567e3e87b3eb skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.078) 0:01:23.895 ***** ok: [managed-node2] => { "__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, c9b4b7fe-3421-4276-a41c-567e3e87b3eb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c9b4b7fe-3421-4276-a41c-567e3e87b3eb skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.081) 0:01:23.977 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.072) 0:01:24.050 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.355) 0:01:24.405 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.139) 0:01:24.545 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.150) 0:01:24.695 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.148) 0:01:24.844 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.207) 0:01:25.052 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.141) 0:01:25.193 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.125) 0:01:25.319 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:47 -0500 (0:00:01.018) 0:01:26.338 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:48 -0500 (0:00:01.326) 0:01:27.664 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.096) 0:01:27.761 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.076) 0:01:27.837 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.094) 0:01:27.931 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.113) 0:01:28.044 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.198) 0:01:28.243 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.133) 0:01:28.376 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.254) 0:01:28.631 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.245) 0:01:28.877 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.138) 0:01:29.015 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.115) 0:01:29.131 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.130) 0:01:29.261 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:51 -0500 (0:00:01.073) 0:01:30.334 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.282) 0:01:30.616 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.149) 0:01:30.766 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.121) 0:01:30.888 ***** changed: [managed-node2] => { "_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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.991) 0:01:31.880 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.202) 0:01:32.083 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.126) 0:01:32.210 ***** ok: [managed-node2] => { "__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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.103) 0:01:32.313 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.085) 0:01:32.398 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.654) 0:01:33.053 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.314) 0:01:33.367 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.213) 0:01:33.580 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1733576196.1962197, "block_size": 4096, "blocks": 0, "ctime": 1733576196.1922197, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17661, "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": 1733576196.1922197, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.701) 0:01:34.282 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.210) 0:01:34.493 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.239) 0:01:34.732 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.162) 0:01:34.894 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.474) 0:01:35.368 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.112) 0:01:35.481 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023399", "end": "2024-12-07 07:56:56.625267", "rc": 1, "start": "2024-12-07 07:56:56.601868" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.576) 0:01:36.057 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.138) 0:01:36.196 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.116) 0:01:36.312 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.090) 0:01:36.402 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.075) 0:01:36.478 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.076) 0:01:36.555 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.081) 0:01:36.636 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.132) 0:01:36.768 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.077) 0:01:36.846 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.156) 0:01:37.002 ***** fatal: [managed-node2]: 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.088267", "end": "2024-12-07 07:56:58.296530", "rc": 1, "start": "2024-12-07 07:56:58.208263" } STDOUT: Connection 'statebr' (c9b4b7fe-3421-4276-a41c-567e3e87b3eb) 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.628) 0:01:37.630 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.217) 0:01:37.848 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.126) 0:01:37.974 ***** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.226) 0:01:38.201 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.397) 0:01:38.598 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.244) 0:01:38.842 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003632", "end": "2024-12-07 07:57:00.131596", "rc": 0, "start": "2024-12-07 07:57:00.127964" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.753) 0:01:39.596 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.171) 0:01:39.767 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.137) 0:01:39.905 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.320) 0:01:40.226 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.330) 0:01:40.556 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.247) 0:01:40.804 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.154) 0:01:40.958 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.111) 0:01:41.069 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.112) 0:01:41.182 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:03 -0500 (0:00:01.133) 0:01:42.315 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:05 -0500 (0:00:01.901) 0:01:44.217 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.250) 0:01:44.468 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.155) 0:01:44.624 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.117) 0:01:44.741 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.105) 0:01:44.847 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.097) 0:01:44.945 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.094) 0:01:45.039 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.086) 0:01:45.126 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.188) 0:01:45.315 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.165) 0:01:45.480 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.179) 0:01:45.660 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:06 -0500 (0:00:00.144) 0:01:45.805 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.565) 0:01:46.370 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.122) 0:01:46.492 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.110) 0:01:46.603 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:07 -0500 (0:00:00.123) 0:01:46.726 ***** changed: [managed-node2] => { "_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, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:08 -0500 (0:00:01.324) 0:01:48.051 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:08 -0500 (0:00:00.133) 0:01:48.184 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.372) 0:01:48.557 ***** ok: [managed-node2] => { "__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, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.145) 0:01:48.702 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.171) 0:01:48.874 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.697) 0:01:49.571 ***** ok: [managed-node2] => { "__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, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.113) 0:01:49.684 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.162) 0:01:49.846 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.369) 0:01:50.216 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.163) 0:01:50.380 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.095) 0:01:50.476 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.080) 0:01:50.556 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:12 -0500 (0:00:01.235) 0:01:51.792 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:14 -0500 (0:00:01.649) 0:01:53.441 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.172) 0:01:53.614 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.178) 0:01:53.793 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.189) 0:01:53.982 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.129) 0:01:54.112 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.130) 0:01:54.242 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.122) 0:01:54.364 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.107) 0:01:54.472 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.190) 0:01:54.663 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.112) 0:01:54.775 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.092) 0:01:54.868 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.114) 0:01:54.983 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.774) 0:01:55.758 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.122) 0:01:55.881 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.119) 0:01:56.000 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.124) 0:01:56.125 ***** ok: [managed-node2] => { "_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, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:18 -0500 (0:00:01.140) 0:01:57.266 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.177) 0:01:57.444 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.239) 0:01:57.683 ***** ok: [managed-node2] => { "__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, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79dac820-e3dc-4e8f-ab86-c9501d1f6f09 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.140) 0:01:57.824 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.117) 0:01:57.941 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.717) 0:01:58.659 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.236) 0:01:58.896 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.203) 0:01:59.099 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.108) 0:01:59.208 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.127) 0:01:59.335 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.119) 0:01:59.455 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:21 -0500 (0:00:01.027) 0:02:00.482 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:22 -0500 (0:00:01.343) 0:02:01.826 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.109) 0:02:01.935 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.111) 0:02:02.046 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.113) 0:02:02.160 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.095) 0:02:02.255 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.090) 0:02:02.345 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.082) 0:02:02.427 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.078) 0:02:02.506 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.130) 0:02:02.637 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.075) 0:02:02.712 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.086) 0:02:02.799 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.080) 0:02:02.880 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.574) 0:02:03.454 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.135) 0:02:03.589 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.117) 0:02:03.707 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.155) 0:02:03.862 ***** changed: [managed-node2] => { "_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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.849) 0:02:04.711 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.119) 0:02:04.830 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.137) 0:02:04.968 ***** ok: [managed-node2] => { "__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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.120) 0:02:05.088 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.094) 0:02:05.183 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.411) 0:02:05.594 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.175) 0:02:05.770 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.213) 0:02:05.983 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.324) 0:02:06.308 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.119) 0:02:06.428 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.084) 0:02:06.512 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.081) 0:02:06.594 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:28 -0500 (0:00:01.271) 0:02:07.865 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:30 -0500 (0:00:01.624) 0:02:09.489 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:30 -0500 (0:00:00.094) 0:02:09.584 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:30 -0500 (0:00:00.117) 0:02:09.702 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:30 -0500 (0:00:00.131) 0:02:09.834 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:30 -0500 (0:00:00.124) 0:02:09.959 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:30 -0500 (0:00:00.126) 0:02:10.086 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:31 -0500 (0:00:00.131) 0:02:10.217 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:31 -0500 (0:00:00.146) 0:02:10.363 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:31 -0500 (0:00:00.174) 0:02:10.538 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:31 -0500 (0:00:00.109) 0:02:10.647 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:31 -0500 (0:00:00.111) 0:02:10.759 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:31 -0500 (0:00:00.101) 0:02:10.860 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.707) 0:02:11.567 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.137) 0:02:11.704 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.125) 0:02:11.830 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.118) 0:02:11.949 ***** changed: [managed-node2] => { "_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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:34 -0500 (0:00:01.385) 0:02:13.334 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:34 -0500 (0:00:00.125) 0:02:13.460 ***** ok: [managed-node2] => { "__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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:34 -0500 (0:00:00.103) 0:02:13.564 ***** ok: [managed-node2] => { "__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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:34 -0500 (0:00:00.084) 0:02:13.648 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:34 -0500 (0:00:00.076) 0:02:13.725 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:57:35 -0500 (0:00:00.543) 0:02:14.269 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:57:35 -0500 (0:00:00.236) 0:02:14.506 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:57:35 -0500 (0:00:00.490) 0:02:14.996 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:57:35 -0500 (0:00:00.120) 0:02:15.117 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:57:36 -0500 (0:00:00.356) 0:02:15.474 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:57:36 -0500 (0:00:00.083) 0:02:15.557 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020132", "end": "2024-12-07 07:57:36.772984", "rc": 1, "start": "2024-12-07 07:57:36.752852" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:57:36 -0500 (0:00:00.579) 0:02:16.137 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.108) 0:02:16.245 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.100) 0:02:16.346 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.096) 0:02:16.443 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.112) 0:02:16.555 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.117) 0:02:16.673 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.146) 0:02:16.819 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.278) 0:02:17.098 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:57:38 -0500 (0:00:00.354) 0:02:17.453 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:57:38 -0500 (0:00:00.556) 0:02:18.009 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:57:39 -0500 (0:00:00.200) 0:02:18.210 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:57:39 -0500 (0:00:00.115) 0:02:18.325 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:57:39 -0500 (0:00:00.257) 0:02:18.583 ***** fatal: [managed-node2]: 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.046228", "end": "2024-12-07 07:57:39.849629", "rc": 1, "start": "2024-12-07 07:57:39.803401" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 07 December 2024 07:57:39 -0500 (0:00:00.604) 0:02:19.188 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:57:40 -0500 (0:00:00.203) 0:02:19.391 ***** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:57:40 -0500 (0:00:00.096) 0:02:19.487 ***** ok: [managed-node2] => (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-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:57:40 -0500 (0:00:00.158) 0:02:19.646 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:57:40 -0500 (0:00:00.167) 0:02:19.813 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:57:40 -0500 (0:00:00.215) 0:02:20.029 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003428", "end": "2024-12-07 07:57:41.189371", "rc": 0, "start": "2024-12-07 07:57:41.185943" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.583) 0:02:20.612 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.203) 0:02:20.816 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.149) 0:02:20.966 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.377) 0:02:21.344 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.230) 0:02:21.575 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.258) 0:02:21.833 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.302) 0:02:22.136 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.151) 0:02:22.288 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.211) 0:02:22.499 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:44 -0500 (0:00:01.145) 0:02:23.645 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:45 -0500 (0:00:01.381) 0:02:25.026 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.221) 0:02:25.248 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.161) 0:02:25.410 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.165) 0:02:25.575 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.213) 0:02:25.788 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.169) 0:02:25.958 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.150) 0:02:26.109 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.136) 0:02:26.246 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.232) 0:02:26.479 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.194) 0:02:26.673 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.142) 0:02:26.816 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.141) 0:02:26.957 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.576) 0:02:27.534 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.088) 0:02:27.622 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.117) 0:02:27.740 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.155) 0:02:27.895 ***** changed: [managed-node2] => { "_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, 43ebf62f-c559-436b-a056-2ad8262ebf14 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.755) 0:02:28.651 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.072) 0:02:28.723 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 43ebf62f-c559-436b-a056-2ad8262ebf14" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.159) 0:02:28.882 ***** ok: [managed-node2] => { "__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, 43ebf62f-c559-436b-a056-2ad8262ebf14\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 43ebf62f-c559-436b-a056-2ad8262ebf14" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.141) 0:02:29.024 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.191) 0:02:29.216 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.583) 0:02:29.799 ***** ok: [managed-node2] => { "__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, 43ebf62f-c559-436b-a056-2ad8262ebf14\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 43ebf62f-c559-436b-a056-2ad8262ebf14" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.169) 0:02:29.968 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.378) 0:02:30.347 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.283) 0:02:30.630 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.203) 0:02:30.834 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.173) 0:02:31.007 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.122) 0:02:31.129 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:53 -0500 (0:00:01.246) 0:02:32.375 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:54 -0500 (0:00:01.701) 0:02:34.077 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.134) 0:02:34.211 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.122) 0:02:34.334 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.179) 0:02:34.514 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.168) 0:02:34.683 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.222) 0:02:34.906 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.167) 0:02:35.073 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.114) 0:02:35.188 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:56 -0500 (0:00:00.137) 0:02:35.325 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:56 -0500 (0:00:00.102) 0:02:35.428 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:56 -0500 (0:00:00.147) 0:02:35.575 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:56 -0500 (0:00:00.146) 0:02:35.722 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.635) 0:02:36.358 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.160) 0:02:36.518 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.159) 0:02:36.677 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.202) 0:02:36.880 ***** ok: [managed-node2] => { "_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, 43ebf62f-c559-436b-a056-2ad8262ebf14 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:58 -0500 (0:00:00.994) 0:02:37.874 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:58 -0500 (0:00:00.146) 0:02:38.021 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 43ebf62f-c559-436b-a056-2ad8262ebf14 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:58 -0500 (0:00:00.163) 0:02:38.185 ***** ok: [managed-node2] => { "__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, 43ebf62f-c559-436b-a056-2ad8262ebf14 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 43ebf62f-c559-436b-a056-2ad8262ebf14 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:59 -0500 (0:00:00.193) 0:02:38.378 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:59 -0500 (0:00:00.119) 0:02:38.498 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:57:59 -0500 (0:00:00.585) 0:02:39.084 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.243) 0:02:39.327 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.219) 0:02:39.547 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.171) 0:02:39.718 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.147) 0:02:39.866 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.118) 0:02:39.984 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:58:01 -0500 (0:00:01.195) 0:02:41.180 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:58:03 -0500 (0:00:01.322) 0:02:42.502 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:58:03 -0500 (0:00:00.077) 0:02:42.579 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:58:03 -0500 (0:00:00.080) 0:02:42.660 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:58:03 -0500 (0:00:00.100) 0:02:42.760 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:58:03 -0500 (0:00:00.112) 0:02:42.873 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:58:03 -0500 (0:00:00.112) 0:02:42.986 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:58:03 -0500 (0:00:00.126) 0:02:43.112 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:58:04 -0500 (0:00:00.172) 0:02:43.285 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:58:04 -0500 (0:00:00.281) 0:02:43.566 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:58:04 -0500 (0:00:00.127) 0:02:43.693 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:58:04 -0500 (0:00:00.116) 0:02:43.810 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:58:04 -0500 (0:00:00.194) 0:02:44.004 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.786) 0:02:44.791 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.127) 0:02:44.918 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.121) 0:02:45.040 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.119) 0:02:45.159 ***** changed: [managed-node2] => { "_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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:58:06 -0500 (0:00:00.937) 0:02:46.096 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:58:07 -0500 (0:00:00.107) 0:02:46.204 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:58:07 -0500 (0:00:00.101) 0:02:46.305 ***** ok: [managed-node2] => { "__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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:58:07 -0500 (0:00:00.090) 0:02:46.396 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:58:07 -0500 (0:00:00.098) 0:02:46.494 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:58:07 -0500 (0:00:00.422) 0:02:46.917 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:58:07 -0500 (0:00:00.152) 0:02:47.069 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.181) 0:02:47.250 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.261) 0:02:47.512 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.153) 0:02:47.666 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.183) 0:02:47.849 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.099) 0:02:47.949 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:58:09 -0500 (0:00:00.986) 0:02:48.935 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:58:11 -0500 (0:00:01.438) 0:02:50.374 ***** ok: [managed-node2] => {} 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:58:11 -0500 (0:00:00.094) 0:02:50.468 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:58:11 -0500 (0:00:00.075) 0:02:50.543 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:58:11 -0500 (0:00:00.088) 0:02:50.632 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:58:11 -0500 (0:00:00.126) 0:02:50.758 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:58:11 -0500 (0:00:00.118) 0:02:50.876 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:58:11 -0500 (0:00:00.208) 0:02:51.085 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:58:12 -0500 (0:00:00.196) 0:02:51.282 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:58:12 -0500 (0:00:00.266) 0:02:51.549 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:58:12 -0500 (0:00:00.208) 0:02:51.758 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:58:12 -0500 (0:00:00.129) 0:02:51.887 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:58:12 -0500 (0:00:00.125) 0:02:52.013 ***** ok: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.752) 0:02:52.766 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.194) 0:02:52.960 ***** skipping: [managed-node2] => { "censored": "the output 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.124) 0:02:53.085 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:58:14 -0500 (0:00:00.180) 0:02:53.265 ***** ok: [managed-node2] => { "_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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:58:15 -0500 (0:00:01.004) 0:02:54.270 ***** skipping: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:58:15 -0500 (0:00:00.124) 0:02:54.395 ***** ok: [managed-node2] => { "__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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:58:15 -0500 (0:00:00.242) 0:02:54.638 ***** ok: [managed-node2] => { "__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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:58:15 -0500 (0:00:00.166) 0:02:54.804 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:58:15 -0500 (0:00:00.149) 0:02:54.953 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:58:16 -0500 (0:00:00.496) 0:02:55.450 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:58:16 -0500 (0:00:00.370) 0:02:55.821 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:58:16 -0500 (0:00:00.184) 0:02:56.006 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:58:16 -0500 (0:00:00.098) 0:02:56.105 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:58:17 -0500 (0:00:00.545) 0:02:56.650 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:58:17 -0500 (0:00:00.184) 0:02:56.834 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020522", "end": "2024-12-07 07:58:18.107269", "rc": 1, "start": "2024-12-07 07:58:18.086747" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:58:18 -0500 (0:00:00.625) 0:02:57.460 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:58:18 -0500 (0:00:00.117) 0:02:57.577 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:58:18 -0500 (0:00:00.143) 0:02:57.720 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:58:18 -0500 (0:00:00.123) 0:02:57.843 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:58:18 -0500 (0:00:00.146) 0:02:57.990 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:58:18 -0500 (0:00:00.131) 0:02:58.122 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 07 December 2024 07:58:19 -0500 (0:00:00.267) 0:02:58.389 ***** [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-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.617547", "end": "2024-12-07 07:58:20.375115", "rc": 0, "start": "2024-12-07 07:58:19.757568" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 07 December 2024 07:58:20 -0500 (0:00:01.295) 0:02:59.684 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 07 December 2024 07:58:20 -0500 (0:00:00.148) 0:02:59.833 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:58:20 -0500 (0:00:00.160) 0:02:59.994 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:58:21 -0500 (0:00:00.284) 0:03:00.278 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:58:21 -0500 (0:00:00.131) 0:03:00.410 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:58:21 -0500 (0:00:00.356) 0:03:00.766 ***** ok: [managed-node2] => { "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:58:21 -0500 (0:00:00.092) 0:03:00.859 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:58:21 -0500 (0:00:00.113) 0:03:00.972 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:58:22 -0500 (0:00:00.255) 0:03:01.227 ***** fatal: [managed-node2]: 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.046357", "end": "2024-12-07 07:58:22.582687", "rc": 1, "start": "2024-12-07 07:58:22.536330" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 07 December 2024 07:58:22 -0500 (0:00:00.814) 0:03:02.041 ***** ok: [managed-node2] => { "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.007305", "end": "2024-12-07 07:58:23.408335", "rc": 0, "start": "2024-12-07 07:58:23.401030" } 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 0e:a7:14:74:3e:c7 brd ff:ff:ff:ff:ff:ff inet 10.31.42.66/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 2372sec preferred_lft 2372sec inet6 fe80::ca7:14ff:fe74:3ec7/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 62:ba:5e:f2:47:c4 brd ff:ff:ff:ff:ff:ff 24: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 2a:56:c1:ee:95:a3 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::2856:c1ff:feee:95a3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.66 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 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 fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 07 December 2024 07:58:23 -0500 (0:00:00.742) 0:03:02.784 ***** ok: [managed-node2] => { "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.550796", "end": "2024-12-07 07:58:24.757245", "rc": 0, "start": "2024-12-07 07:58:24.206449" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600: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 751 0 --:--:-- --:--:-- --:--:-- 753 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2307 0 --:--:-- --:--:-- --:--:-- 2309 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 07 December 2024 07:58:24 -0500 (0:00:01.229) 0:03:04.013 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.02s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.90s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.81s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.31s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install yum-utils package ----------------------------------------------- 1.30s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Get NetworkManager RPM version ------------------------------------------ 1.30s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7