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-Yz7/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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 25 January 2025 07:49:51 -0500 (0:00:00.039) 0:00:00.039 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 25 January 2025 07:49:52 -0500 (0:00:01.540) 0:00:01.580 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 25 January 2025 07:49:53 -0500 (0:00:00.232) 0:00:01.812 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 25 January 2025 07:49:53 -0500 (0:00:00.608) 0:00:02.421 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 25 January 2025 07:49:54 -0500 (0:00:00.776) 0:00:03.197 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 25 January 2025 07:49:54 -0500 (0:00:00.157) 0:00:03.355 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 25 January 2025 07:49:54 -0500 (0:00:00.142) 0:00:03.497 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 25 January 2025 07:49:54 -0500 (0:00:00.145) 0:00:03.643 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 25 January 2025 07:49:55 -0500 (0:00:00.693) 0:00:04.337 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 25 January 2025 07:49:56 -0500 (0:00:01.116) 0:00:05.453 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.164940", "end": "2025-01-25 07:49:57.188227", "rc": 0, "start": "2025-01-25 07:49:57.023287" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 25 January 2025 07:49:57 -0500 (0:00:00.615) 0:00:06.069 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 25 January 2025 07:49:57 -0500 (0:00:00.065) 0:00:06.134 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 25 January 2025 07:49:57 -0500 (0:00:00.096) 0:00:06.231 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 25 January 2025 07:49:57 -0500 (0:00:00.089) 0:00:06.320 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.908) 0:00:07.229 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.077) 0:00:07.307 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.078) 0:00:07.385 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.065) 0:00:07.450 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.131) 0:00:07.582 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.085) 0:00:07.668 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:49:58 -0500 (0:00:00.052) 0:00:07.721 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003244", "end": "2025-01-25 07:49:59.268090", "rc": 0, "start": "2025-01-25 07:49:59.264846" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:49:59 -0500 (0:00:00.412) 0:00:08.134 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:49:59 -0500 (0:00:00.061) 0:00:08.195 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:49:59 -0500 (0:00:00.042) 0:00:08.238 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 25 January 2025 07:49:59 -0500 (0:00:00.088) 0:00:08.326 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008196", "end": "2025-01-25 07:49:59.995053", "rc": 1, "start": "2025-01-25 07:49:59.986857" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.498) 0:00:08.825 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.060) 0:00:08.886 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.402) 0:00:09.288 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.047) 0:00:09.336 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.077) 0:00:09.414 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:00 -0500 (0:00:00.254) 0:00:09.669 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.117) 0:00:09.786 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.048) 0:00:09.834 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.039) 0:00:09.874 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:01 -0500 (0:00:00.043) 0:00:09.918 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:02 -0500 (0:00:01.565) 0:00:11.483 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:05 -0500 (0:00:02.475) 0:00:13.959 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.127) 0:00:14.087 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.130) 0:00:14.217 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.121) 0:00:14.339 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.166) 0:00:14.506 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.089) 0:00:14.595 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:05 -0500 (0:00:00.099) 0:00:14.695 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.076) 0:00:14.772 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.119) 0:00:14.892 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.107) 0:00:14.999 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.161) 0:00:15.161 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:06 -0500 (0:00:00.139) 0:00:15.300 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:07 -0500 (0:00:01.018) 0:00:16.319 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.119) 0:00:16.439 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.096) 0:00:16.535 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.076) 0:00:16.612 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b3659b9-6be7-46d7-aa9c-c01d9d4b0b25 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:09 -0500 (0:00:01.321) 0:00:17.933 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.196) 0:00:18.129 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b3659b9-6be7-46d7-aa9c-c01d9d4b0b25" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.230) 0:00:18.360 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b3659b9-6be7-46d7-aa9c-c01d9d4b0b25\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b3659b9-6be7-46d7-aa9c-c01d9d4b0b25" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.148) 0:00:18.508 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:09 -0500 (0:00:00.151) 0:00:18.660 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.548) 0:00:19.208 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b3659b9-6be7-46d7-aa9c-c01d9d4b0b25\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b3659b9-6be7-46d7-aa9c-c01d9d4b0b25" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.078) 0:00:19.287 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.151) 0:00:19.438 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.189) 0:00:19.628 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:10 -0500 (0:00:00.096) 0:00:19.724 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809409.0013003, "block_size": 4096, "blocks": 8, "ctime": 1737809408.9303007, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809408.9303007, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.404) 0:00:20.129 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:11 -0500 (0:00:00.094) 0:00:20.224 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021748", "end": "2025-01-25 07:50:11.800247", "rc": 0, "start": "2025-01-25 07:50:11.778499" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.575) 0:00:20.799 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.177) 0:00:20.977 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.164) 0:00:21.142 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.131) 0:00:21.274 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.160) 0:00:21.435 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:12 -0500 (0:00:00.162) 0:00:21.597 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.251) 0:00:21.848 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.147) 0:00:21.996 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.141) 0:00:22.138 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.208) 0:00:22.346 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:13 -0500 (0:00:00.211) 0:00:22.558 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809408.9373007, "block_size": 4096, "blocks": 0, "ctime": 1737809408.9323006, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "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": 1737809408.9323006, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.504) 0:00:23.063 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.128) 0:00:23.192 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.142) 0:00:23.334 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:14 -0500 (0:00:00.229) 0:00:23.564 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.073447", "end": "2025-01-25 07:50:15.255496", "rc": 1, "start": "2025-01-25 07:50:15.182049" } STDOUT: Connection 'statebr' (9b3659b9-6be7-46d7-aa9c-c01d9d4b0b25) 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.558) 0:00:24.122 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.152) 0:00:24.274 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.115) 0:00:24.390 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:15 -0500 (0:00:00.212) 0:00:24.602 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.269) 0:00:24.871 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.195) 0:00:25.067 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2025-01-25 07:50:16.826532", "rc": 0, "start": "2025-01-25 07:50:16.823108" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:16 -0500 (0:00:00.628) 0:00:25.695 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:17 -0500 (0:00:00.077) 0:00:25.772 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:17 -0500 (0:00:00.075) 0:00:25.848 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 25 January 2025 07:50:17 -0500 (0:00:00.164) 0:00:26.013 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007143", "end": "2025-01-25 07:50:17.555402", "rc": 1, "start": "2025-01-25 07:50:17.548259" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:17 -0500 (0:00:00.389) 0:00:26.402 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:17 -0500 (0:00:00.219) 0:00:26.622 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:18 -0500 (0:00:00.536) 0:00:27.158 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:18 -0500 (0:00:00.120) 0:00:27.278 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 25 January 2025 07:50:18 -0500 (0:00:00.266) 0:00:27.544 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.443) 0:00:27.988 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.206) 0:00:28.194 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.109) 0:00:28.304 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.113) 0:00:28.417 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:19 -0500 (0:00:00.113) 0:00:28.530 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:20 -0500 (0:00:00.964) 0:00:29.495 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:22 -0500 (0:00:01.298) 0:00:30.793 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.143) 0:00:30.936 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.117) 0:00:31.053 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.124) 0:00:31.178 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.146) 0:00:31.324 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.143) 0:00:31.468 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.145) 0:00:31.614 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:22 -0500 (0:00:00.132) 0:00:31.747 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.252) 0:00:32.000 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.188) 0:00:32.188 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.152) 0:00:32.340 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:23 -0500 (0:00:00.158) 0:00:32.498 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:24 -0500 (0:00:00.700) 0:00:33.199 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:24 -0500 (0:00:00.097) 0:00:33.297 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:24 -0500 (0:00:00.084) 0:00:33.381 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:24 -0500 (0:00:00.075) 0:00:33.456 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c5d17a4-a3fb-4906-bf05-6969263f5e46 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.992) 0:00:34.449 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.108) 0:00:34.558 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c5d17a4-a3fb-4906-bf05-6969263f5e46" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:25 -0500 (0:00:00.077) 0:00:34.635 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c5d17a4-a3fb-4906-bf05-6969263f5e46\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c5d17a4-a3fb-4906-bf05-6969263f5e46" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.157) 0:00:34.793 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.113) 0:00:34.906 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.449) 0:00:35.356 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c5d17a4-a3fb-4906-bf05-6969263f5e46\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c5d17a4-a3fb-4906-bf05-6969263f5e46" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.118) 0:00:35.474 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:50:26 -0500 (0:00:00.270) 0:00:35.745 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.196) 0:00:35.942 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.524) 0:00:36.466 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:27 -0500 (0:00:00.214) 0:00:36.681 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.272) 0:00:36.953 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.146) 0:00:37.100 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809425.4702435, "block_size": 4096, "blocks": 8, "ctime": 1737809425.4702435, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809425.4702435, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:28 -0500 (0:00:00.530) 0:00:37.630 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.122) 0:00:37.752 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020467", "end": "2025-01-25 07:50:29.506321", "rc": 0, "start": "2025-01-25 07:50:29.485854" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.644) 0:00:38.397 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:29 -0500 (0:00:00.201) 0:00:38.599 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.274) 0:00:38.873 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.099) 0:00:38.973 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.092) 0:00:39.065 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.122) 0:00:39.188 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.170) 0:00:39.358 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.167) 0:00:39.526 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.129) 0:00:39.656 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:30 -0500 (0:00:00.094) 0:00:39.750 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.125) 0:00:39.876 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:31 -0500 (0:00:00.373) 0:00:40.249 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046724", "end": "2025-01-25 07:50:32.096232", "rc": 1, "start": "2025-01-25 07:50:32.049508" } STDOUT: Connection 'statebr' (7c5d17a4-a3fb-4906-bf05-6969263f5e46) 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.750) 0:00:41.000 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.200) 0:00:41.201 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.092) 0:00:41.294 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.161) 0:00:41.455 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:32 -0500 (0:00:00.171) 0:00:41.627 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:33 -0500 (0:00:00.289) 0:00:41.917 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003828", "end": "2025-01-25 07:50:33.480007", "rc": 0, "start": "2025-01-25 07:50:33.476179" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:33 -0500 (0:00:00.452) 0:00:42.370 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:33 -0500 (0:00:00.123) 0:00:42.493 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:33 -0500 (0:00:00.110) 0:00:42.604 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.179) 0:00:42.784 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.159) 0:00:42.944 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.217) 0:00:43.162 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.137) 0:00:43.300 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.162) 0:00:43.463 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:34 -0500 (0:00:00.160) 0:00:43.624 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:35 -0500 (0:00:01.077) 0:00:44.702 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:37 -0500 (0:00:01.798) 0:00:46.500 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:37 -0500 (0:00:00.097) 0:00:46.598 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:37 -0500 (0:00:00.076) 0:00:46.674 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.086) 0:00:46.761 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.122) 0:00:46.883 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.115) 0:00:46.999 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.135) 0:00:47.135 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.151) 0:00:47.286 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.163) 0:00:47.450 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.097) 0:00:47.547 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:38 -0500 (0:00:00.114) 0:00:47.662 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:39 -0500 (0:00:00.128) 0:00:47.790 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:39 -0500 (0:00:00.578) 0:00:48.368 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:39 -0500 (0:00:00.141) 0:00:48.510 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:39 -0500 (0:00:00.217) 0:00:48.728 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:40 -0500 (0:00:00.125) 0:00:48.854 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:41 -0500 (0:00:01.240) 0:00:50.094 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.231) 0:00:50.326 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.181) 0:00:50.507 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:41 -0500 (0:00:00.115) 0:00:50.623 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.154) 0:00:50.777 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.457) 0:00:51.235 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.130) 0:00:51.365 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:50:42 -0500 (0:00:00.344) 0:00:51.710 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.228) 0:00:51.938 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.196) 0:00:52.135 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.141) 0:00:52.276 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.133) 0:00:52.410 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:43 -0500 (0:00:00.277) 0:00:52.687 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:50:44 -0500 (0:00:00.945) 0:00:53.633 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:50:46 -0500 (0:00:01.481) 0:00:55.114 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.125) 0:00:55.240 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.106) 0:00:55.347 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.090) 0:00:55.437 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.092) 0:00:55.530 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.088) 0:00:55.619 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:50:46 -0500 (0:00:00.104) 0:00:55.723 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.148) 0:00:55.872 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.324) 0:00:56.197 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.129) 0:00:56.326 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.104) 0:00:56.431 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:50:47 -0500 (0:00:00.115) 0:00:56.546 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.571) 0:00:57.117 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.124) 0:00:57.243 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.124) 0:00:57.367 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:50:48 -0500 (0:00:00.115) 0:00:57.483 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:50:49 -0500 (0:00:01.039) 0:00:58.523 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:50:49 -0500 (0:00:00.225) 0:00:58.748 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:50:50 -0500 (0:00:00.262) 0:00:59.010 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8ef71c0c-bd46-4b55-816b-c221c026605e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:50:50 -0500 (0:00:00.195) 0:00:59.205 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:50:50 -0500 (0:00:00.203) 0:00:59.409 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.560) 0:00:59.969 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.266) 0:01:00.236 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:50:51 -0500 (0:00:00.216) 0:01:00.453 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809441.1311893, "block_size": 4096, "blocks": 0, "ctime": 1737809441.1301894, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "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": 1737809441.1301894, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.620) 0:01:01.073 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.134) 0:01:01.207 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.234) 0:01:01.442 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:50:52 -0500 (0:00:00.141) 0:01:01.583 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809441.198189, "block_size": 4096, "blocks": 8, "ctime": 1737809441.1291893, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809441.1291893, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.497) 0:01:02.081 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:50:53 -0500 (0:00:00.158) 0:01:02.240 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021541", "end": "2025-01-25 07:50:54.018701", "rc": 0, "start": "2025-01-25 07:50:53.997160" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.748) 0:01:02.989 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.180) 0:01:03.169 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.104) 0:01:03.273 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.111) 0:01:03.385 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.138) 0:01:03.524 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:50:54 -0500 (0:00:00.126) 0:01:03.650 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.125) 0:01:03.776 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.122) 0:01:03.899 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.121) 0:01:04.021 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.126) 0:01:04.147 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.262) 0:01:04.409 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:50:55 -0500 (0:00:00.272) 0:01:04.682 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.081102", "end": "2025-01-25 07:50:56.300596", "rc": 1, "start": "2025-01-25 07:50:56.219494" } STDOUT: Connection 'statebr' (8ef71c0c-bd46-4b55-816b-c221c026605e) successfully deleted. STDERR: (process:14650): GLib-GIO-WARNING **: 07:50:56.279: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/18 but no object proxy exists (process:14650): GLib-GIO-WARNING **: 07:50:56.279: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/52 but no object proxy exists (process:14650): GLib-GIO-WARNING **: 07:50:56.279: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/40 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.523) 0:01:05.205 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.213) 0:01:05.418 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.096) 0:01:05.515 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:50:56 -0500 (0:00:00.170) 0:01:05.685 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.212) 0:01:05.898 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:50:57 -0500 (0:00:00.243) 0:01:06.141 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003699", "end": "2025-01-25 07:50:57.865911", "rc": 0, "start": "2025-01-25 07:50:57.862212" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.614) 0:01:06.756 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.119) 0:01:06.875 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.130) 0:01:07.005 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:50:58 -0500 (0:00:00.414) 0:01:07.420 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.332) 0:01:07.753 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.227) 0:01:07.980 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.159) 0:01:08.139 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.124) 0:01:08.263 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:50:59 -0500 (0:00:00.142) 0:01:08.406 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:00 -0500 (0:00:01.070) 0:01:09.476 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:02 -0500 (0:00:01.473) 0:01:10.949 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.123) 0:01:11.073 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.267) 0:01:11.341 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:02 -0500 (0:00:00.249) 0:01:11.590 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.234) 0:01:11.825 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.225) 0:01:12.050 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.240) 0:01:12.290 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.234) 0:01:12.525 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:04 -0500 (0:00:00.274) 0:01:12.799 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:04 -0500 (0:00:00.135) 0:01:12.934 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:04 -0500 (0:00:00.116) 0:01:13.051 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:04 -0500 (0:00:00.120) 0:01:13.172 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.592) 0:01:13.765 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.135) 0:01:13.900 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.103) 0:01:14.004 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.128) 0:01:14.133 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.805) 0:01:14.938 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.114) 0:01:15.052 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.091) 0:01:15.144 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.151) 0:01:15.296 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.105) 0:01:15.401 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.569) 0:01:15.971 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.124) 0:01:16.095 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.209) 0:01:16.305 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.270) 0:01:16.575 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.158) 0:01:16.734 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.117) 0:01:16.851 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.170) 0:01:17.022 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:09 -0500 (0:00:01.128) 0:01:18.151 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:10 -0500 (0:00:01.443) 0:01:19.594 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.095) 0:01:19.689 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.115) 0:01:19.805 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.155) 0:01:19.961 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.146) 0:01:20.108 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.152) 0:01:20.260 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.149) 0:01:20.410 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.134) 0:01:20.544 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.175) 0:01:20.720 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.094) 0:01:20.814 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.158) 0:01:20.972 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.150) 0:01:21.123 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:12 -0500 (0:00:00.599) 0:01:21.723 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.148) 0:01:21.871 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.171) 0:01:22.043 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.149) 0:01:22.193 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:14 -0500 (0:00:01.055) 0:01:23.248 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.141) 0:01:23.390 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.107) 0:01:23.498 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 66514584-39fb-4cd5-9639-f4c39518cf0b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.113) 0:01:23.612 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.182) 0:01:23.794 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.420) 0:01:24.214 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.193) 0:01:24.408 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:15 -0500 (0:00:00.261) 0:01:24.670 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.249) 0:01:24.919 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.149) 0:01:25.069 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.178) 0:01:25.247 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:16 -0500 (0:00:00.165) 0:01:25.413 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:17 -0500 (0:00:01.010) 0:01:26.424 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:19 -0500 (0:00:01.708) 0:01:28.132 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.120) 0:01:28.253 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.214) 0:01:28.468 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.255) 0:01:28.723 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.188) 0:01:28.912 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.248) 0:01:29.160 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.226) 0:01:29.386 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:20 -0500 (0:00:00.157) 0:01:29.544 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:21 -0500 (0:00:00.235) 0:01:29.779 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:21 -0500 (0:00:00.114) 0:01:29.894 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:21 -0500 (0:00:00.193) 0:01:30.088 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:21 -0500 (0:00:00.152) 0:01:30.240 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.592) 0:01:30.833 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.107) 0:01:30.941 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.115) 0:01:31.057 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:22 -0500 (0:00:00.139) 0:01:31.196 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.812) 0:01:32.009 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.075) 0:01:32.085 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.077) 0:01:32.162 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.080) 0:01:32.242 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.076) 0:01:32.319 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:51:23 -0500 (0:00:00.371) 0:01:32.691 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.233) 0:01:32.924 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.193) 0:01:33.118 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737809466.0131032, "block_size": 4096, "blocks": 0, "ctime": 1737809466.0081034, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17687, "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": 1737809466.0081034, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:51:24 -0500 (0:00:00.451) 0:01:33.570 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.200) 0:01:33.770 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.222) 0:01:33.993 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.115) 0:01:34.108 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.434) 0:01:34.543 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:51:25 -0500 (0:00:00.105) 0:01:34.648 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020966", "end": "2025-01-25 07:51:26.208110", "rc": 1, "start": "2025-01-25 07:51:26.187144" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.425) 0:01:35.074 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.117) 0:01:35.191 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.097) 0:01:35.288 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.097) 0:01:35.385 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.083) 0:01:35.469 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.086) 0:01:35.556 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:51:26 -0500 (0:00:00.119) 0:01:35.676 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.109) 0:01:35.786 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.121) 0:01:35.907 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.193) 0:01:36.100 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.068265", "end": "2025-01-25 07:51:27.672621", "rc": 1, "start": "2025-01-25 07:51:27.604356" } STDOUT: Connection 'statebr' (66514584-39fb-4cd5-9639-f4c39518cf0b) successfully deleted. STDERR: (process:16078): GLib-GIO-WARNING **: 07:51:27.653: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/19 but no object proxy exists (process:16078): GLib-GIO-WARNING **: 07:51:27.655: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/41 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 25 January 2025 07:51:27 -0500 (0:00:00.540) 0:01:36.640 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.210) 0:01:36.851 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.102) 0:01:36.953 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.170) 0:01:37.124 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.147) 0:01:37.272 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:51:28 -0500 (0:00:00.198) 0:01:37.471 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003504", "end": "2025-01-25 07:51:29.029135", "rc": 0, "start": "2025-01-25 07:51:29.025631" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:51:29 -0500 (0:00:00.449) 0:01:37.920 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:51:29 -0500 (0:00:00.128) 0:01:38.048 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:51:29 -0500 (0:00:00.210) 0:01:38.259 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:51:29 -0500 (0:00:00.314) 0:01:38.574 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.228) 0:01:38.803 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.307) 0:01:39.110 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.139) 0:01:39.250 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.084) 0:01:39.335 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.079) 0:01:39.415 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:31 -0500 (0:00:01.127) 0:01:40.542 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:33 -0500 (0:00:01.410) 0:01:41.953 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.133) 0:01:42.086 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.129) 0:01:42.215 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.123) 0:01:42.339 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.142) 0:01:42.482 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.132) 0:01:42.614 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.184) 0:01:42.798 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.214) 0:01:43.013 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.192) 0:01:43.205 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.108) 0:01:43.314 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.132) 0:01:43.446 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.141) 0:01:43.588 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.605) 0:01:44.194 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.163) 0:01:44.357 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.247) 0:01:44.605 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.164) 0:01:44.770 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.826) 0:01:45.597 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.127) 0:01:45.724 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.150) 0:01:45.875 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.122) 0:01:45.998 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.127) 0:01:46.126 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.575) 0:01:46.701 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:51:38 -0500 (0:00:00.165) 0:01:46.866 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:38 -0500 (0:00:00.388) 0:01:47.255 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:38 -0500 (0:00:00.272) 0:01:47.528 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:38 -0500 (0:00:00.143) 0:01:47.671 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:39 -0500 (0:00:00.114) 0:01:47.785 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:39 -0500 (0:00:00.117) 0:01:47.903 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.980) 0:01:48.884 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:41 -0500 (0:00:01.346) 0:01:50.230 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.198) 0:01:50.429 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.180) 0:01:50.610 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.113) 0:01:50.724 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.160) 0:01:50.884 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.187) 0:01:51.071 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.160) 0:01:51.232 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.148) 0:01:51.381 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.209) 0:01:51.590 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.122) 0:01:51.713 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.162) 0:01:51.875 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.155) 0:01:52.030 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.665) 0:01:52.696 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.129) 0:01:52.826 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.119) 0:01:52.945 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.124) 0:01:53.070 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.827) 0:01:53.897 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.091) 0:01:53.989 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.111) 0:01:54.101 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d23b59db-9ccf-47df-b9e5-800ddd935bd4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.206) 0:01:54.307 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.146) 0:01:54.454 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 25 January 2025 07:51:46 -0500 (0:00:00.577) 0:01:55.031 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:46 -0500 (0:00:00.203) 0:01:55.235 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:46 -0500 (0:00:00.259) 0:01:55.495 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:46 -0500 (0:00:00.181) 0:01:55.676 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:47 -0500 (0:00:00.128) 0:01:55.805 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:47 -0500 (0:00:00.191) 0:01:55.997 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:48 -0500 (0:00:01.324) 0:01:57.321 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:50 -0500 (0:00:01.626) 0:01:58.948 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.163) 0:01:59.112 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.126) 0:01:59.238 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.122) 0:01:59.360 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.145) 0:01:59.506 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.116) 0:01:59.623 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.162) 0:01:59.785 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.176) 0:01:59.961 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.216) 0:02:00.177 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.160) 0:02:00.338 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.188) 0:02:00.527 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.149) 0:02:00.676 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.816) 0:02:01.493 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.129) 0:02:01.623 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.201) 0:02:01.824 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.112) 0:02:01.937 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:54 -0500 (0:00:01.136) 0:02:03.075 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:54 -0500 (0:00:00.203) 0:02:03.278 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:54 -0500 (0:00:00.083) 0:02:03.362 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:54 -0500 (0:00:00.130) 0:02:03.493 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:54 -0500 (0:00:00.128) 0:02:03.622 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.470) 0:02:04.093 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.259) 0:02:04.353 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:55 -0500 (0:00:00.258) 0:02:04.611 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.298) 0:02:04.909 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.178) 0:02:05.087 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.108) 0:02:05.196 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.100) 0:02:05.296 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:57 -0500 (0:00:01.158) 0:02:06.455 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:59 -0500 (0:00:01.674) 0:02:08.129 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.116) 0:02:08.246 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.114) 0:02:08.361 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.130) 0:02:08.491 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.118) 0:02:08.609 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:59 -0500 (0:00:00.118) 0:02:08.727 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.123) 0:02:08.851 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.202) 0:02:09.054 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.319) 0:02:09.373 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.174) 0:02:09.548 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.228) 0:02:09.776 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.128) 0:02:09.904 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.786) 0:02:10.691 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.150) 0:02:10.842 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.113) 0:02:10.955 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.129) 0:02:11.084 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:03 -0500 (0:00:01.064) 0:02:12.149 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.076) 0:02:12.226 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.110) 0:02:12.336 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.167) 0:02:12.504 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.138) 0:02:12.642 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.510) 0:02:13.153 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.231) 0:02:13.384 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.187) 0:02:13.572 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.108) 0:02:13.680 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.441) 0:02:14.122 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.113) 0:02:14.235 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019341", "end": "2025-01-25 07:52:05.874633", "rc": 1, "start": "2025-01-25 07:52:05.855292" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:52:05 -0500 (0:00:00.498) 0:02:14.733 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:52:06 -0500 (0:00:00.082) 0:02:14.816 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:52:06 -0500 (0:00:00.079) 0:02:14.895 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:52:06 -0500 (0:00:00.087) 0:02:14.983 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:52:06 -0500 (0:00:00.077) 0:02:15.060 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:52:06 -0500 (0:00:00.075) 0:02:15.136 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:52:06 -0500 (0:00:00.081) 0:02:15.218 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:52:06 -0500 (0:00:00.146) 0:02:15.364 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:52:06 -0500 (0:00:00.144) 0:02:15.509 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:52:07 -0500 (0:00:00.384) 0:02:15.893 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:52:07 -0500 (0:00:00.081) 0:02:15.975 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:52:07 -0500 (0:00:00.092) 0:02:16.067 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:52:07 -0500 (0:00:00.143) 0:02:16.211 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041181", "end": "2025-01-25 07:52:07.754205", "rc": 1, "start": "2025-01-25 07:52:07.713024" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 25 January 2025 07:52:07 -0500 (0:00:00.455) 0:02:16.667 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 25 January 2025 07:52:08 -0500 (0:00:00.203) 0:02:16.870 ****** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 25 January 2025 07:52:08 -0500 (0:00:00.117) 0:02:16.987 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 25 January 2025 07:52:08 -0500 (0:00:00.217) 0:02:17.205 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:52:08 -0500 (0:00:00.197) 0:02:17.402 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:52:08 -0500 (0:00:00.191) 0:02:17.593 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003241", "end": "2025-01-25 07:52:09.145618", "rc": 0, "start": "2025-01-25 07:52:09.142377" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.438) 0:02:18.032 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.125) 0:02:18.158 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.130) 0:02:18.288 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.242) 0:02:18.531 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:09 -0500 (0:00:00.215) 0:02:18.746 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:10 -0500 (0:00:00.241) 0:02:18.987 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:10 -0500 (0:00:00.097) 0:02:19.084 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:10 -0500 (0:00:00.086) 0:02:19.171 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:10 -0500 (0:00:00.141) 0:02:19.312 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.986) 0:02:20.298 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:13 -0500 (0:00:01.540) 0:02:21.838 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.132) 0:02:21.971 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.132) 0:02:22.104 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.129) 0:02:22.234 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.145) 0:02:22.379 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.233) 0:02:22.612 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.283) 0:02:22.896 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.182) 0:02:23.079 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.183) 0:02:23.263 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.094) 0:02:23.357 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.089) 0:02:23.446 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.082) 0:02:23.529 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.602) 0:02:24.132 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.101) 0:02:24.234 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.116) 0:02:24.350 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.115) 0:02:24.466 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.820) 0:02:25.286 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.126) 0:02:25.413 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.153) 0:02:25.566 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.128) 0:02:25.694 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.150) 0:02:25.845 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.713) 0:02:26.559 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.123) 0:02:26.683 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.350) 0:02:27.034 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.263) 0:02:27.297 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.145) 0:02:27.442 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.206) 0:02:27.649 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.129) 0:02:27.778 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:20 -0500 (0:00:01.082) 0:02:28.861 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:21 -0500 (0:00:01.564) 0:02:30.425 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:21 -0500 (0:00:00.216) 0:02:30.641 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:22 -0500 (0:00:00.113) 0:02:30.755 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:22 -0500 (0:00:00.113) 0:02:30.868 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:22 -0500 (0:00:00.114) 0:02:30.983 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:22 -0500 (0:00:00.128) 0:02:31.112 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:22 -0500 (0:00:00.127) 0:02:31.239 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:22 -0500 (0:00:00.121) 0:02:31.361 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:22 -0500 (0:00:00.187) 0:02:31.549 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:22 -0500 (0:00:00.149) 0:02:31.698 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.124) 0:02:31.822 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.139) 0:02:31.961 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.665) 0:02:32.626 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.122) 0:02:32.749 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.113) 0:02:32.863 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.115) 0:02:32.978 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.952) 0:02:33.931 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.088) 0:02:34.019 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.091) 0:02:34.111 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18ad639d-b362-4a19-ab34-b7ddb1193c47 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.142) 0:02:34.254 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.136) 0:02:34.391 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.532) 0:02:34.923 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.327) 0:02:35.251 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.435) 0:02:35.686 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.162) 0:02:35.848 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.121) 0:02:35.969 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.110) 0:02:36.080 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:28 -0500 (0:00:00.989) 0:02:37.069 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:29 -0500 (0:00:01.653) 0:02:38.722 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.134) 0:02:38.857 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.153) 0:02:39.011 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.225) 0:02:39.237 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.125) 0:02:39.362 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.112) 0:02:39.475 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.111) 0:02:39.587 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.090) 0:02:39.677 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.176) 0:02:39.854 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.165) 0:02:40.019 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.170) 0:02:40.190 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.257) 0:02:40.447 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.725) 0:02:41.173 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.187) 0:02:41.360 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.148) 0:02:41.509 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.140) 0:02:41.649 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:34 -0500 (0:00:01.123) 0:02:42.773 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.237) 0:02:43.010 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.132) 0:02:43.143 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.128) 0:02:43.271 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:34 -0500 (0:00:00.121) 0:02:43.392 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.412) 0:02:43.805 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.253) 0:02:44.058 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.275) 0:02:44.334 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:35 -0500 (0:00:00.257) 0:02:44.591 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.293) 0:02:44.884 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.235) 0:02:45.120 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:36 -0500 (0:00:00.117) 0:02:45.238 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:37 -0500 (0:00:01.163) 0:02:46.401 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:39 -0500 (0:00:01.616) 0:02:48.017 ****** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:39 -0500 (0:00:00.140) 0:02:48.157 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:39 -0500 (0:00:00.138) 0:02:48.296 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:39 -0500 (0:00:00.124) 0:02:48.421 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:39 -0500 (0:00:00.115) 0:02:48.537 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:39 -0500 (0:00:00.103) 0:02:48.640 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:40 -0500 (0:00:00.115) 0:02:48.756 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:40 -0500 (0:00:00.123) 0:02:48.880 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:40 -0500 (0:00:00.174) 0:02:49.054 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:40 -0500 (0:00:00.126) 0:02:49.181 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:40 -0500 (0:00:00.125) 0:02:49.306 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:40 -0500 (0:00:00.085) 0:02:49.392 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:41 -0500 (0:00:00.710) 0:02:50.102 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:41 -0500 (0:00:00.227) 0:02:50.329 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:41 -0500 (0:00:00.190) 0:02:50.520 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:41 -0500 (0:00:00.145) 0:02:50.665 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:42 -0500 (0:00:00.929) 0:02:51.595 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:42 -0500 (0:00:00.149) 0:02:51.744 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:43 -0500 (0:00:00.152) 0:02:51.897 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:43 -0500 (0:00:00.146) 0:02:52.043 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:43 -0500 (0:00:00.143) 0:02:52.187 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 25 January 2025 07:52:43 -0500 (0:00:00.471) 0:02:52.658 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 January 2025 07:52:44 -0500 (0:00:00.262) 0:02:52.921 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:52:44 -0500 (0:00:00.165) 0:02:53.087 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:52:44 -0500 (0:00:00.136) 0:02:53.223 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:52:44 -0500 (0:00:00.513) 0:02:53.737 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:52:45 -0500 (0:00:00.123) 0:02:53.861 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019728", "end": "2025-01-25 07:52:45.617111", "rc": 1, "start": "2025-01-25 07:52:45.597383" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:52:45 -0500 (0:00:00.747) 0:02:54.609 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:52:46 -0500 (0:00:00.147) 0:02:54.756 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:52:46 -0500 (0:00:00.119) 0:02:54.876 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:52:46 -0500 (0:00:00.103) 0:02:54.980 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:52:46 -0500 (0:00:00.080) 0:02:55.060 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 January 2025 07:52:46 -0500 (0:00:00.104) 0:02:55.164 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 25 January 2025 07:52:46 -0500 (0:00:00.122) 0:02:55.287 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.623154", "end": "2025-01-25 07:52:47.449806", "rc": 0, "start": "2025-01-25 07:52:46.826652" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 25 January 2025 07:52:47 -0500 (0:00:01.024) 0:02:56.311 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 25 January 2025 07:52:47 -0500 (0:00:00.075) 0:02:56.386 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 25 January 2025 07:52:47 -0500 (0:00:00.076) 0:02:56.463 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 January 2025 07:52:47 -0500 (0:00:00.182) 0:02:56.646 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:52:48 -0500 (0:00:00.129) 0:02:56.776 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 January 2025 07:52:48 -0500 (0:00:00.442) 0:02:57.219 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 25 January 2025 07:52:48 -0500 (0:00:00.152) 0:02:57.372 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 25 January 2025 07:52:48 -0500 (0:00:00.247) 0:02:57.619 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 January 2025 07:52:49 -0500 (0:00:00.241) 0:02:57.861 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042852", "end": "2025-01-25 07:52:49.458869", "rc": 1, "start": "2025-01-25 07:52:49.416017" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 25 January 2025 07:52:49 -0500 (0:00:00.461) 0:02:58.322 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006915", "end": "2025-01-25 07:52:49.856938", "rc": 0, "start": "2025-01-25 07:52:49.850023" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:f2:45:c2:43 brd ff:ff:ff:ff:ff:ff inet 10.31.12.69/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 2423sec preferred_lft 2423sec inet6 fe80::8ff:f2ff:fe45:c243/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ee:f7:50:f3:e1:ee brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.69 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 25 January 2025 07:52:49 -0500 (0:00:00.426) 0:02:58.748 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.596676", "end": "2025-01-25 07:52:50.921215", "rc": 0, "start": "2025-01-25 07:52:50.324539" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1413 0 --:--:-- --:--:-- --:--:-- 1418 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 807 0 --:--:-- --:--:-- --:--:-- 806 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 25 January 2025 07:52:50 -0500 (0:00:00.984) 0:02:59.733 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.48s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-Yz7/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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.54s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-Yz7/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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.32s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21