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-PSz/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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 04 January 2025 16:49:28 -0500 (0:00:00.040) 0:00:00.040 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 04 January 2025 16:49:30 -0500 (0:00:01.420) 0:00:01.461 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 04 January 2025 16:49:30 -0500 (0:00:00.266) 0:00:01.727 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 04 January 2025 16:49:31 -0500 (0:00:00.520) 0:00:02.247 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 04 January 2025 16:49:31 -0500 (0:00:00.606) 0:00:02.854 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 04 January 2025 16:49:31 -0500 (0:00:00.124) 0:00:02.979 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 04 January 2025 16:49:31 -0500 (0:00:00.103) 0:00:03.082 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 04 January 2025 16:49:32 -0500 (0:00:00.143) 0:00:03.226 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 04 January 2025 16:49:32 -0500 (0:00:00.550) 0:00:03.776 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 04 January 2025 16:49:33 -0500 (0:00:01.112) 0:00:04.888 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.161647", "end": "2025-01-04 16:49:34.376685", "rc": 0, "start": "2025-01-04 16:49:34.215038" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.804) 0:00:05.692 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.039) 0:00:05.732 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.048) 0:00:05.781 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 04 January 2025 16:49:34 -0500 (0:00:00.052) 0:00:05.833 ****** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.825) 0:00:06.658 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.041) 0:00:06.700 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.075) 0:00:06.775 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.057) 0:00:06.832 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.135) 0:00:06.968 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.069) 0:00:07.037 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:49:35 -0500 (0:00:00.058) 0:00:07.096 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003493", "end": "2025-01-04 16:49:36.375157", "rc": 0, "start": "2025-01-04 16:49:36.371664" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:49:36 -0500 (0:00:00.572) 0:00:07.669 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:49:36 -0500 (0:00:00.075) 0:00:07.744 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:49:36 -0500 (0:00:00.074) 0:00:07.819 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 16:49:36 -0500 (0:00:00.154) 0:00:07.974 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009073", "end": "2025-01-04 16:49:37.079601", "rc": 1, "start": "2025-01-04 16:49:37.070528" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:49:37 -0500 (0:00:00.337) 0:00:08.312 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:49:37 -0500 (0:00:00.038) 0:00:08.350 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:49:37 -0500 (0:00:00.300) 0:00:08.650 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:49:37 -0500 (0:00:00.048) 0:00:08.699 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:49:37 -0500 (0:00:00.073) 0:00:08.772 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:49:37 -0500 (0:00:00.263) 0:00:09.036 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:49:37 -0500 (0:00:00.093) 0:00:09.129 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:49:37 -0500 (0:00:00.051) 0:00:09.181 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:49:38 -0500 (0:00:00.038) 0:00:09.219 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:49:38 -0500 (0:00:00.044) 0:00:09.264 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:49:39 -0500 (0:00:01.302) 0:00:10.567 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:49:41 -0500 (0:00:01.751) 0:00:12.318 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.194) 0:00:12.513 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.096) 0:00:12.610 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.091) 0:00:12.702 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.071) 0:00:12.773 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.070) 0:00:12.844 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.080) 0:00:12.924 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.085) 0:00:13.009 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:49:41 -0500 (0:00:00.178) 0:00:13.188 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.113) 0:00:13.302 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.129) 0:00:13.432 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:49:42 -0500 (0:00:00.156) 0:00:13.588 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:49:43 -0500 (0:00:01.152) 0:00:14.741 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:49:43 -0500 (0:00:00.229) 0:00:14.971 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:49:43 -0500 (0:00:00.118) 0:00:15.090 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:49:44 -0500 (0:00:00.115) 0:00:15.205 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b707db-d039-4143-8fea-9f63ba8a45c9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:49:45 -0500 (0:00:01.340) 0:00:16.545 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.089) 0:00:16.635 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b707db-d039-4143-8fea-9f63ba8a45c9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.135) 0:00:16.770 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b707db-d039-4143-8fea-9f63ba8a45c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b707db-d039-4143-8fea-9f63ba8a45c9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.121) 0:00:16.892 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:49:45 -0500 (0:00:00.111) 0:00:17.003 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.654) 0:00:17.657 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b707db-d039-4143-8fea-9f63ba8a45c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b707db-d039-4143-8fea-9f63ba8a45c9" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.127) 0:00:17.784 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:49:46 -0500 (0:00:00.255) 0:00:18.040 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.200) 0:00:18.241 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.078) 0:00:18.320 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027385.2317026, "block_size": 4096, "blocks": 8, "ctime": 1736027385.166702, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736027385.166702, "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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.391) 0:00:18.711 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:49:47 -0500 (0:00:00.090) 0:00:18.802 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023071", "end": "2025-01-04 16:49:47.928384", "rc": 0, "start": "2025-01-04 16:49:47.905313" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.457) 0:00:19.260 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.120) 0:00:19.380 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.121) 0:00:19.501 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.120) 0:00:19.621 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.154) 0:00:19.776 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.164) 0:00:19.941 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:49:48 -0500 (0:00:00.240) 0:00:20.182 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:49:49 -0500 (0:00:00.140) 0:00:20.322 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:49:49 -0500 (0:00:00.118) 0:00:20.441 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 16:49:49 -0500 (0:00:00.239) 0:00:20.680 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:49:49 -0500 (0:00:00.239) 0:00:20.920 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027385.1687021, "block_size": 4096, "blocks": 0, "ctime": 1736027385.167702, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17951, "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": 1736027385.167702, "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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.608) 0:00:21.529 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.149) 0:00:21.678 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.180) 0:00:21.859 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:49:50 -0500 (0:00:00.208) 0:00:22.067 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.072838", "end": "2025-01-04 16:49:51.237250", "rc": 1, "start": "2025-01-04 16:49:51.164412" } STDOUT: Connection 'statebr' (a9b707db-d039-4143-8fea-9f63ba8a45c9) successfully deleted. STDERR: (process:14182): GLib-GIO-WARNING **: 16:49:51.217: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/18 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.487) 0:00:22.554 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.175) 0:00:22.730 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.115) 0:00:22.845 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:49:51 -0500 (0:00:00.207) 0:00:23.053 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.342) 0:00:23.396 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.222) 0:00:23.618 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002925", "end": "2025-01-04 16:49:52.746781", "rc": 0, "start": "2025-01-04 16:49:52.743856" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:49:52 -0500 (0:00:00.484) 0:00:24.103 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:49:53 -0500 (0:00:00.126) 0:00:24.230 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:49:53 -0500 (0:00:00.162) 0:00:24.392 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 04 January 2025 16:49:53 -0500 (0:00:00.245) 0:00:24.638 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006416", "end": "2025-01-04 16:49:53.768228", "rc": 1, "start": "2025-01-04 16:49:53.761812" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:49:53 -0500 (0:00:00.426) 0:00:25.064 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.274) 0:00:25.339 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.495) 0:00:25.834 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:49:54 -0500 (0:00:00.144) 0:00:25.979 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.269) 0:00:26.249 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.371) 0:00:26.620 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.226) 0:00:26.846 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.112) 0:00:26.959 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.073) 0:00:27.032 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:49:55 -0500 (0:00:00.080) 0:00:27.113 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:49:56 -0500 (0:00:00.979) 0:00:28.093 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:49:58 -0500 (0:00:01.360) 0:00:29.453 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.125) 0:00:29.579 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.191) 0:00:29.770 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:49:58 -0500 (0:00:00.302) 0:00:30.072 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.142) 0:00:30.215 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.212) 0:00:30.428 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.163) 0:00:30.592 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.134) 0:00:30.726 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:49:59 -0500 (0:00:00.339) 0:00:31.066 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.244) 0:00:31.310 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.135) 0:00:31.446 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:00 -0500 (0:00:00.136) 0:00:31.582 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.759) 0:00:32.341 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.131) 0:00:32.473 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.123) 0:00:32.596 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:01 -0500 (0:00:00.100) 0:00:32.697 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 917b1903-f75c-4b48-a8ec-b5acf6d15ca6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:02 -0500 (0:00:01.027) 0:00:33.725 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.150) 0:00:33.875 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 917b1903-f75c-4b48-a8ec-b5acf6d15ca6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.122) 0:00:33.998 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 917b1903-f75c-4b48-a8ec-b5acf6d15ca6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 917b1903-f75c-4b48-a8ec-b5acf6d15ca6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:02 -0500 (0:00:00.136) 0:00:34.135 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.112) 0:00:34.247 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.483) 0:00:34.731 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 917b1903-f75c-4b48-a8ec-b5acf6d15ca6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 917b1903-f75c-4b48-a8ec-b5acf6d15ca6" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.117) 0:00:34.849 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:50:03 -0500 (0:00:00.227) 0:00:35.076 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.155) 0:00:35.231 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.338) 0:00:35.569 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.078) 0:00:35.648 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.141) 0:00:35.790 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:50:04 -0500 (0:00:00.119) 0:00:35.910 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027402.2658377, "block_size": 4096, "blocks": 8, "ctime": 1736027402.2658377, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22478, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736027402.2658377, "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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.371) 0:00:36.281 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.077) 0:00:36.358 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019960", "end": "2025-01-04 16:50:05.478261", "rc": 0, "start": "2025-01-04 16:50:05.458301" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.442) 0:00:36.801 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.107) 0:00:36.909 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:50:05 -0500 (0:00:00.186) 0:00:37.095 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.243) 0:00:37.339 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.156) 0:00:37.496 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.221) 0:00:37.717 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.227) 0:00:37.945 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:50:06 -0500 (0:00:00.232) 0:00:38.177 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.149) 0:00:38.327 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.165) 0:00:38.493 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.156) 0:00:38.650 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:50:07 -0500 (0:00:00.233) 0:00:38.883 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047502", "end": "2025-01-04 16:50:08.195302", "rc": 1, "start": "2025-01-04 16:50:08.147800" } STDOUT: Connection 'statebr' (917b1903-f75c-4b48-a8ec-b5acf6d15ca6) 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 04 January 2025 16:50:08 -0500 (0:00:00.691) 0:00:39.575 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:50:08 -0500 (0:00:00.213) 0:00:39.788 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:50:08 -0500 (0:00:00.118) 0:00:39.907 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:50:08 -0500 (0:00:00.194) 0:00:40.102 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:50:09 -0500 (0:00:00.225) 0:00:40.328 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:50:09 -0500 (0:00:00.262) 0:00:40.590 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003121", "end": "2025-01-04 16:50:09.774116", "rc": 0, "start": "2025-01-04 16:50:09.770995" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:50:09 -0500 (0:00:00.486) 0:00:41.077 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.124) 0:00:41.202 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.119) 0:00:41.321 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.259) 0:00:41.581 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.247) 0:00:41.828 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:10 -0500 (0:00:00.321) 0:00:42.150 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.159) 0:00:42.309 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.100) 0:00:42.410 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:11 -0500 (0:00:00.085) 0:00:42.496 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:12 -0500 (0:00:01.089) 0:00:43.585 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:14 -0500 (0:00:01.716) 0:00:45.301 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.115) 0:00:45.417 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.137) 0:00:45.555 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.111) 0:00:45.666 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.095) 0:00:45.761 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.124) 0:00:45.886 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:14 -0500 (0:00:00.121) 0:00:46.008 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.182) 0:00:46.190 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.199) 0:00:46.390 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.133) 0:00:46.524 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.129) 0:00:46.654 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:15 -0500 (0:00:00.131) 0:00:46.786 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:16 -0500 (0:00:00.632) 0:00:47.418 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:16 -0500 (0:00:00.120) 0:00:47.538 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:16 -0500 (0:00:00.115) 0:00:47.654 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:16 -0500 (0:00:00.117) 0:00:47.772 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:17 -0500 (0:00:01.018) 0:00:48.790 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.119) 0:00:48.910 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.124) 0:00:49.034 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:17 -0500 (0:00:00.134) 0:00:49.169 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:18 -0500 (0:00:00.115) 0:00:49.284 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:50:18 -0500 (0:00:00.631) 0:00:49.916 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:50:18 -0500 (0:00:00.133) 0:00:50.050 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.362) 0:00:50.412 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.325) 0:00:50.737 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:19 -0500 (0:00:00.311) 0:00:51.049 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.253) 0:00:51.302 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.164) 0:00:51.467 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:20 -0500 (0:00:00.109) 0:00:51.577 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:21 -0500 (0:00:01.219) 0:00:52.797 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:23 -0500 (0:00:01.410) 0:00:54.207 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.163) 0:00:54.371 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.130) 0:00:54.501 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.123) 0:00:54.625 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.115) 0:00:54.740 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.115) 0:00:54.856 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.127) 0:00:54.983 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:23 -0500 (0:00:00.187) 0:00:55.171 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.387) 0:00:55.558 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.213) 0:00:55.772 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:24 -0500 (0:00:00.346) 0:00:56.118 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.129) 0:00:56.248 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.702) 0:00:56.951 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:25 -0500 (0:00:00.162) 0:00:57.113 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.103) 0:00:57.216 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.092) 0:00:57.309 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:26 -0500 (0:00:00.830) 0:00:58.139 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.139) 0:00:58.278 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.109) 0:00:58.388 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5bf76030-2a63-4dbf-aa32-a500b220561c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.137) 0:00:58.525 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:27 -0500 (0:00:00.142) 0:00:58.668 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.604) 0:00:59.272 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.256) 0:00:59.529 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:50:28 -0500 (0:00:00.264) 0:00:59.793 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027417.412958, "block_size": 4096, "blocks": 0, "ctime": 1736027417.407958, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17951, "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": 1736027417.407958, "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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.530) 0:01:00.324 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.121) 0:01:00.445 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.238) 0:01:00.683 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:50:29 -0500 (0:00:00.154) 0:01:00.838 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027417.4709585, "block_size": 4096, "blocks": 8, "ctime": 1736027417.4069579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22478, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736027417.4069579, "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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.462) 0:01:01.301 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.120) 0:01:01.421 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020198", "end": "2025-01-04 16:50:30.515392", "rc": 0, "start": "2025-01-04 16:50:30.495194" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.416) 0:01:01.838 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.080) 0:01:01.918 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.118) 0:01:02.036 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:50:30 -0500 (0:00:00.131) 0:01:02.168 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.165) 0:01:02.333 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.176) 0:01:02.509 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.171) 0:01:02.681 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.147) 0:01:02.828 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.155) 0:01:02.984 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:50:31 -0500 (0:00:00.118) 0:01:03.102 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.206) 0:01:03.309 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.205) 0:01:03.514 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.076808", "end": "2025-01-04 16:50:32.706785", "rc": 1, "start": "2025-01-04 16:50:32.629977" } STDOUT: Connection 'statebr' (5bf76030-2a63-4dbf-aa32-a500b220561c) successfully deleted. STDERR: (process:15987): GLib-GIO-WARNING **: 16:50:32.683: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/19 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 04 January 2025 16:50:32 -0500 (0:00:00.530) 0:01:04.044 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:50:33 -0500 (0:00:00.242) 0:01:04.286 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:50:33 -0500 (0:00:00.207) 0:01:04.494 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:50:33 -0500 (0:00:00.273) 0:01:04.768 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:50:33 -0500 (0:00:00.206) 0:01:04.974 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:50:33 -0500 (0:00:00.203) 0:01:05.178 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004507", "end": "2025-01-04 16:50:35.473958", "rc": 0, "start": "2025-01-04 16:50:34.469451" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:50:35 -0500 (0:00:01.634) 0:01:06.813 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:50:35 -0500 (0:00:00.137) 0:01:06.950 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:50:35 -0500 (0:00:00.124) 0:01:07.075 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.332) 0:01:07.408 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.154) 0:01:07.563 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.145) 0:01:07.708 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.109) 0:01:07.818 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.157) 0:01:07.975 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:36 -0500 (0:00:00.141) 0:01:08.116 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:37 -0500 (0:00:01.023) 0:01:09.139 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:39 -0500 (0:00:01.613) 0:01:10.752 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.097) 0:01:10.850 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.096) 0:01:10.946 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:39 -0500 (0:00:00.141) 0:01:11.088 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.138) 0:01:11.226 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.122) 0:01:11.349 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.111) 0:01:11.460 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.100) 0:01:11.561 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.165) 0:01:11.726 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.168) 0:01:11.894 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.123) 0:01:12.017 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:40 -0500 (0:00:00.122) 0:01:12.140 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.627) 0:01:12.767 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.129) 0:01:12.897 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.143) 0:01:13.040 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:41 -0500 (0:00:00.119) 0:01:13.160 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:43 -0500 (0:00:01.058) 0:01:14.218 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.127) 0:01:14.346 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.122) 0:01:14.468 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.128) 0:01:14.596 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:43 -0500 (0:00:00.152) 0:01:14.749 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.661) 0:01:15.411 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.124) 0:01:15.535 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.146) 0:01:15.682 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.160) 0:01:15.842 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.092) 0:01:15.935 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.074) 0:01:16.010 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:44 -0500 (0:00:00.072) 0:01:16.082 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:45 -0500 (0:00:00.938) 0:01:17.020 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:47 -0500 (0:00:01.495) 0:01:18.515 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:47 -0500 (0:00:00.134) 0:01:18.650 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:47 -0500 (0:00:00.119) 0:01:18.769 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:47 -0500 (0:00:00.200) 0:01:18.970 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:47 -0500 (0:00:00.217) 0:01:19.187 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.128) 0:01:19.316 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.140) 0:01:19.457 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.120) 0:01:19.577 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.176) 0:01:19.754 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.105) 0:01:19.860 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.121) 0:01:19.982 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:48 -0500 (0:00:00.141) 0:01:20.124 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.638) 0:01:20.762 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.149) 0:01:20.912 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:49 -0500 (0:00:00.231) 0:01:21.144 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:50 -0500 (0:00:00.221) 0:01:21.366 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:51 -0500 (0:00:01.128) 0:01:22.494 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:51 -0500 (0:00:00.113) 0:01:22.608 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:51 -0500 (0:00:00.110) 0:01:22.719 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a0df1d1d-c47e-4dc4-9e9a-031fcff50f43 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:51 -0500 (0:00:00.100) 0:01:22.819 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:51 -0500 (0:00:00.088) 0:01:22.908 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.360) 0:01:23.268 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.152) 0:01:23.421 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.212) 0:01:23.633 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.228) 0:01:23.861 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.120) 0:01:23.981 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.094) 0:01:24.076 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:50:52 -0500 (0:00:00.106) 0:01:24.183 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:50:54 -0500 (0:00:01.014) 0:01:25.198 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:50:55 -0500 (0:00:01.272) 0:01:26.471 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.079) 0:01:26.550 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.094) 0:01:26.645 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.115) 0:01:26.761 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.116) 0:01:26.877 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.091) 0:01:26.968 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.102) 0:01:27.071 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:50:55 -0500 (0:00:00.103) 0:01:27.174 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.179) 0:01:27.353 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.090) 0:01:27.444 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.073) 0:01:27.518 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.082) 0:01:27.600 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:50:56 -0500 (0:00:00.528) 0:01:28.129 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.131) 0:01:28.261 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.117) 0:01:28.378 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:50:57 -0500 (0:00:00.133) 0:01:28.511 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:50:58 -0500 (0:00:01.131) 0:01:29.642 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:50:58 -0500 (0:00:00.118) 0:01:29.761 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:50:58 -0500 (0:00:00.119) 0:01:29.881 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:50:58 -0500 (0:00:00.215) 0:01:30.096 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.189) 0:01:30.286 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.485) 0:01:30.771 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 04 January 2025 16:50:59 -0500 (0:00:00.228) 0:01:31.000 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.277) 0:01:31.277 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736027442.7131586, "block_size": 4096, "blocks": 0, "ctime": 1736027442.7081585, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17962, "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": 1736027442.7081585, "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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.683) 0:01:31.961 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:51:00 -0500 (0:00:00.119) 0:01:32.081 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.181) 0:01:32.262 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.126) 0:01:32.389 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.621) 0:01:33.011 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:51:01 -0500 (0:00:00.091) 0:01:33.103 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019573", "end": "2025-01-04 16:51:02.361830", "rc": 1, "start": "2025-01-04 16:51:02.342257" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.579) 0:01:33.683 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.119) 0:01:33.802 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.167) 0:01:33.970 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:51:02 -0500 (0:00:00.111) 0:01:34.082 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.145) 0:01:34.227 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.137) 0:01:34.364 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.137) 0:01:34.501 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.106) 0:01:34.608 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.118) 0:01:34.727 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:51:03 -0500 (0:00:00.419) 0:01:35.147 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.077560", "end": "2025-01-04 16:51:04.317809", "rc": 1, "start": "2025-01-04 16:51:04.240249" } STDOUT: Connection 'statebr' (a0df1d1d-c47e-4dc4-9e9a-031fcff50f43) successfully deleted. STDERR: (process:17420): GLib-GIO-WARNING **: 16:51:04.298: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 04 January 2025 16:51:04 -0500 (0:00:00.460) 0:01:35.608 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:51:04 -0500 (0:00:00.185) 0:01:35.793 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:51:04 -0500 (0:00:00.131) 0:01:35.925 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:51:04 -0500 (0:00:00.248) 0:01:36.173 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.194) 0:01:36.368 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.144) 0:01:36.513 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003106", "end": "2025-01-04 16:51:05.613230", "rc": 0, "start": "2025-01-04 16:51:05.610124" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.432) 0:01:36.945 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:51:05 -0500 (0:00:00.123) 0:01:37.069 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.152) 0:01:37.221 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.278) 0:01:37.500 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.301) 0:01:37.801 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:06 -0500 (0:00:00.266) 0:01:38.068 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.141) 0:01:38.210 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.115) 0:01:38.325 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:07 -0500 (0:00:00.115) 0:01:38.441 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:08 -0500 (0:00:01.054) 0:01:39.496 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:09 -0500 (0:00:01.357) 0:01:40.853 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.125) 0:01:40.979 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:09 -0500 (0:00:00.126) 0:01:41.105 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.123) 0:01:41.229 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.194) 0:01:41.423 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.114) 0:01:41.538 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.167) 0:01:41.705 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.131) 0:01:41.837 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.193) 0:01:42.030 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:10 -0500 (0:00:00.144) 0:01:42.175 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:11 -0500 (0:00:00.168) 0:01:42.344 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:11 -0500 (0:00:00.152) 0:01:42.496 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.691) 0:01:43.188 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.124) 0:01:43.313 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.120) 0:01:43.433 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:12 -0500 (0:00:00.119) 0:01:43.553 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.955) 0:01:44.508 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.097) 0:01:44.606 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.124) 0:01:44.731 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.177) 0:01:44.908 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:13 -0500 (0:00:00.128) 0:01:45.037 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.607) 0:01:45.644 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.126) 0:01:45.771 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:14 -0500 (0:00:00.324) 0:01:46.096 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.415) 0:01:46.511 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.145) 0:01:46.657 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.137) 0:01:46.795 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:15 -0500 (0:00:00.177) 0:01:46.973 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:16 -0500 (0:00:01.138) 0:01:48.111 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:18 -0500 (0:00:01.733) 0:01:49.845 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:18 -0500 (0:00:00.196) 0:01:50.042 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:19 -0500 (0:00:00.146) 0:01:50.196 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:19 -0500 (0:00:00.233) 0:01:50.430 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:19 -0500 (0:00:00.224) 0:01:50.654 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:19 -0500 (0:00:00.207) 0:01:50.862 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:19 -0500 (0:00:00.255) 0:01:51.118 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.243) 0:01:51.361 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.221) 0:01:51.583 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.104) 0:01:51.687 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.107) 0:01:51.795 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:20 -0500 (0:00:00.120) 0:01:51.916 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.613) 0:01:52.529 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.099) 0:01:52.628 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.121) 0:01:52.750 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:21 -0500 (0:00:00.110) 0:01:52.861 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.752) 0:01:53.613 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.180) 0:01:53.794 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.140) 0:01:53.934 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c8958b4f-ae30-44a5-91e7-747bbf58cb57 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:22 -0500 (0:00:00.199) 0:01:54.134 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.110) 0:01:54.245 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.464) 0:01:54.709 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:23 -0500 (0:00:00.306) 0:01:55.016 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:24 -0500 (0:00:00.345) 0:01:55.361 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:24 -0500 (0:00:00.215) 0:01:55.577 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:24 -0500 (0:00:00.184) 0:01:55.761 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:24 -0500 (0:00:00.182) 0:01:55.943 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:25 -0500 (0:00:01.109) 0:01:57.053 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:27 -0500 (0:00:01.469) 0:01:58.523 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.134) 0:01:58.658 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.121) 0:01:58.779 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.184) 0:01:58.963 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:27 -0500 (0:00:00.159) 0:01:59.122 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.214) 0:01:59.336 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.183) 0:01:59.519 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.207) 0:01:59.727 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:28 -0500 (0:00:00.393) 0:02:00.120 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.217) 0:02:00.338 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.157) 0:02:00.495 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:29 -0500 (0:00:00.143) 0:02:00.639 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.591) 0:02:01.231 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.104) 0:02:01.335 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.089) 0:02:01.424 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:30 -0500 (0:00:00.219) 0:02:01.644 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.747) 0:02:02.392 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.098) 0:02:02.490 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.082) 0:02:02.572 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.078) 0:02:02.651 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.084) 0:02:02.735 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:51:31 -0500 (0:00:00.442) 0:02:03.178 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.219) 0:02:03.397 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.236) 0:02:03.634 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.246) 0:02:03.881 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.140) 0:02:04.021 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:32 -0500 (0:00:00.139) 0:02:04.161 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:33 -0500 (0:00:00.116) 0:02:04.277 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:34 -0500 (0:00:01.063) 0:02:05.341 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:35 -0500 (0:00:01.265) 0:02:06.606 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.124) 0:02:06.731 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.118) 0:02:06.850 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.114) 0:02:06.964 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.103) 0:02:07.068 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:35 -0500 (0:00:00.092) 0:02:07.161 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.094) 0:02:07.255 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.103) 0:02:07.359 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.262) 0:02:07.622 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.117) 0:02:07.739 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.122) 0:02:07.862 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:36 -0500 (0:00:00.127) 0:02:07.990 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:37 -0500 (0:00:00.554) 0:02:08.544 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:37 -0500 (0:00:00.080) 0:02:08.625 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:37 -0500 (0:00:00.076) 0:02:08.701 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:37 -0500 (0:00:00.074) 0:02:08.776 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.952) 0:02:09.728 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.077) 0:02:09.805 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.097) 0:02:09.903 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.124) 0:02:10.027 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:38 -0500 (0:00:00.117) 0:02:10.145 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:51:39 -0500 (0:00:00.520) 0:02:10.665 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:51:39 -0500 (0:00:00.232) 0:02:10.897 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.339) 0:02:11.237 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:51:40 -0500 (0:00:00.232) 0:02:11.469 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.754) 0:02:12.224 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.134) 0:02:12.358 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018862", "end": "2025-01-04 16:51:41.528688", "rc": 1, "start": "2025-01-04 16:51:41.509826" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.590) 0:02:12.948 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.104) 0:02:13.053 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:51:41 -0500 (0:00:00.117) 0:02:13.170 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.083) 0:02:13.253 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.109) 0:02:13.363 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.196) 0:02:13.559 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.160) 0:02:13.720 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.223) 0:02:13.943 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:51:42 -0500 (0:00:00.172) 0:02:14.116 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:51:43 -0500 (0:00:00.574) 0:02:14.691 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:51:43 -0500 (0:00:00.118) 0:02:14.809 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:51:43 -0500 (0:00:00.205) 0:02:15.015 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:51:44 -0500 (0:00:00.519) 0:02:15.534 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042598", "end": "2025-01-04 16:51:44.771498", "rc": 1, "start": "2025-01-04 16:51:44.728900" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 04 January 2025 16:51:44 -0500 (0:00:00.572) 0:02:16.107 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 04 January 2025 16:51:45 -0500 (0:00:00.238) 0:02:16.345 ****** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 04 January 2025 16:51:45 -0500 (0:00:00.133) 0:02:16.479 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 04 January 2025 16:51:45 -0500 (0:00:00.213) 0:02:16.692 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 04 January 2025 16:51:45 -0500 (0:00:00.255) 0:02:16.948 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 04 January 2025 16:51:45 -0500 (0:00:00.198) 0:02:17.147 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002949", "end": "2025-01-04 16:51:46.522743", "rc": 0, "start": "2025-01-04 16:51:46.519794" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.730) 0:02:17.878 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.157) 0:02:18.035 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 04 January 2025 16:51:46 -0500 (0:00:00.118) 0:02:18.154 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.212) 0:02:18.366 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.195) 0:02:18.562 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.207) 0:02:18.769 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.125) 0:02:18.894 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.099) 0:02:18.994 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:47 -0500 (0:00:00.145) 0:02:19.140 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:48 -0500 (0:00:00.954) 0:02:20.095 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:50 -0500 (0:00:01.775) 0:02:21.870 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:50 -0500 (0:00:00.188) 0:02:22.059 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:51:51 -0500 (0:00:00.253) 0:02:22.312 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:51:51 -0500 (0:00:00.178) 0:02:22.491 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:51:51 -0500 (0:00:00.230) 0:02:22.722 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:51:51 -0500 (0:00:00.115) 0:02:22.837 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:51:51 -0500 (0:00:00.111) 0:02:22.949 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:51:51 -0500 (0:00:00.098) 0:02:23.047 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:51:52 -0500 (0:00:00.207) 0:02:23.255 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:51:52 -0500 (0:00:00.145) 0:02:23.401 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:51:52 -0500 (0:00:00.101) 0:02:23.502 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:51:52 -0500 (0:00:00.098) 0:02:23.600 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.718) 0:02:24.318 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.120) 0:02:24.439 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.129) 0:02:24.569 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:51:53 -0500 (0:00:00.136) 0:02:24.705 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.954) 0:02:25.659 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.134) 0:02:25.794 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:51:54 -0500 (0:00:00.208) 0:02:26.002 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:51:55 -0500 (0:00:00.244) 0:02:26.247 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:51:55 -0500 (0:00:00.175) 0:02:26.422 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.768) 0:02:27.191 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.121) 0:02:27.312 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.193) 0:02:27.505 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.229) 0:02:27.735 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.177) 0:02:27.912 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:51:56 -0500 (0:00:00.115) 0:02:28.028 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:51:57 -0500 (0:00:00.216) 0:02:28.245 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:51:58 -0500 (0:00:01.084) 0:02:29.329 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:51:59 -0500 (0:00:01.670) 0:02:30.999 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:51:59 -0500 (0:00:00.165) 0:02:31.165 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:52:00 -0500 (0:00:00.132) 0:02:31.298 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:52:00 -0500 (0:00:00.115) 0:02:31.414 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:52:00 -0500 (0:00:00.126) 0:02:31.540 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:52:00 -0500 (0:00:00.132) 0:02:31.672 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:52:00 -0500 (0:00:00.147) 0:02:31.820 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:52:00 -0500 (0:00:00.134) 0:02:31.954 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:52:00 -0500 (0:00:00.218) 0:02:32.172 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.129) 0:02:32.302 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.158) 0:02:32.460 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:52:01 -0500 (0:00:00.240) 0:02:32.701 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:52:02 -0500 (0:00:00.601) 0:02:33.302 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:52:02 -0500 (0:00:00.131) 0:02:33.434 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:52:02 -0500 (0:00:00.114) 0:02:33.548 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:52:02 -0500 (0:00:00.133) 0:02:33.682 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:52:03 -0500 (0:00:00.997) 0:02:34.680 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:52:03 -0500 (0:00:00.075) 0:02:34.755 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:52:03 -0500 (0:00:00.076) 0:02:34.832 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0416c09a-0ef5-49b0-ab66-51b19166c9b8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:52:03 -0500 (0:00:00.182) 0:02:35.014 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:52:03 -0500 (0:00:00.136) 0:02:35.151 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:52:04 -0500 (0:00:00.439) 0:02:35.590 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:52:04 -0500 (0:00:00.240) 0:02:35.831 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:52:04 -0500 (0:00:00.268) 0:02:36.099 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:52:05 -0500 (0:00:00.165) 0:02:36.265 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:52:05 -0500 (0:00:00.133) 0:02:36.398 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:52:05 -0500 (0:00:00.116) 0:02:36.515 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:52:06 -0500 (0:00:01.199) 0:02:37.715 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:52:08 -0500 (0:00:01.564) 0:02:39.280 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:52:08 -0500 (0:00:00.135) 0:02:39.415 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:52:08 -0500 (0:00:00.160) 0:02:39.575 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:52:08 -0500 (0:00:00.142) 0:02:39.717 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:52:08 -0500 (0:00:00.210) 0:02:39.928 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:52:08 -0500 (0:00:00.162) 0:02:40.091 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.146) 0:02:40.238 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.108) 0:02:40.347 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.193) 0:02:40.541 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.210) 0:02:40.751 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.190) 0:02:40.942 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:52:09 -0500 (0:00:00.133) 0:02:41.076 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:52:10 -0500 (0:00:00.651) 0:02:41.727 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:52:10 -0500 (0:00:00.108) 0:02:41.836 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:52:10 -0500 (0:00:00.094) 0:02:41.930 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:52:10 -0500 (0:00:00.113) 0:02:42.044 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:52:11 -0500 (0:00:00.978) 0:02:43.022 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:52:11 -0500 (0:00:00.136) 0:02:43.159 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.083) 0:02:43.242 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.079) 0:02:43.322 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.076) 0:02:43.398 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.403) 0:02:43.802 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 04 January 2025 16:52:12 -0500 (0:00:00.244) 0:02:44.046 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.239) 0:02:44.285 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.261) 0:02:44.547 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.141) 0:02:44.689 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.115) 0:02:44.805 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 04 January 2025 16:52:13 -0500 (0:00:00.110) 0:02:44.916 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 04 January 2025 16:52:14 -0500 (0:00:01.124) 0:02:46.041 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 04 January 2025 16:52:16 -0500 (0:00:01.528) 0:02:47.569 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 04 January 2025 16:52:16 -0500 (0:00:00.080) 0:02:47.650 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 04 January 2025 16:52:16 -0500 (0:00:00.076) 0:02:47.726 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 04 January 2025 16:52:16 -0500 (0:00:00.085) 0:02:47.812 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 04 January 2025 16:52:16 -0500 (0:00:00.074) 0:02:47.887 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 04 January 2025 16:52:16 -0500 (0:00:00.084) 0:02:47.971 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 04 January 2025 16:52:16 -0500 (0:00:00.122) 0:02:48.093 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 04 January 2025 16:52:17 -0500 (0:00:00.122) 0:02:48.216 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 04 January 2025 16:52:17 -0500 (0:00:00.198) 0:02:48.415 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 04 January 2025 16:52:17 -0500 (0:00:00.115) 0:02:48.531 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 04 January 2025 16:52:17 -0500 (0:00:00.118) 0:02:48.649 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 04 January 2025 16:52:17 -0500 (0:00:00.102) 0:02:48.752 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 04 January 2025 16:52:18 -0500 (0:00:00.641) 0:02:49.393 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 04 January 2025 16:52:18 -0500 (0:00:00.121) 0:02:49.514 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 04 January 2025 16:52:18 -0500 (0:00:00.114) 0:02:49.628 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 04 January 2025 16:52:18 -0500 (0:00:00.110) 0:02:49.739 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 04 January 2025 16:52:19 -0500 (0:00:00.685) 0:02:50.424 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 04 January 2025 16:52:19 -0500 (0:00:00.073) 0:02:50.498 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 04 January 2025 16:52:19 -0500 (0:00:00.079) 0:02:50.578 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 04 January 2025 16:52:19 -0500 (0:00:00.094) 0:02:50.672 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 04 January 2025 16:52:19 -0500 (0:00:00.121) 0:02:50.793 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 04 January 2025 16:52:19 -0500 (0:00:00.356) 0:02:51.150 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 04 January 2025 16:52:20 -0500 (0:00:00.151) 0:02:51.302 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 04 January 2025 16:52:20 -0500 (0:00:00.136) 0:02:51.438 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 04 January 2025 16:52:20 -0500 (0:00:00.087) 0:02:51.526 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 04 January 2025 16:52:20 -0500 (0:00:00.494) 0:02:52.021 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 04 January 2025 16:52:21 -0500 (0:00:00.230) 0:02:52.252 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018471", "end": "2025-01-04 16:52:21.584767", "rc": 1, "start": "2025-01-04 16:52:21.566296" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 04 January 2025 16:52:21 -0500 (0:00:00.822) 0:02:53.074 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 04 January 2025 16:52:22 -0500 (0:00:00.192) 0:02:53.267 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 04 January 2025 16:52:22 -0500 (0:00:00.124) 0:02:53.392 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 04 January 2025 16:52:22 -0500 (0:00:00.167) 0:02:53.559 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 04 January 2025 16:52:22 -0500 (0:00:00.224) 0:02:53.784 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 04 January 2025 16:52:22 -0500 (0:00:00.199) 0:02:53.984 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 04 January 2025 16:52:23 -0500 (0:00:00.226) 0:02:54.210 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.613851", "end": "2025-01-04 16:52:24.053779", "rc": 0, "start": "2025-01-04 16:52:23.439928" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 04 January 2025 16:52:24 -0500 (0:00:01.179) 0:02:55.390 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 04 January 2025 16:52:24 -0500 (0:00:00.191) 0:02:55.582 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 04 January 2025 16:52:24 -0500 (0:00:00.252) 0:02:55.834 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 04 January 2025 16:52:24 -0500 (0:00:00.266) 0:02:56.100 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 04 January 2025 16:52:25 -0500 (0:00:00.263) 0:02:56.364 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 04 January 2025 16:52:25 -0500 (0:00:00.515) 0:02:56.879 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 04 January 2025 16:52:25 -0500 (0:00:00.169) 0:02:57.049 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 04 January 2025 16:52:26 -0500 (0:00:00.221) 0:02:57.271 ****** included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 04 January 2025 16:52:26 -0500 (0:00:00.303) 0:02:57.575 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040673", "end": "2025-01-04 16:52:26.744393", "rc": 1, "start": "2025-01-04 16:52:26.703720" } 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-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 04 January 2025 16:52:26 -0500 (0:00:00.569) 0:02:58.144 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006416", "end": "2025-01-04 16:52:27.387427", "rc": 0, "start": "2025-01-04 16:52:27.381011" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:49:62:6d:af:c3 brd ff:ff:ff:ff:ff:ff inet 10.31.11.151/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3217sec preferred_lft 3217sec inet6 fe80::1049:62ff:fe6d:afc3/64 scope link valid_lft forever preferred_lft forever 19: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 8a:cd:cb:ef:7d:04 brd ff:ff:ff:ff:ff:ff 26: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 76:a0:99:06:cc:53 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.151 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 04 January 2025 16:52:27 -0500 (0:00:00.570) 0:02:58.715 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.361132", "end": "2025-01-04 16:52:28.517569", "rc": 0, "start": "2025-01-04 16:52:28.156437" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 2227 0 --:--:-- --:--:-- --:--:-- 2242 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1415 0 --:--:-- --:--:-- --:--:-- 1419 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 04 January 2025 16:52:28 -0500 (0:00:01.051) 0:02:59.766 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.63s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.42s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.30s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.22s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.20s /tmp/collections-PSz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21