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-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 28 September 2024 11:55:31 -0400 (0:00:00.044) 0:00:00.044 **** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 28 September 2024 11:55:32 -0400 (0:00:01.268) 0:00:01.312 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 28 September 2024 11:55:32 -0400 (0:00:00.151) 0:00:01.464 **** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 28 September 2024 11:55:33 -0400 (0:00:00.699) 0:00:02.163 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 28 September 2024 11:55:34 -0400 (0:00:00.850) 0:00:03.014 **** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 28 September 2024 11:55:34 -0400 (0:00:00.068) 0:00:03.082 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 28 September 2024 11:55:34 -0400 (0:00:00.079) 0:00:03.162 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 28 September 2024 11:55:34 -0400 (0:00:00.123) 0:00:03.286 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 28 September 2024 11:55:35 -0400 (0:00:00.497) 0:00:03.783 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 28 September 2024 11:55:36 -0400 (0:00:01.094) 0:00:04.877 **** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.156112", "end": "2024-09-28 11:55:36.578656", "rc": 0, "start": "2024-09-28 11:55:36.422544" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.443) 0:00:05.321 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.082) 0:00:05.403 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.082) 0:00:05.486 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 28 September 2024 11:55:36 -0400 (0:00:00.085) 0:00:05.572 **** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.821) 0:00:06.394 **** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.081) 0:00:06.475 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:55:37 -0400 (0:00:00.115) 0:00:06.590 **** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:55:38 -0400 (0:00:00.096) 0:00:06.687 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:55:38 -0400 (0:00:00.184) 0:00:06.871 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:55:38 -0400 (0:00:00.064) 0:00:06.936 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:55:38 -0400 (0:00:00.061) 0:00:06.997 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002894", "end": "2024-09-28 11:55:38.615582", "rc": 0, "start": "2024-09-28 11:55:38.612688" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:55:38 -0400 (0:00:00.360) 0:00:07.358 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:55:38 -0400 (0:00:00.031) 0:00:07.390 **** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:55:38 -0400 (0:00:00.046) 0:00:07.437 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 28 September 2024 11:55:38 -0400 (0:00:00.091) 0:00:07.528 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007706", "end": "2024-09-28 11:55:39.126160", "rc": 1, "start": "2024-09-28 11:55:39.118454" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:55:39 -0400 (0:00:00.340) 0:00:07.869 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:55:39 -0400 (0:00:00.058) 0:00:07.928 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:55:39 -0400 (0:00:00.448) 0:00:08.376 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:55:39 -0400 (0:00:00.100) 0:00:08.476 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:55:39 -0400 (0:00:00.069) 0:00:08.546 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.215) 0:00:08.762 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.085) 0:00:08.848 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.046) 0:00:08.894 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.044) 0:00:08.939 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:55:40 -0400 (0:00:00.034) 0:00:08.974 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:55:41 -0400 (0:00:01.069) 0:00:10.043 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:55:43 -0400 (0:00:01.767) 0:00:11.810 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.174) 0:00:11.985 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.211) 0:00:12.197 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.123) 0:00:12.320 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.098) 0:00:12.419 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.073) 0:00:12.492 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:55:43 -0400 (0:00:00.092) 0:00:12.584 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.146) 0:00:12.731 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.150) 0:00:12.881 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.068) 0:00:12.949 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.070) 0:00:13.020 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:55:44 -0400 (0:00:00.075) 0:00:13.095 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.800) 0:00:13.896 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.107) 0:00:14.004 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.104) 0:00:14.109 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:55:45 -0400 (0:00:00.086) 0:00:14.195 **** 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, f22088d9-82b6-4387-8fbe-6b149050b756 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:55:46 -0400 (0:00:01.290) 0:00:15.485 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:55:46 -0400 (0:00:00.136) 0:00:15.622 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f22088d9-82b6-4387-8fbe-6b149050b756" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:55:47 -0400 (0:00:00.114) 0:00:15.737 **** 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, f22088d9-82b6-4387-8fbe-6b149050b756\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f22088d9-82b6-4387-8fbe-6b149050b756" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:55:47 -0400 (0:00:00.117) 0:00:15.855 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:55:47 -0400 (0:00:00.110) 0:00:15.966 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:55:47 -0400 (0:00:00.640) 0:00:16.606 **** 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, f22088d9-82b6-4387-8fbe-6b149050b756\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f22088d9-82b6-4387-8fbe-6b149050b756" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:55:48 -0400 (0:00:00.154) 0:00:16.761 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 September 2024 11:55:48 -0400 (0:00:00.187) 0:00:16.948 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:55:48 -0400 (0:00:00.125) 0:00:17.074 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:55:48 -0400 (0:00:00.068) 0:00:17.143 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538946.5712163, "block_size": 4096, "blocks": 8, "ctime": 1727538946.5072155, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22487, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1727538946.5072155, "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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:55:48 -0400 (0:00:00.321) 0:00:17.464 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:55:48 -0400 (0:00:00.073) 0:00:17.538 **** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021339", "end": "2024-09-28 11:55:49.130089", "rc": 0, "start": "2024-09-28 11:55:49.108750" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:55:49 -0400 (0:00:00.402) 0:00:17.941 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:55:49 -0400 (0:00:00.120) 0:00:18.061 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:55:49 -0400 (0:00:00.190) 0:00:18.251 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:55:49 -0400 (0:00:00.205) 0:00:18.457 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:55:49 -0400 (0:00:00.166) 0:00:18.624 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.114) 0:00:18.739 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.124) 0:00:18.863 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.115) 0:00:18.979 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.189) 0:00:19.168 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.227) 0:00:19.396 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:55:50 -0400 (0:00:00.194) 0:00:19.590 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538946.5172155, "block_size": 4096, "blocks": 0, "ctime": 1727538946.5092156, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17708, "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": 1727538946.5092156, "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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.438) 0:00:20.028 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.142) 0:00:20.171 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.174) 0:00:20.345 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:55:51 -0400 (0:00:00.231) 0:00:20.576 **** 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.070675", "end": "2024-09-28 11:55:52.265348", "rc": 1, "start": "2024-09-28 11:55:52.194673" } STDOUT: Connection 'statebr' (f22088d9-82b6-4387-8fbe-6b149050b756) successfully deleted. STDERR: (process:13227): GLib-GIO-WARNING **: 11:55:52.250: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 but no object proxy exists (process:13227): GLib-GIO-WARNING **: 11:55:52.250: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/34 but no object proxy exists (process:13227): GLib-GIO-WARNING **: 11:55:52.250: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/22 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 28 September 2024 11:55:52 -0400 (0:00:00.494) 0:00:21.071 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:55:52 -0400 (0:00:00.307) 0:00:21.379 **** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:55:52 -0400 (0:00:00.094) 0:00:21.473 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:55:52 -0400 (0:00:00.135) 0:00:21.609 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.241) 0:00:21.851 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.214) 0:00:22.065 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003011", "end": "2024-09-28 11:55:53.668458", "rc": 0, "start": "2024-09-28 11:55:53.665447" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.436) 0:00:22.501 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:55:53 -0400 (0:00:00.120) 0:00:22.622 **** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:55:54 -0400 (0:00:00.091) 0:00:22.713 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 28 September 2024 11:55:54 -0400 (0:00:00.213) 0:00:22.927 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006615", "end": "2024-09-28 11:55:54.550233", "rc": 1, "start": "2024-09-28 11:55:54.543618" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:55:54 -0400 (0:00:00.516) 0:00:23.444 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:55:54 -0400 (0:00:00.209) 0:00:23.653 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:55:55 -0400 (0:00:00.517) 0:00:24.170 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:55:55 -0400 (0:00:00.234) 0:00:24.405 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 28 September 2024 11:55:55 -0400 (0:00:00.250) 0:00:24.656 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.248) 0:00:24.904 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.217) 0:00:25.122 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.126) 0:00:25.248 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.108) 0:00:25.356 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:55:56 -0400 (0:00:00.105) 0:00:25.462 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:55:57 -0400 (0:00:00.997) 0:00:26.459 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:55:59 -0400 (0:00:01.593) 0:00:28.052 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.148) 0:00:28.201 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.106) 0:00:28.308 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.069) 0:00:28.378 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.101) 0:00:28.479 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:55:59 -0400 (0:00:00.114) 0:00:28.594 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:00 -0400 (0:00:00.125) 0:00:28.720 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:00 -0400 (0:00:00.123) 0:00:28.843 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:00 -0400 (0:00:00.241) 0:00:29.084 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:00 -0400 (0:00:00.133) 0:00:29.217 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:00 -0400 (0:00:00.115) 0:00:29.333 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:00 -0400 (0:00:00.128) 0:00:29.461 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:01 -0400 (0:00:00.684) 0:00:30.145 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:01 -0400 (0:00:00.078) 0:00:30.224 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:01 -0400 (0:00:00.072) 0:00:30.296 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:01 -0400 (0:00:00.072) 0:00:30.369 **** 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, 630edb43-f3d7-4373-aba1-3105e30d0b1f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.747) 0:00:31.116 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.154) 0:00:31.271 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 630edb43-f3d7-4373-aba1-3105e30d0b1f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:02 -0400 (0:00:00.223) 0:00:31.494 **** 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, 630edb43-f3d7-4373-aba1-3105e30d0b1f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 630edb43-f3d7-4373-aba1-3105e30d0b1f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.197) 0:00:31.691 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.114) 0:00:31.805 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.565) 0:00:32.371 **** 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, 630edb43-f3d7-4373-aba1-3105e30d0b1f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 630edb43-f3d7-4373-aba1-3105e30d0b1f" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:56:03 -0400 (0:00:00.186) 0:00:32.558 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:56:04 -0400 (0:00:00.392) 0:00:32.950 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:56:04 -0400 (0:00:00.258) 0:00:33.209 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:56:04 -0400 (0:00:00.429) 0:00:33.639 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.136) 0:00:33.776 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.232) 0:00:34.008 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.129) 0:00:34.137 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538962.2724557, "block_size": 4096, "blocks": 8, "ctime": 1727538962.2724557, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22487, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1727538962.2724557, "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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:56:05 -0400 (0:00:00.483) 0:00:34.621 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.320) 0:00:34.942 **** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019958", "end": "2024-09-28 11:56:06.664078", "rc": 0, "start": "2024-09-28 11:56:06.644120" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.506) 0:00:35.448 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.075) 0:00:35.523 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.075) 0:00:35.599 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:56:06 -0400 (0:00:00.074) 0:00:35.673 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.072) 0:00:35.745 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.075) 0:00:35.821 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.076) 0:00:35.898 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.096) 0:00:35.994 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.122) 0:00:36.117 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.086) 0:00:36.203 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.097) 0:00:36.301 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:56:07 -0400 (0:00:00.148) 0:00:36.449 **** 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.044871", "end": "2024-09-28 11:56:08.051742", "rc": 1, "start": "2024-09-28 11:56:08.006871" } STDOUT: Connection 'statebr' (630edb43-f3d7-4373-aba1-3105e30d0b1f) 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 28 September 2024 11:56:08 -0400 (0:00:00.369) 0:00:36.819 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:56:08 -0400 (0:00:00.126) 0:00:36.946 **** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:56:08 -0400 (0:00:00.146) 0:00:37.092 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:56:08 -0400 (0:00:00.189) 0:00:37.282 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:56:08 -0400 (0:00:00.212) 0:00:37.494 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:56:09 -0400 (0:00:00.191) 0:00:37.686 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003274", "end": "2024-09-28 11:56:09.517531", "rc": 0, "start": "2024-09-28 11:56:09.514257" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:56:09 -0400 (0:00:00.766) 0:00:38.453 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:56:09 -0400 (0:00:00.176) 0:00:38.629 **** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.197) 0:00:38.827 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.222) 0:00:39.049 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:10 -0400 (0:00:00.301) 0:00:39.350 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.354) 0:00:39.705 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.150) 0:00:39.856 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.104) 0:00:39.960 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:11 -0400 (0:00:00.088) 0:00:40.048 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:12 -0400 (0:00:01.152) 0:00:41.201 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:13 -0400 (0:00:01.325) 0:00:42.526 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.154) 0:00:42.681 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.133) 0:00:42.815 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.144) 0:00:42.959 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.157) 0:00:43.117 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.116) 0:00:43.233 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.129) 0:00:43.363 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:14 -0400 (0:00:00.121) 0:00:43.484 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.301) 0:00:43.785 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.187) 0:00:43.973 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.117) 0:00:44.091 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:15 -0400 (0:00:00.245) 0:00:44.336 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:16 -0400 (0:00:00.679) 0:00:45.016 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:16 -0400 (0:00:00.127) 0:00:45.144 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:16 -0400 (0:00:00.088) 0:00:45.232 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:16 -0400 (0:00:00.089) 0:00:45.322 **** 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, 0e388e3e-45f2-416c-a23a-82534d7665b0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.952) 0:00:46.275 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.139) 0:00:46.414 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0e388e3e-45f2-416c-a23a-82534d7665b0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.132) 0:00:46.547 **** 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, 0e388e3e-45f2-416c-a23a-82534d7665b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0e388e3e-45f2-416c-a23a-82534d7665b0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:17 -0400 (0:00:00.109) 0:00:46.657 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:18 -0400 (0:00:00.078) 0:00:46.735 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:56:18 -0400 (0:00:00.738) 0:00:47.474 **** 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, 0e388e3e-45f2-416c-a23a-82534d7665b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0e388e3e-45f2-416c-a23a-82534d7665b0" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:56:18 -0400 (0:00:00.168) 0:00:47.642 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.248) 0:00:47.891 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.238) 0:00:48.129 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.242) 0:00:48.372 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.119) 0:00:48.492 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:19 -0400 (0:00:00.112) 0:00:48.605 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:20 -0400 (0:00:00.109) 0:00:48.715 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:21 -0400 (0:00:01.016) 0:00:49.731 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:22 -0400 (0:00:01.308) 0:00:51.039 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:22 -0400 (0:00:00.125) 0:00:51.165 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:22 -0400 (0:00:00.242) 0:00:51.407 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:22 -0400 (0:00:00.209) 0:00:51.617 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.307) 0:00:51.925 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.204) 0:00:52.129 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.208) 0:00:52.338 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:23 -0400 (0:00:00.143) 0:00:52.481 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:24 -0400 (0:00:00.206) 0:00:52.688 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:24 -0400 (0:00:00.119) 0:00:52.807 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:24 -0400 (0:00:00.128) 0:00:52.936 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:24 -0400 (0:00:00.125) 0:00:53.061 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:24 -0400 (0:00:00.512) 0:00:53.574 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:25 -0400 (0:00:00.103) 0:00:53.678 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:25 -0400 (0:00:00.148) 0:00:53.826 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:25 -0400 (0:00:00.107) 0:00:53.934 **** 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, 0e388e3e-45f2-416c-a23a-82534d7665b0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:25 -0400 (0:00:00.674) 0:00:54.608 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.087) 0:00:54.696 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0e388e3e-45f2-416c-a23a-82534d7665b0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.092) 0:00:54.788 **** 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, 0e388e3e-45f2-416c-a23a-82534d7665b0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0e388e3e-45f2-416c-a23a-82534d7665b0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.128) 0:00:54.917 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:26 -0400 (0:00:00.180) 0:00:55.097 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:56:27 -0400 (0:00:00.677) 0:00:55.775 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 28 September 2024 11:56:27 -0400 (0:00:00.249) 0:00:56.025 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:56:27 -0400 (0:00:00.305) 0:00:56.330 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538977.400686, "block_size": 4096, "blocks": 0, "ctime": 1727538977.399686, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17708, "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": 1727538977.399686, "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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 28 September 2024 11:56:28 -0400 (0:00:00.568) 0:00:56.899 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 28 September 2024 11:56:28 -0400 (0:00:00.223) 0:00:57.122 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:56:28 -0400 (0:00:00.239) 0:00:57.362 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:56:28 -0400 (0:00:00.181) 0:00:57.543 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727538977.461687, "block_size": 4096, "blocks": 8, "ctime": 1727538977.398686, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1727538977.398686, "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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:56:29 -0400 (0:00:00.423) 0:00:57.967 **** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:56:29 -0400 (0:00:00.124) 0:00:58.091 **** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019584", "end": "2024-09-28 11:56:29.726144", "rc": 0, "start": "2024-09-28 11:56:29.706560" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:56:29 -0400 (0:00:00.464) 0:00:58.555 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.154) 0:00:58.710 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.130) 0:00:58.840 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.128) 0:00:58.968 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.224) 0:00:59.192 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.123) 0:00:59.315 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.133) 0:00:59.449 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 28 September 2024 11:56:30 -0400 (0:00:00.119) 0:00:59.568 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:56:31 -0400 (0:00:00.129) 0:00:59.698 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:56:31 -0400 (0:00:00.111) 0:00:59.810 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:56:31 -0400 (0:00:00.219) 0:01:00.030 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:56:31 -0400 (0:00:00.215) 0:01:00.246 **** 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.078764", "end": "2024-09-28 11:56:31.979387", "rc": 1, "start": "2024-09-28 11:56:31.900623" } STDOUT: Connection 'statebr' (0e388e3e-45f2-416c-a23a-82534d7665b0) successfully deleted. STDERR: (process:15033): GLib-GIO-WARNING **: 11:56:31.958: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 but no object proxy exists (process:15033): GLib-GIO-WARNING **: 11:56:31.958: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/36 but no object proxy exists (process:15033): GLib-GIO-WARNING **: 11:56:31.958: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/23 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 28 September 2024 11:56:32 -0400 (0:00:00.642) 0:01:00.888 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:56:32 -0400 (0:00:00.277) 0:01:01.166 **** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:56:32 -0400 (0:00:00.117) 0:01:01.283 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:56:32 -0400 (0:00:00.198) 0:01:01.481 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:56:32 -0400 (0:00:00.187) 0:01:01.669 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.188) 0:01:01.857 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003194", "end": "2024-09-28 11:56:33.504920", "rc": 0, "start": "2024-09-28 11:56:33.501726" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.458) 0:01:02.316 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.072) 0:01:02.389 **** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.091) 0:01:02.480 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:56:33 -0400 (0:00:00.135) 0:01:02.616 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.140) 0:01:02.756 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.225) 0:01:02.981 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.157) 0:01:03.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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.137) 0:01:03.276 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:34 -0400 (0:00:00.111) 0:01:03.388 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:35 -0400 (0:00:01.029) 0:01:04.418 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:37 -0400 (0:00:01.580) 0:01:05.999 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:37 -0400 (0:00:00.170) 0:01:06.170 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:37 -0400 (0:00:00.134) 0:01:06.304 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:37 -0400 (0:00:00.085) 0:01:06.390 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:37 -0400 (0:00:00.077) 0:01:06.467 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:37 -0400 (0:00:00.118) 0:01:06.585 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.152) 0:01:06.738 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.145) 0:01:06.883 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.219) 0:01:07.103 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.112) 0:01:07.215 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.174) 0:01:07.390 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:38 -0400 (0:00:00.133) 0:01:07.524 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:39 -0400 (0:00:00.605) 0:01:08.129 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:39 -0400 (0:00:00.076) 0:01:08.206 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:39 -0400 (0:00:00.116) 0:01:08.322 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:39 -0400 (0:00:00.220) 0:01:08.542 **** 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, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.855) 0:01:09.398 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.114) 0:01:09.512 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:40 -0400 (0:00:00.111) 0:01:09.624 **** 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, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:41 -0400 (0:00:00.121) 0:01:09.745 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:41 -0400 (0:00:00.185) 0:01:09.931 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:56:41 -0400 (0:00:00.432) 0:01:10.364 **** 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, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 September 2024 11:56:41 -0400 (0:00:00.130) 0:01:10.495 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.201) 0:01:10.697 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.193) 0:01:10.890 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.100) 0:01:10.991 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.097) 0:01:11.089 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:42 -0400 (0:00:00.115) 0:01:11.204 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:43 -0400 (0:00:01.078) 0:01:12.283 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:45 -0400 (0:00:01.419) 0:01:13.702 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.122) 0:01:13.825 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.079) 0:01:13.905 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.088) 0:01:13.994 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.146) 0:01:14.141 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.147) 0:01:14.288 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.131) 0:01:14.420 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:45 -0400 (0:00:00.127) 0:01:14.547 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:46 -0400 (0:00:00.290) 0:01:14.837 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:46 -0400 (0:00:00.224) 0:01:15.062 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:46 -0400 (0:00:00.162) 0:01:15.224 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:46 -0400 (0:00:00.122) 0:01:15.347 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:47 -0400 (0:00:00.715) 0:01:16.062 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:47 -0400 (0:00:00.162) 0:01:16.225 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:47 -0400 (0:00:00.109) 0:01:16.334 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:47 -0400 (0:00:00.115) 0:01:16.450 **** 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, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:48 -0400 (0:00:00.770) 0:01:17.220 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:48 -0400 (0:00:00.114) 0:01:17.335 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:48 -0400 (0:00:00.127) 0:01:17.462 **** 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, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 62c94ff4-a5ba-4a06-b453-a14be8e4c8bb skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:48 -0400 (0:00:00.127) 0:01:17.590 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:49 -0400 (0:00:00.131) 0:01:17.721 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:56:49 -0400 (0:00:00.379) 0:01:18.100 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 28 September 2024 11:56:49 -0400 (0:00:00.129) 0:01:18.230 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:56:49 -0400 (0:00:00.207) 0:01:18.438 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:56:49 -0400 (0:00:00.200) 0:01:18.638 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.229) 0:01:18.868 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.139) 0:01:19.007 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:56:50 -0400 (0:00:00.110) 0:01:19.118 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:56:51 -0400 (0:00:01.094) 0:01:20.213 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:56:53 -0400 (0:00:01.604) 0:01:21.818 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.137) 0:01:21.955 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.100) 0:01:22.055 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.091) 0:01:22.146 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.109) 0:01:22.256 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.166) 0:01:22.422 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:56:53 -0400 (0:00:00.160) 0:01:22.582 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.112) 0:01:22.695 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.304) 0:01:22.999 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.143) 0:01:23.143 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.137) 0:01:23.280 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:56:54 -0400 (0:00:00.119) 0:01:23.400 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:56:55 -0400 (0:00:00.518) 0:01:23.918 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:56:55 -0400 (0:00:00.119) 0:01:24.037 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:56:55 -0400 (0:00:00.119) 0:01:24.156 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:56:55 -0400 (0:00:00.129) 0:01:24.286 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:56:56 -0400 (0:00:00.742) 0:01:25.029 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:56:56 -0400 (0:00:00.109) 0:01:25.139 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:56:56 -0400 (0:00:00.112) 0:01:25.252 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:56:56 -0400 (0:00:00.141) 0:01:25.393 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:56:56 -0400 (0:00:00.106) 0:01:25.499 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.349) 0:01:25.849 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.191) 0:01:26.041 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.121) 0:01:26.162 **** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1727539000.4920402, "block_size": 4096, "blocks": 0, "ctime": 1727539000.48704, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17711, "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": 1727539000.48704, "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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.384) 0:01:26.547 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 September 2024 11:56:57 -0400 (0:00:00.088) 0:01:26.636 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.129) 0:01:26.765 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.072) 0:01:26.837 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.329) 0:01:27.166 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.070) 0:01:27.237 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019161", "end": "2024-09-28 11:56:58.827904", "rc": 1, "start": "2024-09-28 11:56:58.808743" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:56:58 -0400 (0:00:00.415) 0:01:27.652 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.125) 0:01:27.777 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.110) 0:01:27.888 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.114) 0:01:28.002 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.113) 0:01:28.116 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.113) 0:01:28.229 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.196) 0:01:28.425 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.130) 0:01:28.556 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:56:59 -0400 (0:00:00.120) 0:01:28.676 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.222) 0:01:28.899 **** 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.078335", "end": "2024-09-28 11:57:00.575929", "rc": 1, "start": "2024-09-28 11:57:00.497594" } STDOUT: Connection 'statebr' (62c94ff4-a5ba-4a06-b453-a14be8e4c8bb) successfully deleted. STDERR: (process:16461): GLib-GIO-WARNING **: 11:57:00.552: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/22 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.479) 0:01:29.378 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.160) 0:01:29.538 **** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:57:00 -0400 (0:00:00.108) 0:01:29.647 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.313) 0:01:29.960 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.264) 0:01:30.224 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:57:01 -0400 (0:00:00.182) 0:01:30.407 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2024-09-28 11:57:02.066717", "rc": 0, "start": "2024-09-28 11:57:02.063282" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:57:02 -0400 (0:00:00.530) 0:01:30.937 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:57:02 -0400 (0:00:00.119) 0:01:31.057 **** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:57:02 -0400 (0:00:00.127) 0:01:31.184 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:57:02 -0400 (0:00:00.299) 0:01:31.483 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:02 -0400 (0:00:00.167) 0:01:31.651 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:03 -0400 (0:00:00.286) 0:01:31.938 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:03 -0400 (0:00:00.222) 0:01:32.160 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:03 -0400 (0:00:00.136) 0:01:32.297 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:03 -0400 (0:00:00.171) 0:01:32.469 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:04 -0400 (0:00:01.107) 0:01:33.576 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:06 -0400 (0:00:01.343) 0:01:34.919 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:06 -0400 (0:00:00.223) 0:01:35.143 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:06 -0400 (0:00:00.130) 0:01:35.273 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:06 -0400 (0:00:00.131) 0:01:35.404 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:06 -0400 (0:00:00.114) 0:01:35.519 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:06 -0400 (0:00:00.111) 0:01:35.631 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.105) 0:01:35.737 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.094) 0:01:35.831 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.165) 0:01:35.997 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.115) 0:01:36.113 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.113) 0:01:36.226 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:07 -0400 (0:00:00.119) 0:01:36.346 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.736) 0:01:37.083 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.186) 0:01:37.269 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.178) 0:01:37.448 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:08 -0400 (0:00:00.177) 0:01:37.626 **** 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, a5f1dd9e-48ba-4609-a72f-baced2a2b46f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:10 -0400 (0:00:01.098) 0:01:38.725 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:10 -0400 (0:00:00.070) 0:01:38.795 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a5f1dd9e-48ba-4609-a72f-baced2a2b46f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:10 -0400 (0:00:00.148) 0:01:38.944 **** 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, a5f1dd9e-48ba-4609-a72f-baced2a2b46f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a5f1dd9e-48ba-4609-a72f-baced2a2b46f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:10 -0400 (0:00:00.171) 0:01:39.115 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:10 -0400 (0:00:00.131) 0:01:39.247 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:57:10 -0400 (0:00:00.393) 0:01:39.641 **** 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, a5f1dd9e-48ba-4609-a72f-baced2a2b46f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a5f1dd9e-48ba-4609-a72f-baced2a2b46f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 September 2024 11:57:11 -0400 (0:00:00.116) 0:01:39.758 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:11 -0400 (0:00:00.158) 0:01:39.917 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:11 -0400 (0:00:00.141) 0:01:40.058 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:11 -0400 (0:00:00.185) 0:01:40.243 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:11 -0400 (0:00:00.241) 0:01:40.484 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:11 -0400 (0:00:00.113) 0:01:40.598 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:13 -0400 (0:00:01.261) 0:01:41.859 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:14 -0400 (0:00:01.507) 0:01:43.367 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:14 -0400 (0:00:00.131) 0:01:43.499 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:14 -0400 (0:00:00.076) 0:01:43.575 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:14 -0400 (0:00:00.098) 0:01:43.674 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.193) 0:01:43.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.117) 0:01:43.985 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.124) 0:01:44.109 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.137) 0:01:44.247 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.250) 0:01:44.498 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:15 -0400 (0:00:00.122) 0:01:44.620 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:16 -0400 (0:00:00.118) 0:01:44.739 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:16 -0400 (0:00:00.138) 0:01:44.877 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:16 -0400 (0:00:00.729) 0:01:45.607 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.125) 0:01:45.732 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.084) 0:01:45.817 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:17 -0400 (0:00:00.084) 0:01:45.902 **** 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, a5f1dd9e-48ba-4609-a72f-baced2a2b46f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:18 -0400 (0:00:01.398) 0:01:47.300 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.176) 0:01:47.476 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a5f1dd9e-48ba-4609-a72f-baced2a2b46f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.079) 0:01:47.556 **** 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, a5f1dd9e-48ba-4609-a72f-baced2a2b46f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a5f1dd9e-48ba-4609-a72f-baced2a2b46f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:18 -0400 (0:00:00.101) 0:01:47.657 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.128) 0:01:47.786 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.416) 0:01:48.202 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.126) 0:01:48.329 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:19 -0400 (0:00:00.176) 0:01:48.506 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:20 -0400 (0:00:00.203) 0:01:48.710 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:20 -0400 (0:00:00.194) 0:01:48.904 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:20 -0400 (0:00:00.172) 0:01:49.076 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:21 -0400 (0:00:01.104) 0:01:50.180 **** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:23 -0400 (0:00:01.516) 0:01:51.697 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.098) 0:01:51.795 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.086) 0:01:51.882 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.083) 0:01:51.965 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.093) 0:01:52.059 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.157) 0:01:52.217 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.171) 0:01:52.388 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:23 -0400 (0:00:00.133) 0:01:52.522 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:24 -0400 (0:00:00.196) 0:01:52.718 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:24 -0400 (0:00:00.135) 0:01:52.854 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:24 -0400 (0:00:00.173) 0:01:53.028 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:24 -0400 (0:00:00.126) 0:01:53.155 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.591) 0:01:53.747 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.191) 0:01:53.939 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.156) 0:01:54.095 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:25 -0400 (0:00:00.150) 0:01:54.246 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:26 -0400 (0:00:01.019) 0:01:55.266 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:26 -0400 (0:00:00.144) 0:01:55.410 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:26 -0400 (0:00:00.149) 0:01:55.560 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:27 -0400 (0:00:00.133) 0:01:55.693 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:27 -0400 (0:00:00.124) 0:01:55.818 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:57:27 -0400 (0:00:00.506) 0:01:56.324 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 September 2024 11:57:27 -0400 (0:00:00.142) 0:01:56.466 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:27 -0400 (0:00:00.195) 0:01:56.661 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:28 -0400 (0:00:00.376) 0:01:57.038 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:28 -0400 (0:00:00.180) 0:01:57.219 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:28 -0400 (0:00:00.141) 0:01:57.360 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:28 -0400 (0:00:00.079) 0:01:57.439 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:29 -0400 (0:00:01.084) 0:01:58.524 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:31 -0400 (0:00:01.369) 0:01:59.893 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.118) 0:02:00.011 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.108) 0:02:00.120 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.113) 0:02:00.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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.089) 0:02:00.323 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.092) 0:02:00.416 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.091) 0:02:00.507 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:31 -0400 (0:00:00.129) 0:02:00.637 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:32 -0400 (0:00:00.194) 0:02:00.832 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:32 -0400 (0:00:00.116) 0:02:00.948 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:32 -0400 (0:00:00.113) 0:02:01.062 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:32 -0400 (0:00:00.123) 0:02:01.186 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.829) 0:02:02.015 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.125) 0:02:02.140 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.131) 0:02:02.272 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:33 -0400 (0:00:00.121) 0:02:02.394 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:34 -0400 (0:00:00.824) 0:02:03.219 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:34 -0400 (0:00:00.072) 0:02:03.291 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:34 -0400 (0:00:00.080) 0:02:03.372 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:34 -0400 (0:00:00.117) 0:02:03.489 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:34 -0400 (0:00:00.099) 0:02:03.589 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:57:35 -0400 (0:00:00.380) 0:02:03.969 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 September 2024 11:57:35 -0400 (0:00:00.196) 0:02:04.165 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:57:35 -0400 (0:00:00.155) 0:02:04.321 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:57:35 -0400 (0:00:00.073) 0:02:04.395 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:57:36 -0400 (0:00:00.442) 0:02:04.837 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:57:36 -0400 (0:00:00.108) 0:02:04.946 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017782", "end": "2024-09-28 11:57:36.560512", "rc": 1, "start": "2024-09-28 11:57:36.542730" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:57:36 -0400 (0:00:00.390) 0:02:05.336 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:57:36 -0400 (0:00:00.073) 0:02:05.409 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:57:36 -0400 (0:00:00.106) 0:02:05.516 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:57:36 -0400 (0:00:00.109) 0:02:05.625 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.124) 0:02:05.749 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.121) 0:02:05.871 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.122) 0:02:05.993 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.227) 0:02:06.221 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:57:37 -0400 (0:00:00.191) 0:02:06.413 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:57:38 -0400 (0:00:00.356) 0:02:06.770 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:57:38 -0400 (0:00:00.090) 0:02:06.860 **** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:57:38 -0400 (0:00:00.072) 0:02:06.933 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:57:38 -0400 (0:00:00.189) 0:02:07.123 **** 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.039494", "end": "2024-09-28 11:57:38.729386", "rc": 1, "start": "2024-09-28 11:57:38.689892" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 28 September 2024 11:57:38 -0400 (0:00:00.399) 0:02:07.522 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 28 September 2024 11:57:38 -0400 (0:00:00.127) 0:02:07.650 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.076) 0:02:07.726 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.148) 0:02:07.875 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.122) 0:02:07.997 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.117) 0:02:08.115 **** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003101", "end": "2024-09-28 11:57:39.672251", "rc": 0, "start": "2024-09-28 11:57:39.669150" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.371) 0:02:08.487 **** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:57:39 -0400 (0:00:00.121) 0:02:08.609 **** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.153) 0:02:08.762 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.442) 0:02:09.205 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:40 -0400 (0:00:00.260) 0:02:09.465 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:41 -0400 (0:00:00.377) 0:02:09.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 : Check if system is ostree] *********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:41 -0400 (0:00:00.163) 0:02:10.005 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:41 -0400 (0:00:00.134) 0:02:10.140 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:41 -0400 (0:00:00.125) 0:02:10.266 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:42 -0400 (0:00:01.218) 0:02:11.485 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:44 -0400 (0:00:01.510) 0:02:12.995 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.132) 0:02:13.128 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.112) 0:02:13.240 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.113) 0:02:13.354 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:44 -0400 (0:00:00.118) 0:02:13.472 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:45 -0400 (0:00:00.263) 0:02:13.735 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:45 -0400 (0:00:00.145) 0:02:13.880 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:45 -0400 (0:00:00.144) 0:02:14.025 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:45 -0400 (0:00:00.235) 0:02:14.260 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:45 -0400 (0:00:00.120) 0:02:14.380 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:45 -0400 (0:00:00.229) 0:02:14.610 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.192) 0:02:14.802 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.598) 0:02:15.401 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.123) 0:02:15.524 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:46 -0400 (0:00:00.113) 0:02:15.637 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:47 -0400 (0:00:00.115) 0:02:15.753 **** 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, b69808f3-619f-405e-8e5c-c6a8c14aa144 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:47 -0400 (0:00:00.785) 0:02:16.539 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:47 -0400 (0:00:00.080) 0:02:16.619 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b69808f3-619f-405e-8e5c-c6a8c14aa144" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.081) 0:02:16.700 **** 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, b69808f3-619f-405e-8e5c-c6a8c14aa144\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b69808f3-619f-405e-8e5c-c6a8c14aa144" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.122) 0:02:16.823 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.110) 0:02:16.934 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 28 September 2024 11:57:48 -0400 (0:00:00.623) 0:02:17.558 **** 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, b69808f3-619f-405e-8e5c-c6a8c14aa144\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b69808f3-619f-405e-8e5c-c6a8c14aa144" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 28 September 2024 11:57:49 -0400 (0:00:00.208) 0:02:17.767 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:49 -0400 (0:00:00.357) 0:02:18.124 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:49 -0400 (0:00:00.241) 0:02:18.366 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:49 -0400 (0:00:00.189) 0:02:18.556 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:49 -0400 (0:00:00.109) 0:02:18.665 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:50 -0400 (0:00:00.108) 0:02:18.774 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:50 -0400 (0:00:00.895) 0:02:19.669 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:57:52 -0400 (0:00:01.338) 0:02:21.007 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:57:52 -0400 (0:00:00.180) 0:02:21.187 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:57:52 -0400 (0:00:00.322) 0:02:21.510 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:57:53 -0400 (0:00:00.225) 0:02:21.736 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:57:53 -0400 (0:00:00.207) 0:02:21.944 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:57:53 -0400 (0:00:00.161) 0:02:22.105 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:57:53 -0400 (0:00:00.158) 0:02:22.264 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:57:53 -0400 (0:00:00.154) 0:02:22.418 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:57:54 -0400 (0:00:00.265) 0:02:22.684 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:57:54 -0400 (0:00:00.185) 0:02:22.870 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:57:54 -0400 (0:00:00.190) 0:02:23.060 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:57:54 -0400 (0:00:00.167) 0:02:23.228 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:57:55 -0400 (0:00:00.578) 0:02:23.807 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:57:55 -0400 (0:00:00.141) 0:02:23.948 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:57:55 -0400 (0:00:00.105) 0:02:24.054 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:57:55 -0400 (0:00:00.111) 0:02:24.166 **** 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, b69808f3-619f-405e-8e5c-c6a8c14aa144 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:57:56 -0400 (0:00:00.850) 0:02:25.016 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:57:56 -0400 (0:00:00.219) 0:02:25.236 **** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b69808f3-619f-405e-8e5c-c6a8c14aa144 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:57:56 -0400 (0:00:00.181) 0:02:25.417 **** 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, b69808f3-619f-405e-8e5c-c6a8c14aa144 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b69808f3-619f-405e-8e5c-c6a8c14aa144 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:57:57 -0400 (0:00:00.272) 0:02:25.690 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:57:57 -0400 (0:00:00.110) 0:02:25.800 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 September 2024 11:57:57 -0400 (0:00:00.438) 0:02:26.239 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:57:57 -0400 (0:00:00.309) 0:02:26.549 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:57:58 -0400 (0:00:00.344) 0:02:26.894 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:57:58 -0400 (0:00:00.148) 0:02:27.042 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:57:58 -0400 (0:00:00.186) 0:02:27.229 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:57:58 -0400 (0:00:00.129) 0:02:27.358 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:57:59 -0400 (0:00:01.123) 0:02:28.482 **** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:58:01 -0400 (0:00:01.600) 0:02:30.082 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:58:01 -0400 (0:00:00.168) 0:02:30.251 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:58:01 -0400 (0:00:00.254) 0:02:30.506 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:58:02 -0400 (0:00:00.224) 0:02:30.730 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:58:02 -0400 (0:00:00.158) 0:02:30.889 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:58:02 -0400 (0:00:00.162) 0:02:31.052 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:58:02 -0400 (0:00:00.126) 0:02:31.179 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:58:02 -0400 (0:00:00.096) 0:02:31.275 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:58:02 -0400 (0:00:00.193) 0:02:31.469 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:58:02 -0400 (0:00:00.148) 0:02:31.618 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:58:03 -0400 (0:00:00.093) 0:02:31.711 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:58:03 -0400 (0:00:00.097) 0:02:31.808 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:58:03 -0400 (0:00:00.501) 0:02:32.310 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:58:03 -0400 (0:00:00.095) 0:02:32.406 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:58:03 -0400 (0:00:00.125) 0:02:32.532 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:58:03 -0400 (0:00:00.105) 0:02:32.637 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:58:04 -0400 (0:00:00.864) 0:02:33.501 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:58:05 -0400 (0:00:00.207) 0:02:33.709 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:58:05 -0400 (0:00:00.190) 0:02:33.899 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:58:05 -0400 (0:00:00.120) 0:02:34.020 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:58:05 -0400 (0:00:00.191) 0:02:34.212 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 28 September 2024 11:58:06 -0400 (0:00:00.720) 0:02:34.932 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 28 September 2024 11:58:06 -0400 (0:00:00.299) 0:02:35.232 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 28 September 2024 11:58:06 -0400 (0:00:00.213) 0:02:35.445 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 28 September 2024 11:58:06 -0400 (0:00:00.192) 0:02:35.637 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 28 September 2024 11:58:07 -0400 (0:00:00.129) 0:02:35.767 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 28 September 2024 11:58:07 -0400 (0:00:00.120) 0:02:35.887 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 28 September 2024 11:58:07 -0400 (0:00:00.116) 0:02:36.006 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 28 September 2024 11:58:08 -0400 (0:00:01.106) 0:02:37.113 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 28 September 2024 11:58:09 -0400 (0:00:01.468) 0:02:38.581 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.126) 0:02:38.707 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.140) 0:02:38.848 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.125) 0:02:38.974 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.120) 0:02:39.094 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.110) 0:02:39.204 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.114) 0:02:39.319 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.092) 0:02:39.412 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.147) 0:02:39.560 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 28 September 2024 11:58:10 -0400 (0:00:00.116) 0:02:39.676 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 28 September 2024 11:58:11 -0400 (0:00:00.093) 0:02:39.770 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 28 September 2024 11:58:11 -0400 (0:00:00.163) 0:02:39.933 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 28 September 2024 11:58:11 -0400 (0:00:00.570) 0:02:40.504 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 28 September 2024 11:58:11 -0400 (0:00:00.131) 0:02:40.635 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 28 September 2024 11:58:12 -0400 (0:00:00.117) 0:02:40.753 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 28 September 2024 11:58:12 -0400 (0:00:00.089) 0:02:40.842 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 28 September 2024 11:58:12 -0400 (0:00:00.801) 0:02:41.643 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 28 September 2024 11:58:13 -0400 (0:00:00.136) 0:02:41.780 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 28 September 2024 11:58:13 -0400 (0:00:00.131) 0:02:41.912 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 28 September 2024 11:58:13 -0400 (0:00:00.144) 0:02:42.056 **** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 28 September 2024 11:58:13 -0400 (0:00:00.123) 0:02:42.179 **** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 28 September 2024 11:58:14 -0400 (0:00:00.656) 0:02:42.836 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 28 September 2024 11:58:14 -0400 (0:00:00.387) 0:02:43.224 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 28 September 2024 11:58:14 -0400 (0:00:00.208) 0:02:43.433 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 28 September 2024 11:58:14 -0400 (0:00:00.119) 0:02:43.552 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 28 September 2024 11:58:15 -0400 (0:00:00.391) 0:02:43.943 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 28 September 2024 11:58:15 -0400 (0:00:00.140) 0:02:44.084 **** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017632", "end": "2024-09-28 11:58:15.704499", "rc": 1, "start": "2024-09-28 11:58:15.686867" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 28 September 2024 11:58:15 -0400 (0:00:00.432) 0:02:44.517 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 28 September 2024 11:58:16 -0400 (0:00:00.182) 0:02:44.700 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 28 September 2024 11:58:16 -0400 (0:00:00.119) 0:02:44.819 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 28 September 2024 11:58:16 -0400 (0:00:00.154) 0:02:44.973 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 28 September 2024 11:58:16 -0400 (0:00:00.115) 0:02:45.089 **** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 28 September 2024 11:58:16 -0400 (0:00:00.120) 0:02:45.209 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 28 September 2024 11:58:16 -0400 (0:00:00.101) 0:02:45.310 **** [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.588503", "end": "2024-09-28 11:58:17.450756", "rc": 0, "start": "2024-09-28 11:58:16.862253" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 28 September 2024 11:58:17 -0400 (0:00:00.986) 0:02:46.297 **** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 28 September 2024 11:58:17 -0400 (0:00:00.125) 0:02:46.422 **** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 28 September 2024 11:58:17 -0400 (0:00:00.116) 0:02:46.539 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:58:18 -0400 (0:00:00.298) 0:02:46.837 **** included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:58:18 -0400 (0:00:00.290) 0:02:47.128 **** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:58:19 -0400 (0:00:00.562) 0:02:47.690 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 28 September 2024 11:58:19 -0400 (0:00:00.121) 0:02:47.812 **** 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 28 September 2024 11:58:19 -0400 (0:00:00.104) 0:02:47.916 **** included: /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 28 September 2024 11:58:19 -0400 (0:00:00.177) 0:02:48.094 **** 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.038381", "end": "2024-09-28 11:58:19.687127", "rc": 1, "start": "2024-09-28 11:58:19.648746" } 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 28 September 2024 11:58:19 -0400 (0:00:00.359) 0:02:48.453 **** 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.006396", "end": "2024-09-28 11:58:20.014567", "rc": 0, "start": "2024-09-28 11:58:20.008171" } 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 02:15:22:b0:dc:53 brd ff:ff:ff:ff:ff:ff inet 10.31.46.6/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3260sec preferred_lft 3260sec inet6 fe80::15:22ff:feb0:dc53/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether aa:d3:cb:5a:06:29 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.6 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-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 28 September 2024 11:58:20 -0400 (0:00:00.356) 0:02:48.810 **** 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.345449", "end": "2024-09-28 11:58:20.742310", "rc": 0, "start": "2024-09-28 11:58:20.396861" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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:fed6 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 2156 0 --:--:-- --:--:-- --:--:-- 2163 % 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 1568 0 --:--:-- --:--:-- --:--:-- 1564 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 28 September 2024 11:58:20 -0400 (0:00:00.654) 0:02:49.464 **** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-Lc7/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-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 1.26s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.22s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.15s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.12s /tmp/collections-Lc7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21