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-BUr/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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 05 October 2024 09:02:39 -0400 (0:00:00.024) 0:00:00.024 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 05 October 2024 09:02:40 -0400 (0:00:00.967) 0:00:00.992 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 05 October 2024 09:02:40 -0400 (0:00:00.091) 0:00:01.084 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 05 October 2024 09:02:41 -0400 (0:00:00.395) 0:00:01.480 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 05 October 2024 09:02:41 -0400 (0:00:00.681) 0:00:02.161 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 05 October 2024 09:02:41 -0400 (0:00:00.072) 0:00:02.234 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 05 October 2024 09:02:42 -0400 (0:00:00.063) 0:00:02.297 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 05 October 2024 09:02:42 -0400 (0:00:00.120) 0:00:02.418 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 05 October 2024 09:02:42 -0400 (0:00:00.689) 0:00:03.108 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 05 October 2024 09:02:43 -0400 (0:00:01.008) 0:00:04.116 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.159421", "end": "2024-10-05 09:02:44.268717", "rc": 0, "start": "2024-10-05 09:02:44.109296" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 05 October 2024 09:02:44 -0400 (0:00:00.564) 0:00:04.680 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 05 October 2024 09:02:44 -0400 (0:00:00.079) 0:00:04.760 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 05 October 2024 09:02:44 -0400 (0:00:00.064) 0:00:04.824 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 05 October 2024 09:02:44 -0400 (0:00:00.048) 0:00:04.873 ****** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 05 October 2024 09:02:45 -0400 (0:00:00.820) 0:00:05.694 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 05 October 2024 09:02:45 -0400 (0:00:00.060) 0:00:05.754 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:02:45 -0400 (0:00:00.120) 0:00:05.874 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:02:45 -0400 (0:00:00.056) 0:00:05.931 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:02:45 -0400 (0:00:00.201) 0:00:06.132 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:02:45 -0400 (0:00:00.118) 0:00:06.250 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:02:46 -0400 (0:00:00.068) 0:00:06.318 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003228", "end": "2024-10-05 09:02:46.441161", "rc": 0, "start": "2024-10-05 09:02:46.437933" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:02:46 -0400 (0:00:00.527) 0:00:06.846 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:02:46 -0400 (0:00:00.057) 0:00:06.903 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:02:46 -0400 (0:00:00.070) 0:00:06.974 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 05 October 2024 09:02:46 -0400 (0:00:00.146) 0:00:07.120 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007684", "end": "2024-10-05 09:02:47.151387", "rc": 1, "start": "2024-10-05 09:02:47.143703" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 09:02:47 -0400 (0:00:00.378) 0:00:07.499 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:02:47 -0400 (0:00:00.049) 0:00:07.549 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 09:02:47 -0400 (0:00:00.578) 0:00:08.127 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:02:47 -0400 (0:00:00.084) 0:00:08.212 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:02:48 -0400 (0:00:00.123) 0:00:08.336 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:02:48 -0400 (0:00:00.255) 0:00:08.591 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:02:48 -0400 (0:00:00.156) 0:00:08.748 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:02:48 -0400 (0:00:00.094) 0:00:08.843 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:02:48 -0400 (0:00:00.075) 0:00:08.918 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:02:48 -0400 (0:00:00.067) 0:00:08.986 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:02:49 -0400 (0:00:01.261) 0:00:10.247 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:02:52 -0400 (0:00:02.130) 0:00:12.378 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:02:52 -0400 (0:00:00.139) 0:00:12.518 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:02:52 -0400 (0:00:00.134) 0:00:12.652 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:02:52 -0400 (0:00:00.130) 0:00:12.782 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:02:52 -0400 (0:00:00.169) 0:00:12.952 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:02:52 -0400 (0:00:00.159) 0:00:13.112 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:02:53 -0400 (0:00:00.219) 0:00:13.331 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:02:53 -0400 (0:00:00.228) 0:00:13.559 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:02:53 -0400 (0:00:00.312) 0:00:13.872 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:02:53 -0400 (0:00:00.139) 0:00:14.011 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:02:53 -0400 (0:00:00.181) 0:00:14.193 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:02:54 -0400 (0:00:00.209) 0:00:14.402 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:02:55 -0400 (0:00:00.938) 0:00:15.341 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:02:55 -0400 (0:00:00.109) 0:00:15.451 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:02:55 -0400 (0:00:00.113) 0:00:15.564 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:02:55 -0400 (0:00:00.154) 0:00:15.719 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bed7e59-ed1f-43d1-b917-80bbc22250b4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:02:56 -0400 (0:00:01.281) 0:00:17.000 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:02:56 -0400 (0:00:00.216) 0:00:17.216 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bed7e59-ed1f-43d1-b917-80bbc22250b4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:02:57 -0400 (0:00:00.120) 0:00:17.337 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bed7e59-ed1f-43d1-b917-80bbc22250b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bed7e59-ed1f-43d1-b917-80bbc22250b4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:02:57 -0400 (0:00:00.111) 0:00:17.448 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:02:57 -0400 (0:00:00.104) 0:00:17.553 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:02:58 -0400 (0:00:00.782) 0:00:18.336 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bed7e59-ed1f-43d1-b917-80bbc22250b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bed7e59-ed1f-43d1-b917-80bbc22250b4" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:02:58 -0400 (0:00:00.121) 0:00:18.458 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 09:02:58 -0400 (0:00:00.247) 0:00:18.706 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:02:58 -0400 (0:00:00.256) 0:00:18.962 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:02:58 -0400 (0:00:00.110) 0:00:19.072 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133376.4981725, "block_size": 4096, "blocks": 8, "ctime": 1728133376.4971726, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133376.4971726, "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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:02:59 -0400 (0:00:00.519) 0:00:19.591 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:02:59 -0400 (0:00:00.123) 0:00:19.715 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022713", "end": "2024-10-05 09:02:59.912827", "rc": 0, "start": "2024-10-05 09:02:59.890114" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.639) 0:00:20.355 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.101) 0:00:20.457 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.115) 0:00:20.573 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.114) 0:00:20.687 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.138) 0:00:20.826 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.075) 0:00:20.901 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.097) 0:00:20.999 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.082) 0:00:21.082 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:03:00 -0400 (0:00:00.139) 0:00:21.221 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 09:03:01 -0400 (0:00:00.230) 0:00:21.452 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:03:01 -0400 (0:00:00.196) 0:00:21.648 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133376.5041726, "block_size": 4096, "blocks": 0, "ctime": 1728133376.4991724, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "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": 1728133376.4991724, "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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 09:03:01 -0400 (0:00:00.446) 0:00:22.095 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:03:01 -0400 (0:00:00.133) 0:00:22.229 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:03:02 -0400 (0:00:00.101) 0:00:22.331 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:03:02 -0400 (0:00:00.178) 0:00:22.510 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.070877", "end": "2024-10-05 09:03:02.689105", "rc": 1, "start": "2024-10-05 09:03:02.618228" } STDOUT: Connection 'statebr' (9bed7e59-ed1f-43d1-b917-80bbc22250b4) successfully deleted. STDERR: (process:16281): GLib-GIO-WARNING **: 09:03:02.667: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/16 but no object proxy exists (process:16281): GLib-GIO-WARNING **: 09:03:02.667: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/27 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 05 October 2024 09:03:02 -0400 (0:00:00.587) 0:00:23.097 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:03:03 -0400 (0:00:00.209) 0:00:23.306 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:03:03 -0400 (0:00:00.203) 0:00:23.509 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:03:03 -0400 (0:00:00.169) 0:00:23.679 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:03:03 -0400 (0:00:00.223) 0:00:23.903 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:03:03 -0400 (0:00:00.302) 0:00:24.205 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003198", "end": "2024-10-05 09:03:04.216917", "rc": 0, "start": "2024-10-05 09:03:04.213719" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:03:04 -0400 (0:00:00.447) 0:00:24.653 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:03:04 -0400 (0:00:00.114) 0:00:24.768 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:03:04 -0400 (0:00:00.116) 0:00:24.884 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 05 October 2024 09:03:04 -0400 (0:00:00.231) 0:00:25.116 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006624", "end": "2024-10-05 09:03:05.139092", "rc": 1, "start": "2024-10-05 09:03:05.132468" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 09:03:05 -0400 (0:00:00.407) 0:00:25.524 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:03:05 -0400 (0:00:00.123) 0:00:25.647 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 09:03:05 -0400 (0:00:00.351) 0:00:25.998 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:03:05 -0400 (0:00:00.072) 0:00:26.070 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 05 October 2024 09:03:06 -0400 (0:00:00.286) 0:00:26.357 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:03:06 -0400 (0:00:00.427) 0:00:26.784 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:03:06 -0400 (0:00:00.268) 0:00:27.053 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:03:06 -0400 (0:00:00.143) 0:00:27.197 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:03:07 -0400 (0:00:00.114) 0:00:27.311 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:03:07 -0400 (0:00:00.119) 0:00:27.430 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:03:08 -0400 (0:00:01.003) 0:00:28.434 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:03:09 -0400 (0:00:01.746) 0:00:30.180 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:03:10 -0400 (0:00:00.207) 0:00:30.387 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:03:10 -0400 (0:00:00.133) 0:00:30.521 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:03:10 -0400 (0:00:00.107) 0:00:30.628 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:03:10 -0400 (0:00:00.128) 0:00:30.757 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:03:10 -0400 (0:00:00.120) 0:00:30.877 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:03:10 -0400 (0:00:00.133) 0:00:31.010 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:03:10 -0400 (0:00:00.122) 0:00:31.133 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:03:11 -0400 (0:00:00.200) 0:00:31.333 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:03:11 -0400 (0:00:00.120) 0:00:31.454 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:03:11 -0400 (0:00:00.110) 0:00:31.564 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:03:11 -0400 (0:00:00.115) 0:00:31.679 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:03:11 -0400 (0:00:00.582) 0:00:32.262 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:03:12 -0400 (0:00:00.139) 0:00:32.401 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:03:12 -0400 (0:00:00.113) 0:00:32.515 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:03:12 -0400 (0:00:00.149) 0:00:32.664 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08a2f04d-6b21-463d-9249-a431018ecd6a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:03:13 -0400 (0:00:00.841) 0:00:33.505 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:03:13 -0400 (0:00:00.131) 0:00:33.637 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08a2f04d-6b21-463d-9249-a431018ecd6a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:03:13 -0400 (0:00:00.197) 0:00:33.834 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08a2f04d-6b21-463d-9249-a431018ecd6a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08a2f04d-6b21-463d-9249-a431018ecd6a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:03:13 -0400 (0:00:00.136) 0:00:33.971 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:03:13 -0400 (0:00:00.185) 0:00:34.157 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 05 October 2024 09:03:14 -0400 (0:00:00.501) 0:00:34.659 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08a2f04d-6b21-463d-9249-a431018ecd6a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08a2f04d-6b21-463d-9249-a431018ecd6a" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:03:14 -0400 (0:00:00.114) 0:00:34.774 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 09:03:14 -0400 (0:00:00.265) 0:00:35.039 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:03:14 -0400 (0:00:00.189) 0:00:35.228 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 09:03:15 -0400 (0:00:00.392) 0:00:35.620 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 09:03:15 -0400 (0:00:00.145) 0:00:35.765 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:03:15 -0400 (0:00:00.192) 0:00:35.958 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:03:15 -0400 (0:00:00.085) 0:00:36.043 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133393.0832295, "block_size": 4096, "blocks": 8, "ctime": 1728133393.0832295, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133393.0832295, "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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:03:16 -0400 (0:00:00.512) 0:00:36.556 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:03:16 -0400 (0:00:00.092) 0:00:36.648 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020040", "end": "2024-10-05 09:03:16.709270", "rc": 0, "start": "2024-10-05 09:03:16.689230" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:03:16 -0400 (0:00:00.549) 0:00:37.198 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:03:17 -0400 (0:00:00.149) 0:00:37.347 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:03:17 -0400 (0:00:00.160) 0:00:37.507 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:03:17 -0400 (0:00:00.121) 0:00:37.629 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:03:17 -0400 (0:00:00.160) 0:00:37.790 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 09:03:17 -0400 (0:00:00.127) 0:00:37.917 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 09:03:17 -0400 (0:00:00.127) 0:00:38.045 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 09:03:17 -0400 (0:00:00.087) 0:00:38.132 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:03:17 -0400 (0:00:00.089) 0:00:38.222 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:03:18 -0400 (0:00:00.190) 0:00:38.412 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:03:18 -0400 (0:00:00.184) 0:00:38.596 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:03:18 -0400 (0:00:00.363) 0:00:38.960 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047433", "end": "2024-10-05 09:03:19.068188", "rc": 1, "start": "2024-10-05 09:03:19.020755" } STDOUT: Connection 'statebr' (08a2f04d-6b21-463d-9249-a431018ecd6a) 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 05 October 2024 09:03:19 -0400 (0:00:00.506) 0:00:39.466 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:03:19 -0400 (0:00:00.153) 0:00:39.620 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:03:19 -0400 (0:00:00.073) 0:00:39.693 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:03:19 -0400 (0:00:00.128) 0:00:39.822 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:03:19 -0400 (0:00:00.239) 0:00:40.061 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:03:20 -0400 (0:00:00.226) 0:00:40.288 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004339", "end": "2024-10-05 09:03:21.288852", "rc": 0, "start": "2024-10-05 09:03:20.284513" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:03:21 -0400 (0:00:01.465) 0:00:41.754 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:03:21 -0400 (0:00:00.146) 0:00:41.900 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:03:21 -0400 (0:00:00.130) 0:00:42.030 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:03:21 -0400 (0:00:00.228) 0:00:42.259 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:03:22 -0400 (0:00:00.382) 0:00:42.641 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:03:22 -0400 (0:00:00.428) 0:00:43.070 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:03:23 -0400 (0:00:00.303) 0:00:43.373 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:03:23 -0400 (0:00:00.199) 0:00:43.572 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:03:23 -0400 (0:00:00.313) 0:00:43.886 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:03:24 -0400 (0:00:01.051) 0:00:44.937 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:03:26 -0400 (0:00:01.409) 0:00:46.347 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:03:26 -0400 (0:00:00.119) 0:00:46.466 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:03:26 -0400 (0:00:00.130) 0:00:46.597 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:03:26 -0400 (0:00:00.109) 0:00:46.706 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:03:26 -0400 (0:00:00.110) 0:00:46.817 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:03:26 -0400 (0:00:00.112) 0:00:46.929 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:03:26 -0400 (0:00:00.122) 0:00:47.052 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:03:26 -0400 (0:00:00.119) 0:00:47.171 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:03:27 -0400 (0:00:00.247) 0:00:47.419 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:03:27 -0400 (0:00:00.109) 0:00:47.528 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:03:27 -0400 (0:00:00.128) 0:00:47.657 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:03:27 -0400 (0:00:00.119) 0:00:47.777 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:03:28 -0400 (0:00:00.575) 0:00:48.352 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:03:28 -0400 (0:00:00.173) 0:00:48.526 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:03:28 -0400 (0:00:00.114) 0:00:48.641 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:03:28 -0400 (0:00:00.148) 0:00:48.789 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:03:29 -0400 (0:00:00.867) 0:00:49.657 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:03:29 -0400 (0:00:00.113) 0:00:49.771 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:03:29 -0400 (0:00:00.163) 0:00:49.934 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:03:29 -0400 (0:00:00.150) 0:00:50.085 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:03:29 -0400 (0:00:00.113) 0:00:50.198 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:03:30 -0400 (0:00:00.468) 0:00:50.666 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:03:30 -0400 (0:00:00.145) 0:00:50.812 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:03:30 -0400 (0:00:00.213) 0:00:51.025 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:03:31 -0400 (0:00:00.610) 0:00:51.636 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:03:31 -0400 (0:00:00.248) 0:00:51.885 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:03:31 -0400 (0:00:00.117) 0:00:52.002 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:03:31 -0400 (0:00:00.107) 0:00:52.110 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:03:31 -0400 (0:00:00.158) 0:00:52.268 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:03:33 -0400 (0:00:01.102) 0:00:53.371 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:03:34 -0400 (0:00:01.323) 0:00:54.695 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:03:34 -0400 (0:00:00.114) 0:00:54.810 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:03:34 -0400 (0:00:00.179) 0:00:54.989 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:03:34 -0400 (0:00:00.237) 0:00:55.227 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:03:35 -0400 (0:00:00.239) 0:00:55.467 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:03:35 -0400 (0:00:00.145) 0:00:55.612 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:03:35 -0400 (0:00:00.145) 0:00:55.758 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:03:35 -0400 (0:00:00.123) 0:00:55.882 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:03:35 -0400 (0:00:00.186) 0:00:56.068 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:03:35 -0400 (0:00:00.141) 0:00:56.210 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:03:36 -0400 (0:00:00.108) 0:00:56.319 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:03:36 -0400 (0:00:00.129) 0:00:56.449 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:03:36 -0400 (0:00:00.619) 0:00:57.068 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:03:36 -0400 (0:00:00.152) 0:00:57.220 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:03:37 -0400 (0:00:00.140) 0:00:57.361 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:03:37 -0400 (0:00:00.141) 0:00:57.503 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:03:38 -0400 (0:00:00.917) 0:00:58.420 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:03:38 -0400 (0:00:00.113) 0:00:58.533 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:03:38 -0400 (0:00:00.140) 0:00:58.673 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3488adf-bc5c-4175-8ead-fea6ca33eb5e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:03:38 -0400 (0:00:00.148) 0:00:58.821 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:03:38 -0400 (0:00:00.195) 0:00:59.017 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:03:39 -0400 (0:00:00.443) 0:00:59.460 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 09:03:39 -0400 (0:00:00.231) 0:00:59.692 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:03:39 -0400 (0:00:00.201) 0:00:59.894 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133409.1802847, "block_size": 4096, "blocks": 0, "ctime": 1728133409.1792848, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "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": 1728133409.1792848, "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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 09:03:39 -0400 (0:00:00.360) 0:01:00.254 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 05 October 2024 09:03:40 -0400 (0:00:00.077) 0:01:00.331 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:03:40 -0400 (0:00:00.142) 0:01:00.474 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:03:40 -0400 (0:00:00.120) 0:01:00.595 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133409.246285, "block_size": 4096, "blocks": 8, "ctime": 1728133409.1782846, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728133409.1782846, "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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:03:40 -0400 (0:00:00.372) 0:01:00.968 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:03:40 -0400 (0:00:00.109) 0:01:01.077 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020586", "end": "2024-10-05 09:03:41.103509", "rc": 0, "start": "2024-10-05 09:03:41.082923" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:03:41 -0400 (0:00:00.436) 0:01:01.514 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:03:41 -0400 (0:00:00.172) 0:01:01.687 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:03:41 -0400 (0:00:00.145) 0:01:01.832 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:03:41 -0400 (0:00:00.307) 0:01:02.140 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:03:42 -0400 (0:00:00.203) 0:01:02.343 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 05 October 2024 09:03:42 -0400 (0:00:00.152) 0:01:02.495 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 05 October 2024 09:03:42 -0400 (0:00:00.231) 0:01:02.727 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 05 October 2024 09:03:42 -0400 (0:00:00.126) 0:01:02.853 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:03:42 -0400 (0:00:00.150) 0:01:03.003 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:03:42 -0400 (0:00:00.108) 0:01:03.112 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:03:42 -0400 (0:00:00.114) 0:01:03.226 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:03:43 -0400 (0:00:00.339) 0:01:03.565 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.077121", "end": "2024-10-05 09:03:43.847090", "rc": 1, "start": "2024-10-05 09:03:43.769969" } STDOUT: Connection 'statebr' (b3488adf-bc5c-4175-8ead-fea6ca33eb5e) 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 05 October 2024 09:03:43 -0400 (0:00:00.706) 0:01:04.272 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:03:44 -0400 (0:00:00.237) 0:01:04.509 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:03:44 -0400 (0:00:00.099) 0:01:04.609 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:03:44 -0400 (0:00:00.161) 0:01:04.770 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:03:44 -0400 (0:00:00.247) 0:01:05.018 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:03:45 -0400 (0:00:00.301) 0:01:05.319 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004381", "end": "2024-10-05 09:03:45.323746", "rc": 0, "start": "2024-10-05 09:03:45.319365" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:03:45 -0400 (0:00:00.423) 0:01:05.743 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:03:45 -0400 (0:00:00.139) 0:01:05.882 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:03:45 -0400 (0:00:00.121) 0:01:06.004 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:03:45 -0400 (0:00:00.230) 0:01:06.234 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:03:46 -0400 (0:00:00.217) 0:01:06.452 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:03:46 -0400 (0:00:00.290) 0:01:06.742 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:03:46 -0400 (0:00:00.151) 0:01:06.893 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:03:46 -0400 (0:00:00.127) 0:01:07.021 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:03:46 -0400 (0:00:00.114) 0:01:07.135 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:03:48 -0400 (0:00:01.180) 0:01:08.316 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:03:49 -0400 (0:00:01.583) 0:01:09.900 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:03:49 -0400 (0:00:00.129) 0:01:10.029 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:03:49 -0400 (0:00:00.118) 0:01:10.148 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:03:49 -0400 (0:00:00.089) 0:01:10.237 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:03:50 -0400 (0:00:00.086) 0:01:10.324 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:03:50 -0400 (0:00:00.095) 0:01:10.419 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:03:50 -0400 (0:00:00.123) 0:01:10.543 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:03:50 -0400 (0:00:00.119) 0:01:10.662 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:03:50 -0400 (0:00:00.187) 0:01:10.849 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:03:50 -0400 (0:00:00.137) 0:01:10.987 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:03:50 -0400 (0:00:00.132) 0:01:11.119 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:03:50 -0400 (0:00:00.139) 0:01:11.259 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:03:51 -0400 (0:00:00.774) 0:01:12.034 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:03:51 -0400 (0:00:00.152) 0:01:12.186 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:03:52 -0400 (0:00:00.201) 0:01:12.388 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:03:52 -0400 (0:00:00.152) 0:01:12.541 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:03:53 -0400 (0:00:00.910) 0:01:13.451 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:03:53 -0400 (0:00:00.125) 0:01:13.577 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:03:53 -0400 (0:00:00.109) 0:01:13.687 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:03:53 -0400 (0:00:00.117) 0:01:13.804 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:03:53 -0400 (0:00:00.095) 0:01:13.900 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:03:53 -0400 (0:00:00.376) 0:01:14.277 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:03:54 -0400 (0:00:00.120) 0:01:14.398 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:03:54 -0400 (0:00:00.171) 0:01:14.569 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:03:54 -0400 (0:00:00.243) 0:01:14.812 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:03:54 -0400 (0:00:00.165) 0:01:14.978 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:03:54 -0400 (0:00:00.174) 0:01:15.152 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:03:55 -0400 (0:00:00.228) 0:01:15.381 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:03:56 -0400 (0:00:01.398) 0:01:16.779 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:03:57 -0400 (0:00:01.421) 0:01:18.200 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:03:58 -0400 (0:00:00.130) 0:01:18.331 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:03:58 -0400 (0:00:00.124) 0:01:18.455 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:03:58 -0400 (0:00:00.181) 0:01:18.636 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:03:58 -0400 (0:00:00.185) 0:01:18.822 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:03:58 -0400 (0:00:00.107) 0:01:18.929 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:03:58 -0400 (0:00:00.092) 0:01:19.022 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:03:58 -0400 (0:00:00.131) 0:01:19.154 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:03:59 -0400 (0:00:00.309) 0:01:19.464 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:03:59 -0400 (0:00:00.123) 0:01:19.587 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:03:59 -0400 (0:00:00.074) 0:01:19.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:03:59 -0400 (0:00:00.174) 0:01:19.836 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:04:00 -0400 (0:00:00.630) 0:01:20.467 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:04:00 -0400 (0:00:00.146) 0:01:20.613 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:04:00 -0400 (0:00:00.173) 0:01:20.786 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:04:00 -0400 (0:00:00.145) 0:01:20.932 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:04:01 -0400 (0:00:00.829) 0:01:21.762 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:04:01 -0400 (0:00:00.127) 0:01:21.890 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:04:01 -0400 (0:00:00.156) 0:01:22.046 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e9c87fd-c5e5-4ef2-a701-7bc5a7245915 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:04:01 -0400 (0:00:00.129) 0:01:22.176 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:04:02 -0400 (0:00:00.144) 0:01:22.320 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:04:02 -0400 (0:00:00.470) 0:01:22.791 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 05 October 2024 09:04:02 -0400 (0:00:00.197) 0:01:22.988 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:04:02 -0400 (0:00:00.269) 0:01:23.257 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:04:03 -0400 (0:00:00.341) 0:01:23.598 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:04:03 -0400 (0:00:00.167) 0:01:23.766 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:04:03 -0400 (0:00:00.118) 0:01:23.884 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:04:03 -0400 (0:00:00.113) 0:01:23.997 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:04:04 -0400 (0:00:01.025) 0:01:25.023 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:04:06 -0400 (0:00:01.379) 0:01:26.403 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:04:06 -0400 (0:00:00.218) 0:01:26.621 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:04:06 -0400 (0:00:00.132) 0:01:26.754 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:04:06 -0400 (0:00:00.125) 0:01:26.879 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:04:06 -0400 (0:00:00.118) 0:01:26.997 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:04:06 -0400 (0:00:00.189) 0:01:27.187 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:04:07 -0400 (0:00:00.135) 0:01:27.322 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:04:07 -0400 (0:00:00.130) 0:01:27.453 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:04:07 -0400 (0:00:00.213) 0:01:27.667 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:04:07 -0400 (0:00:00.145) 0:01:27.812 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:04:07 -0400 (0:00:00.209) 0:01:28.022 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:04:07 -0400 (0:00:00.208) 0:01:28.230 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:04:08 -0400 (0:00:00.675) 0:01:28.906 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:04:08 -0400 (0:00:00.095) 0:01:29.002 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:04:08 -0400 (0:00:00.081) 0:01:29.083 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:04:08 -0400 (0:00:00.069) 0:01:29.152 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:04:09 -0400 (0:00:00.992) 0:01:30.144 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:04:10 -0400 (0:00:00.165) 0:01:30.310 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:04:10 -0400 (0:00:00.114) 0:01:30.424 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:04:10 -0400 (0:00:00.172) 0:01:30.597 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:04:10 -0400 (0:00:00.119) 0:01:30.716 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:04:11 -0400 (0:00:00.656) 0:01:31.373 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 05 October 2024 09:04:11 -0400 (0:00:00.382) 0:01:31.755 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:04:11 -0400 (0:00:00.203) 0:01:31.959 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133432.9953663, "block_size": 4096, "blocks": 0, "ctime": 1728133432.9943664, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17657, "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": 1728133432.9943664, "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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 05 October 2024 09:04:12 -0400 (0:00:00.601) 0:01:32.560 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:04:12 -0400 (0:00:00.221) 0:01:32.782 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:04:12 -0400 (0:00:00.249) 0:01:33.031 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:04:12 -0400 (0:00:00.117) 0:01:33.149 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:04:13 -0400 (0:00:00.387) 0:01:33.537 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:04:13 -0400 (0:00:00.104) 0:01:33.642 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020106", "end": "2024-10-05 09:04:13.699449", "rc": 1, "start": "2024-10-05 09:04:13.679343" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:04:13 -0400 (0:00:00.509) 0:01:34.151 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:04:13 -0400 (0:00:00.095) 0:01:34.247 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:04:14 -0400 (0:00:00.080) 0:01:34.327 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:04:14 -0400 (0:00:00.074) 0:01:34.402 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:04:14 -0400 (0:00:00.103) 0:01:34.505 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:04:14 -0400 (0:00:00.074) 0:01:34.580 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:04:14 -0400 (0:00:00.136) 0:01:34.716 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:04:14 -0400 (0:00:00.084) 0:01:34.801 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:04:14 -0400 (0:00:00.073) 0:01:34.874 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:04:14 -0400 (0:00:00.138) 0:01:35.012 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.084667", "end": "2024-10-05 09:04:15.089002", "rc": 1, "start": "2024-10-05 09:04:15.004335" } STDOUT: Connection 'statebr' (8e9c87fd-c5e5-4ef2-a701-7bc5a7245915) successfully deleted. STDERR: (process:19514): GLib-GIO-WARNING **: 09:04:15.065: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/18 but no object proxy exists (process:19514): GLib-GIO-WARNING **: 09:04:15.066: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/29 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 05 October 2024 09:04:15 -0400 (0:00:00.492) 0:01:35.505 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:04:15 -0400 (0:00:00.208) 0:01:35.713 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:04:15 -0400 (0:00:00.118) 0:01:35.832 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:04:15 -0400 (0:00:00.220) 0:01:36.052 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:04:15 -0400 (0:00:00.204) 0:01:36.257 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:04:16 -0400 (0:00:00.199) 0:01:36.456 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004699", "end": "2024-10-05 09:04:17.465766", "rc": 0, "start": "2024-10-05 09:04:16.461067" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:04:17 -0400 (0:00:01.454) 0:01:37.910 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:04:17 -0400 (0:00:00.107) 0:01:38.018 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:04:17 -0400 (0:00:00.094) 0:01:38.112 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:04:17 -0400 (0:00:00.149) 0:01:38.262 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:04:18 -0400 (0:00:00.127) 0:01:38.389 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:04:18 -0400 (0:00:00.168) 0:01:38.557 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:04:18 -0400 (0:00:00.142) 0:01:38.700 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:04:18 -0400 (0:00:00.109) 0:01:38.809 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:04:18 -0400 (0:00:00.115) 0:01:38.925 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:04:19 -0400 (0:00:00.976) 0:01:39.902 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:04:21 -0400 (0:00:01.530) 0:01:41.432 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:04:21 -0400 (0:00:00.097) 0:01:41.529 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:04:21 -0400 (0:00:00.109) 0:01:41.639 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:04:21 -0400 (0:00:00.112) 0:01:41.752 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:04:21 -0400 (0:00:00.109) 0:01:41.861 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:04:21 -0400 (0:00:00.115) 0:01:41.977 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:04:21 -0400 (0:00:00.121) 0:01:42.098 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:04:21 -0400 (0:00:00.119) 0:01:42.217 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:04:22 -0400 (0:00:00.200) 0:01:42.417 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:04:22 -0400 (0:00:00.120) 0:01:42.538 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:04:22 -0400 (0:00:00.176) 0:01:42.715 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:04:22 -0400 (0:00:00.198) 0:01:42.914 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:04:23 -0400 (0:00:00.893) 0:01:43.808 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:04:23 -0400 (0:00:00.125) 0:01:43.933 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:04:23 -0400 (0:00:00.210) 0:01:44.144 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:04:23 -0400 (0:00:00.135) 0:01:44.279 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:04:24 -0400 (0:00:00.916) 0:01:45.195 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:04:25 -0400 (0:00:00.119) 0:01:45.314 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:04:25 -0400 (0:00:00.150) 0:01:45.465 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:04:25 -0400 (0:00:00.103) 0:01:45.569 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:04:25 -0400 (0:00:00.098) 0:01:45.668 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:04:25 -0400 (0:00:00.506) 0:01:46.174 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:04:26 -0400 (0:00:00.127) 0:01:46.301 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:04:26 -0400 (0:00:00.215) 0:01:46.516 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:04:26 -0400 (0:00:00.303) 0:01:46.820 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:04:26 -0400 (0:00:00.226) 0:01:47.047 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:04:26 -0400 (0:00:00.136) 0:01:47.183 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:04:27 -0400 (0:00:00.152) 0:01:47.336 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:04:28 -0400 (0:00:01.138) 0:01:48.474 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:04:29 -0400 (0:00:01.422) 0:01:49.897 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:04:29 -0400 (0:00:00.108) 0:01:50.005 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:04:29 -0400 (0:00:00.161) 0:01:50.167 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:04:29 -0400 (0:00:00.111) 0:01:50.279 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:04:30 -0400 (0:00:00.120) 0:01:50.399 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:04:30 -0400 (0:00:00.134) 0:01:50.534 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:04:30 -0400 (0:00:00.127) 0:01:50.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:04:30 -0400 (0:00:00.123) 0:01:50.785 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:04:30 -0400 (0:00:00.191) 0:01:50.976 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:04:30 -0400 (0:00:00.111) 0:01:51.088 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:04:30 -0400 (0:00:00.108) 0:01:51.197 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:04:31 -0400 (0:00:00.188) 0:01:51.385 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:04:31 -0400 (0:00:00.698) 0:01:52.083 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:04:32 -0400 (0:00:00.214) 0:01:52.298 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:04:32 -0400 (0:00:00.208) 0:01:52.506 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:04:32 -0400 (0:00:00.206) 0:01:52.713 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:04:33 -0400 (0:00:01.090) 0:01:53.804 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:04:33 -0400 (0:00:00.111) 0:01:53.916 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:04:33 -0400 (0:00:00.095) 0:01:54.011 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 94887055-2340-461d-90e6-b63f0e07db3d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:04:33 -0400 (0:00:00.095) 0:01:54.106 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:04:33 -0400 (0:00:00.131) 0:01:54.238 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 05 October 2024 09:04:34 -0400 (0:00:00.511) 0:01:54.749 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:04:34 -0400 (0:00:00.206) 0:01:54.956 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:04:34 -0400 (0:00:00.269) 0:01:55.226 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:04:35 -0400 (0:00:00.145) 0:01:55.372 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:04:35 -0400 (0:00:00.111) 0:01:55.483 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:04:35 -0400 (0:00:00.144) 0:01:55.628 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:04:36 -0400 (0:00:01.046) 0:01:56.674 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:04:37 -0400 (0:00:01.534) 0:01:58.209 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:04:38 -0400 (0:00:00.213) 0:01:58.422 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:04:38 -0400 (0:00:00.113) 0:01:58.536 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:04:38 -0400 (0:00:00.146) 0:01:58.682 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:04:38 -0400 (0:00:00.122) 0:01:58.805 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:04:38 -0400 (0:00:00.145) 0:01:58.951 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:04:38 -0400 (0:00:00.125) 0:01:59.076 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:04:38 -0400 (0:00:00.120) 0:01:59.197 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:04:39 -0400 (0:00:00.394) 0:01:59.591 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:04:39 -0400 (0:00:00.126) 0:01:59.718 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:04:39 -0400 (0:00:00.170) 0:01:59.888 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:04:39 -0400 (0:00:00.145) 0:02:00.034 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:04:40 -0400 (0:00:00.698) 0:02:00.732 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:04:40 -0400 (0:00:00.138) 0:02:00.871 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:04:40 -0400 (0:00:00.129) 0:02:01.000 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:04:40 -0400 (0:00:00.122) 0:02:01.123 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:04:41 -0400 (0:00:01.061) 0:02:02.185 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:04:42 -0400 (0:00:00.134) 0:02:02.319 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:04:42 -0400 (0:00:00.119) 0:02:02.439 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:04:42 -0400 (0:00:00.117) 0:02:02.556 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:04:42 -0400 (0:00:00.102) 0:02:02.659 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:04:43 -0400 (0:00:00.642) 0:02:03.302 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:04:43 -0400 (0:00:00.191) 0:02:03.493 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:04:43 -0400 (0:00:00.322) 0:02:03.816 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:04:43 -0400 (0:00:00.249) 0:02:04.066 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:04:43 -0400 (0:00:00.146) 0:02:04.212 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:04:44 -0400 (0:00:00.124) 0:02:04.336 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:04:44 -0400 (0:00:00.130) 0:02:04.467 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:04:45 -0400 (0:00:00.942) 0:02:05.410 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:04:46 -0400 (0:00:01.264) 0:02:06.675 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:04:46 -0400 (0:00:00.113) 0:02:06.788 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:04:46 -0400 (0:00:00.136) 0:02:06.924 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:04:46 -0400 (0:00:00.183) 0:02:07.108 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:04:46 -0400 (0:00:00.118) 0:02:07.227 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:04:47 -0400 (0:00:00.112) 0:02:07.339 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:04:47 -0400 (0:00:00.183) 0:02:07.523 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:04:47 -0400 (0:00:00.163) 0:02:07.687 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:04:47 -0400 (0:00:00.233) 0:02:07.920 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:04:47 -0400 (0:00:00.121) 0:02:08.042 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:04:47 -0400 (0:00:00.114) 0:02:08.157 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:04:48 -0400 (0:00:00.122) 0:02:08.280 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:04:48 -0400 (0:00:00.585) 0:02:08.866 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:04:48 -0400 (0:00:00.157) 0:02:09.023 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:04:48 -0400 (0:00:00.159) 0:02:09.183 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:04:49 -0400 (0:00:00.109) 0:02:09.293 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:04:49 -0400 (0:00:00.880) 0:02:10.173 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:04:50 -0400 (0:00:00.116) 0:02:10.289 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:04:50 -0400 (0:00:00.163) 0:02:10.453 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:04:50 -0400 (0:00:00.160) 0:02:10.613 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:04:50 -0400 (0:00:00.210) 0:02:10.823 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:04:51 -0400 (0:00:00.530) 0:02:11.354 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:04:51 -0400 (0:00:00.202) 0:02:11.557 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:04:51 -0400 (0:00:00.246) 0:02:11.804 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:04:51 -0400 (0:00:00.114) 0:02:11.919 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:04:52 -0400 (0:00:00.512) 0:02:12.431 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:04:52 -0400 (0:00:00.118) 0:02:12.550 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019830", "end": "2024-10-05 09:04:52.836570", "rc": 1, "start": "2024-10-05 09:04:52.816740" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.773) 0:02:13.323 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.116) 0:02:13.440 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.108) 0:02:13.549 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.095) 0:02:13.644 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.079) 0:02:13.724 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.075) 0:02:13.799 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.081) 0:02:13.881 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.202) 0:02:14.084 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:04:53 -0400 (0:00:00.124) 0:02:14.208 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 09:04:54 -0400 (0:00:00.378) 0:02:14.586 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:04:54 -0400 (0:00:00.089) 0:02:14.676 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:04:54 -0400 (0:00:00.076) 0:02:14.752 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:04:54 -0400 (0:00:00.139) 0:02:14.892 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043375", "end": "2024-10-05 09:04:54.892830", "rc": 1, "start": "2024-10-05 09:04:54.849455" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 05 October 2024 09:04:54 -0400 (0:00:00.370) 0:02:15.262 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 05 October 2024 09:04:55 -0400 (0:00:00.131) 0:02:15.393 ****** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 05 October 2024 09:04:55 -0400 (0:00:00.120) 0:02:15.514 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 05 October 2024 09:04:55 -0400 (0:00:00.205) 0:02:15.720 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 05 October 2024 09:04:55 -0400 (0:00:00.195) 0:02:15.915 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 05 October 2024 09:04:55 -0400 (0:00:00.198) 0:02:16.113 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003245", "end": "2024-10-05 09:04:56.113590", "rc": 0, "start": "2024-10-05 09:04:56.110345" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 05 October 2024 09:04:56 -0400 (0:00:00.503) 0:02:16.617 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 05 October 2024 09:04:56 -0400 (0:00:00.116) 0:02:16.733 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 05 October 2024 09:04:56 -0400 (0:00:00.112) 0:02:16.845 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 05 October 2024 09:04:56 -0400 (0:00:00.228) 0:02:17.074 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:04:56 -0400 (0:00:00.204) 0:02:17.278 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:04:57 -0400 (0:00:00.231) 0:02:17.510 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:04:57 -0400 (0:00:00.116) 0:02:17.627 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:04:57 -0400 (0:00:00.074) 0:02:17.701 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:04:57 -0400 (0:00:00.072) 0:02:17.774 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:04:58 -0400 (0:00:00.882) 0:02:18.657 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:05:00 -0400 (0:00:01.683) 0:02:20.340 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:05:00 -0400 (0:00:00.209) 0:02:20.550 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:05:00 -0400 (0:00:00.190) 0:02:20.741 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:05:00 -0400 (0:00:00.121) 0:02:20.862 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:05:00 -0400 (0:00:00.092) 0:02:20.954 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:05:00 -0400 (0:00:00.082) 0:02:21.037 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:05:00 -0400 (0:00:00.124) 0:02:21.161 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:05:01 -0400 (0:00:00.123) 0:02:21.284 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:05:01 -0400 (0:00:00.184) 0:02:21.469 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:05:01 -0400 (0:00:00.114) 0:02:21.583 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:05:01 -0400 (0:00:00.114) 0:02:21.698 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:05:01 -0400 (0:00:00.196) 0:02:21.895 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:05:02 -0400 (0:00:00.587) 0:02:22.482 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:05:02 -0400 (0:00:00.200) 0:02:22.683 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:05:02 -0400 (0:00:00.109) 0:02:22.792 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:05:02 -0400 (0:00:00.128) 0:02:22.921 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:05:03 -0400 (0:00:01.011) 0:02:23.932 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:05:03 -0400 (0:00:00.144) 0:02:24.077 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:05:03 -0400 (0:00:00.116) 0:02:24.193 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:05:04 -0400 (0:00:00.122) 0:02:24.316 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:05:04 -0400 (0:00:00.188) 0:02:24.505 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 05 October 2024 09:05:04 -0400 (0:00:00.506) 0:02:25.012 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 05 October 2024 09:05:04 -0400 (0:00:00.161) 0:02:25.173 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:05:05 -0400 (0:00:00.265) 0:02:25.439 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:05:05 -0400 (0:00:00.215) 0:02:25.654 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:05:05 -0400 (0:00:00.152) 0:02:25.807 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:05:05 -0400 (0:00:00.125) 0:02:25.933 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:05:05 -0400 (0:00:00.120) 0:02:26.053 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:05:06 -0400 (0:00:01.139) 0:02:27.192 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:05:08 -0400 (0:00:01.522) 0:02:28.715 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:05:08 -0400 (0:00:00.127) 0:02:28.843 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:05:08 -0400 (0:00:00.095) 0:02:28.938 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:05:08 -0400 (0:00:00.088) 0:02:29.027 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:05:08 -0400 (0:00:00.070) 0:02:29.098 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:05:08 -0400 (0:00:00.097) 0:02:29.196 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:05:09 -0400 (0:00:00.156) 0:02:29.353 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:05:09 -0400 (0:00:00.185) 0:02:29.538 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:05:09 -0400 (0:00:00.195) 0:02:29.735 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:05:09 -0400 (0:00:00.104) 0:02:29.839 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:05:09 -0400 (0:00:00.103) 0:02:29.942 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:05:09 -0400 (0:00:00.115) 0:02:30.057 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:05:10 -0400 (0:00:00.725) 0:02:30.783 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:05:10 -0400 (0:00:00.193) 0:02:30.977 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:05:10 -0400 (0:00:00.207) 0:02:31.184 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:05:11 -0400 (0:00:00.151) 0:02:31.336 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:05:11 -0400 (0:00:00.919) 0:02:32.256 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:05:12 -0400 (0:00:00.224) 0:02:32.480 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:05:12 -0400 (0:00:00.214) 0:02:32.694 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cfc66f03-2227-4f4f-ae51-4793696e25cc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:05:12 -0400 (0:00:00.171) 0:02:32.866 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:05:12 -0400 (0:00:00.111) 0:02:32.978 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:05:13 -0400 (0:00:00.580) 0:02:33.559 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:05:13 -0400 (0:00:00.188) 0:02:33.747 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:05:13 -0400 (0:00:00.343) 0:02:34.091 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:05:13 -0400 (0:00:00.173) 0:02:34.264 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:05:14 -0400 (0:00:00.112) 0:02:34.377 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:05:14 -0400 (0:00:00.109) 0:02:34.486 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:05:15 -0400 (0:00:01.078) 0:02:35.565 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:05:16 -0400 (0:00:01.345) 0:02:36.910 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:05:16 -0400 (0:00:00.120) 0:02:37.031 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:05:16 -0400 (0:00:00.153) 0:02:37.184 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:05:17 -0400 (0:00:00.109) 0:02:37.293 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:05:17 -0400 (0:00:00.152) 0:02:37.445 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:05:17 -0400 (0:00:00.192) 0:02:37.638 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:05:17 -0400 (0:00:00.138) 0:02:37.777 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:05:17 -0400 (0:00:00.152) 0:02:37.929 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:05:17 -0400 (0:00:00.197) 0:02:38.127 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:05:18 -0400 (0:00:00.222) 0:02:38.349 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:05:18 -0400 (0:00:00.276) 0:02:38.626 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:05:18 -0400 (0:00:00.143) 0:02:38.770 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:05:19 -0400 (0:00:00.697) 0:02:39.468 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:05:19 -0400 (0:00:00.233) 0:02:39.701 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:05:19 -0400 (0:00:00.120) 0:02:39.821 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:05:19 -0400 (0:00:00.128) 0:02:39.950 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:05:20 -0400 (0:00:01.075) 0:02:41.025 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:05:20 -0400 (0:00:00.144) 0:02:41.170 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:05:20 -0400 (0:00:00.103) 0:02:41.273 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:05:21 -0400 (0:00:00.077) 0:02:41.351 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:05:21 -0400 (0:00:00.116) 0:02:41.468 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 05 October 2024 09:05:21 -0400 (0:00:00.554) 0:02:42.022 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 05 October 2024 09:05:21 -0400 (0:00:00.202) 0:02:42.224 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 05 October 2024 09:05:22 -0400 (0:00:00.137) 0:02:42.362 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 05 October 2024 09:05:22 -0400 (0:00:00.301) 0:02:42.663 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 05 October 2024 09:05:22 -0400 (0:00:00.261) 0:02:42.924 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 05 October 2024 09:05:22 -0400 (0:00:00.163) 0:02:43.087 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 05 October 2024 09:05:22 -0400 (0:00:00.132) 0:02:43.220 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 05 October 2024 09:05:24 -0400 (0:00:01.104) 0:02:44.324 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 05 October 2024 09:05:25 -0400 (0:00:01.305) 0:02:45.630 ****** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 05 October 2024 09:05:25 -0400 (0:00:00.164) 0:02:45.794 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 05 October 2024 09:05:25 -0400 (0:00:00.115) 0:02:45.910 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 05 October 2024 09:05:25 -0400 (0:00:00.118) 0:02:46.029 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 05 October 2024 09:05:25 -0400 (0:00:00.194) 0:02:46.223 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 05 October 2024 09:05:26 -0400 (0:00:00.135) 0:02:46.359 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 05 October 2024 09:05:26 -0400 (0:00:00.147) 0:02:46.506 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 05 October 2024 09:05:26 -0400 (0:00:00.205) 0:02:46.712 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 05 October 2024 09:05:26 -0400 (0:00:00.182) 0:02:46.894 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 05 October 2024 09:05:26 -0400 (0:00:00.169) 0:02:47.064 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 05 October 2024 09:05:26 -0400 (0:00:00.153) 0:02:47.218 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 05 October 2024 09:05:27 -0400 (0:00:00.122) 0:02:47.341 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 05 October 2024 09:05:27 -0400 (0:00:00.756) 0:02:48.097 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 05 October 2024 09:05:27 -0400 (0:00:00.171) 0:02:48.269 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 05 October 2024 09:05:28 -0400 (0:00:00.187) 0:02:48.456 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 05 October 2024 09:05:28 -0400 (0:00:00.137) 0:02:48.594 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 05 October 2024 09:05:28 -0400 (0:00:00.674) 0:02:49.269 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 05 October 2024 09:05:29 -0400 (0:00:00.108) 0:02:49.377 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 05 October 2024 09:05:29 -0400 (0:00:00.136) 0:02:49.513 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 05 October 2024 09:05:29 -0400 (0:00:00.187) 0:02:49.701 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 05 October 2024 09:05:29 -0400 (0:00:00.115) 0:02:49.816 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 05 October 2024 09:05:29 -0400 (0:00:00.406) 0:02:50.222 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 05 October 2024 09:05:30 -0400 (0:00:00.239) 0:02:50.462 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 05 October 2024 09:05:30 -0400 (0:00:00.336) 0:02:50.798 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 05 October 2024 09:05:30 -0400 (0:00:00.166) 0:02:50.965 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 05 October 2024 09:05:31 -0400 (0:00:00.518) 0:02:51.484 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 05 October 2024 09:05:31 -0400 (0:00:00.113) 0:02:51.597 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020038", "end": "2024-10-05 09:05:31.718977", "rc": 1, "start": "2024-10-05 09:05:31.698939" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 05 October 2024 09:05:31 -0400 (0:00:00.558) 0:02:52.155 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 05 October 2024 09:05:32 -0400 (0:00:00.136) 0:02:52.292 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 05 October 2024 09:05:32 -0400 (0:00:00.148) 0:02:52.440 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 05 October 2024 09:05:32 -0400 (0:00:00.122) 0:02:52.563 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 05 October 2024 09:05:32 -0400 (0:00:00.122) 0:02:52.685 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 05 October 2024 09:05:32 -0400 (0:00:00.095) 0:02:52.781 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 05 October 2024 09:05:32 -0400 (0:00:00.141) 0:02:52.923 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.601326", "end": "2024-10-05 09:05:33.529381", "rc": 0, "start": "2024-10-05 09:05:32.928055" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 05 October 2024 09:05:33 -0400 (0:00:01.040) 0:02:53.963 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 05 October 2024 09:05:33 -0400 (0:00:00.073) 0:02:54.037 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 05 October 2024 09:05:33 -0400 (0:00:00.074) 0:02:54.111 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 05 October 2024 09:05:34 -0400 (0:00:00.206) 0:02:54.317 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 05 October 2024 09:05:34 -0400 (0:00:00.179) 0:02:54.497 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 05 October 2024 09:05:34 -0400 (0:00:00.648) 0:02:55.145 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 05 October 2024 09:05:34 -0400 (0:00:00.118) 0:02:55.263 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 05 October 2024 09:05:35 -0400 (0:00:00.115) 0:02:55.378 ****** included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 05 October 2024 09:05:35 -0400 (0:00:00.236) 0:02:55.615 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043180", "end": "2024-10-05 09:05:35.768805", "rc": 1, "start": "2024-10-05 09:05:35.725625" } 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 05 October 2024 09:05:36 -0400 (0:00:00.685) 0:02:56.300 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006978", "end": "2024-10-05 09:05:36.536444", "rc": 0, "start": "2024-10-05 09:05:36.529466" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:ec:09:55:0d:3b brd ff:ff:ff:ff:ff:ff inet 10.31.10.107/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2775sec preferred_lft 2775sec inet6 fe80::10ec:9ff:fe55:d3b/64 scope link valid_lft forever preferred_lft forever 20: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether d6:f2:9b:f8:c2:e2 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.107 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-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 05 October 2024 09:05:36 -0400 (0:00:00.670) 0:02:56.971 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.420733", "end": "2024-10-05 09:05:37.499834", "rc": 0, "start": "2024-10-05 09:05:37.079101" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1111 0 --:--:-- --:--:-- --:--:-- 1113 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2313 0 --:--:-- --:--:-- --:--:-- 2328 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 05 October 2024 09:05:37 -0400 (0:00:00.863) 0:02:57.835 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.13s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-BUr/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-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-BUr/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-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.47s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.45s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-BUr/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-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.40s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-BUr/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-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.26s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.26s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.18s /tmp/collections-BUr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21