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-H8T/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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 07 October 2024 08:25:34 -0400 (0:00:00.031) 0:00:00.031 ******** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 07 October 2024 08:25:35 -0400 (0:00:01.127) 0:00:01.159 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 07 October 2024 08:25:35 -0400 (0:00:00.143) 0:00:01.302 ******** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 07 October 2024 08:25:36 -0400 (0:00:00.552) 0:00:01.854 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 07 October 2024 08:25:36 -0400 (0:00:00.478) 0:00:02.332 ******** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 07 October 2024 08:25:36 -0400 (0:00:00.045) 0:00:02.378 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 07 October 2024 08:25:36 -0400 (0:00:00.050) 0:00:02.428 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 07 October 2024 08:25:36 -0400 (0:00:00.086) 0:00:02.515 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 07 October 2024 08:25:37 -0400 (0:00:00.501) 0:00:03.016 ******** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 07 October 2024 08:25:38 -0400 (0:00:01.184) 0:00:04.201 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.159501", "end": "2024-10-07 08:25:38.957908", "rc": 0, "start": "2024-10-07 08:25:38.798407" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 07 October 2024 08:25:39 -0400 (0:00:00.682) 0:00:04.883 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 07 October 2024 08:25:39 -0400 (0:00:00.042) 0:00:04.925 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 07 October 2024 08:25:39 -0400 (0:00:00.041) 0:00:04.967 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 07 October 2024 08:25:39 -0400 (0:00:00.039) 0:00:05.007 ******** ok: [managed-node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 07 October 2024 08:25:39 -0400 (0:00:00.572) 0:00:05.580 ******** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 07 October 2024 08:25:39 -0400 (0:00:00.057) 0:00:05.638 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:25:39 -0400 (0:00:00.112) 0:00:05.750 ******** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:25:39 -0400 (0:00:00.058) 0:00:05.809 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:25:40 -0400 (0:00:00.116) 0:00:05.925 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:25:40 -0400 (0:00:00.056) 0:00:05.982 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:25:40 -0400 (0:00:00.054) 0:00:06.037 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003016", "end": "2024-10-07 08:25:40.527631", "rc": 0, "start": "2024-10-07 08:25:40.524615" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:25:40 -0400 (0:00:00.381) 0:00:06.418 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:25:40 -0400 (0:00:00.040) 0:00:06.459 ******** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:25:40 -0400 (0:00:00.038) 0:00:06.497 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 07 October 2024 08:25:40 -0400 (0:00:00.074) 0:00:06.572 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007860", "end": "2024-10-07 08:25:41.032801", "rc": 1, "start": "2024-10-07 08:25:41.024941" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:25:41 -0400 (0:00:00.353) 0:00:06.925 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:25:41 -0400 (0:00:00.048) 0:00:06.974 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:25:41 -0400 (0:00:00.544) 0:00:07.519 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:25:41 -0400 (0:00:00.112) 0:00:07.632 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:25:41 -0400 (0:00:00.132) 0:00:07.764 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:25:42 -0400 (0:00:00.421) 0:00:08.186 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:25:42 -0400 (0:00:00.116) 0:00:08.303 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:25:42 -0400 (0:00:00.050) 0:00:08.353 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:25:42 -0400 (0:00:00.036) 0:00:08.389 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:25:42 -0400 (0:00:00.048) 0:00:08.437 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:25:44 -0400 (0:00:01.520) 0:00:09.958 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:25:46 -0400 (0:00:02.300) 0:00:12.258 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:25:46 -0400 (0:00:00.201) 0:00:12.460 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:25:46 -0400 (0:00:00.179) 0:00:12.640 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:25:46 -0400 (0:00:00.119) 0:00:12.759 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:25:47 -0400 (0:00:00.121) 0:00:12.880 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:25:47 -0400 (0:00:00.117) 0:00:12.998 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:25:47 -0400 (0:00:00.150) 0:00:13.148 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:25:47 -0400 (0:00:00.166) 0:00:13.314 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:25:47 -0400 (0:00:00.218) 0:00:13.532 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:25:47 -0400 (0:00:00.151) 0:00:13.684 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:25:47 -0400 (0:00:00.109) 0:00:13.794 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:25:48 -0400 (0:00:00.207) 0:00:14.001 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:25:49 -0400 (0:00:01.142) 0:00:15.144 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:25:49 -0400 (0:00:00.145) 0:00:15.290 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:25:49 -0400 (0:00:00.115) 0:00:15.405 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:25:49 -0400 (0:00:00.140) 0:00:15.546 ******** changed: [managed-node3] => { "_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, bf278cc1-2473-4d35-985a-2564e56f5702 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:25:51 -0400 (0:00:01.408) 0:00:16.954 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:25:51 -0400 (0:00:00.156) 0:00:17.111 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf278cc1-2473-4d35-985a-2564e56f5702" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:25:51 -0400 (0:00:00.089) 0:00:17.201 ******** ok: [managed-node3] => { "__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, bf278cc1-2473-4d35-985a-2564e56f5702\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf278cc1-2473-4d35-985a-2564e56f5702" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:25:51 -0400 (0:00:00.072) 0:00:17.274 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:25:51 -0400 (0:00:00.068) 0:00:17.342 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:25:52 -0400 (0:00:00.540) 0:00:17.882 ******** ok: [managed-node3] => { "__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, bf278cc1-2473-4d35-985a-2564e56f5702\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf278cc1-2473-4d35-985a-2564e56f5702" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:25:52 -0400 (0:00:00.104) 0:00:17.987 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:25:52 -0400 (0:00:00.131) 0:00:18.119 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:25:52 -0400 (0:00:00.171) 0:00:18.290 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:25:52 -0400 (0:00:00.106) 0:00:18.396 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728303950.9652228, "block_size": 4096, "blocks": 8, "ctime": 1728303950.897223, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303950.897223, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:25:53 -0400 (0:00:00.520) 0:00:18.917 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:25:53 -0400 (0:00:00.213) 0:00:19.131 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022792", "end": "2024-10-07 08:25:53.760876", "rc": 0, "start": "2024-10-07 08:25:53.738084" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:25:53 -0400 (0:00:00.589) 0:00:19.720 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:25:54 -0400 (0:00:00.213) 0:00:19.933 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:25:54 -0400 (0:00:00.198) 0:00:20.132 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:25:54 -0400 (0:00:00.126) 0:00:20.259 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:25:54 -0400 (0:00:00.211) 0:00:20.470 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:25:54 -0400 (0:00:00.071) 0:00:20.542 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:25:54 -0400 (0:00:00.091) 0:00:20.633 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:25:54 -0400 (0:00:00.075) 0:00:20.708 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:25:54 -0400 (0:00:00.096) 0:00:20.805 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:25:55 -0400 (0:00:00.224) 0:00:21.030 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:25:55 -0400 (0:00:00.180) 0:00:21.211 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728303950.907223, "block_size": 4096, "blocks": 0, "ctime": 1728303950.8992229, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17679, "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": 1728303950.8992229, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:25:55 -0400 (0:00:00.383) 0:00:21.594 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:25:55 -0400 (0:00:00.134) 0:00:21.729 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:25:56 -0400 (0:00:00.121) 0:00:21.851 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:25:56 -0400 (0:00:00.173) 0:00:22.024 ******** fatal: [managed-node3]: 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.071789", "end": "2024-10-07 08:25:56.524928", "rc": 1, "start": "2024-10-07 08:25:56.453139" } STDOUT: Connection 'statebr' (bf278cc1-2473-4d35-985a-2564e56f5702) successfully deleted. STDERR: (process:16927): GLib-GIO-WARNING **: 08:25:56.506: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/33 but no object proxy exists (process:16927): GLib-GIO-WARNING **: 08:25:56.506: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/56 but no object proxy exists (process:16927): GLib-GIO-WARNING **: 08:25:56.506: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/36 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 07 October 2024 08:25:56 -0400 (0:00:00.582) 0:00:22.607 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:25:57 -0400 (0:00:00.265) 0:00:22.872 ******** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:25:57 -0400 (0:00:00.161) 0:00:23.034 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:25:57 -0400 (0:00:00.171) 0:00:23.206 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:25:57 -0400 (0:00:00.186) 0:00:23.392 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:25:57 -0400 (0:00:00.123) 0:00:23.516 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003218", "end": "2024-10-07 08:25:57.919511", "rc": 0, "start": "2024-10-07 08:25:57.916293" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:25:58 -0400 (0:00:00.357) 0:00:23.874 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:25:58 -0400 (0:00:00.085) 0:00:23.959 ******** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:25:58 -0400 (0:00:00.071) 0:00:24.031 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 07 October 2024 08:25:58 -0400 (0:00:00.132) 0:00:24.163 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006469", "end": "2024-10-07 08:25:58.728888", "rc": 1, "start": "2024-10-07 08:25:58.722419" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:25:58 -0400 (0:00:00.500) 0:00:24.664 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:25:58 -0400 (0:00:00.164) 0:00:24.828 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:25:59 -0400 (0:00:00.465) 0:00:25.294 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:25:59 -0400 (0:00:00.156) 0:00:25.451 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 07 October 2024 08:25:59 -0400 (0:00:00.289) 0:00:25.740 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:00 -0400 (0:00:00.342) 0:00:26.082 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:00 -0400 (0:00:00.290) 0:00:26.373 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:00 -0400 (0:00:00.099) 0:00:26.473 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:00 -0400 (0:00:00.070) 0:00:26.543 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:00 -0400 (0:00:00.067) 0:00:26.611 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:01 -0400 (0:00:00.913) 0:00:27.524 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:03 -0400 (0:00:01.560) 0:00:29.085 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:03 -0400 (0:00:00.133) 0:00:29.218 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:03 -0400 (0:00:00.126) 0:00:29.345 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:03 -0400 (0:00:00.109) 0:00:29.454 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:03 -0400 (0:00:00.168) 0:00:29.622 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:03 -0400 (0:00:00.114) 0:00:29.736 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:04 -0400 (0:00:00.132) 0:00:29.869 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:04 -0400 (0:00:00.090) 0:00:29.959 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:04 -0400 (0:00:00.146) 0:00:30.105 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:04 -0400 (0:00:00.123) 0:00:30.229 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:04 -0400 (0:00:00.109) 0:00:30.338 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:04 -0400 (0:00:00.099) 0:00:30.438 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:05 -0400 (0:00:00.507) 0:00:30.946 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:05 -0400 (0:00:00.108) 0:00:31.054 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:05 -0400 (0:00:00.116) 0:00:31.179 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:05 -0400 (0:00:00.098) 0:00:31.278 ******** changed: [managed-node3] => { "_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, 6efe50cd-aecc-4af0-8416-5dd75b759d75 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:06 -0400 (0:00:00.700) 0:00:31.979 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:06 -0400 (0:00:00.105) 0:00:32.084 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6efe50cd-aecc-4af0-8416-5dd75b759d75" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:06 -0400 (0:00:00.107) 0:00:32.192 ******** ok: [managed-node3] => { "__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, 6efe50cd-aecc-4af0-8416-5dd75b759d75\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6efe50cd-aecc-4af0-8416-5dd75b759d75" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:06 -0400 (0:00:00.145) 0:00:32.337 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:06 -0400 (0:00:00.181) 0:00:32.518 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 07 October 2024 08:26:07 -0400 (0:00:00.335) 0:00:32.854 ******** ok: [managed-node3] => { "__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, 6efe50cd-aecc-4af0-8416-5dd75b759d75\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6efe50cd-aecc-4af0-8416-5dd75b759d75" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:26:07 -0400 (0:00:00.096) 0:00:32.950 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:26:07 -0400 (0:00:00.227) 0:00:33.178 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:07 -0400 (0:00:00.199) 0:00:33.377 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:26:08 -0400 (0:00:00.604) 0:00:33.982 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:26:08 -0400 (0:00:00.264) 0:00:34.247 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:26:08 -0400 (0:00:00.265) 0:00:34.512 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:26:08 -0400 (0:00:00.116) 0:00:34.628 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728303966.0132062, "block_size": 4096, "blocks": 8, "ctime": 1728303966.0132062, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303966.0132062, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:26:09 -0400 (0:00:00.601) 0:00:35.230 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:26:09 -0400 (0:00:00.116) 0:00:35.346 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019586", "end": "2024-10-07 08:26:09.994555", "rc": 0, "start": "2024-10-07 08:26:09.974969" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:26:10 -0400 (0:00:00.744) 0:00:36.091 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:26:10 -0400 (0:00:00.202) 0:00:36.294 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:26:10 -0400 (0:00:00.112) 0:00:36.406 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:26:10 -0400 (0:00:00.078) 0:00:36.485 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:26:10 -0400 (0:00:00.083) 0:00:36.568 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:26:10 -0400 (0:00:00.134) 0:00:36.702 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:26:11 -0400 (0:00:00.158) 0:00:36.862 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:26:11 -0400 (0:00:00.135) 0:00:36.997 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:26:11 -0400 (0:00:00.142) 0:00:37.139 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:26:11 -0400 (0:00:00.123) 0:00:37.262 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:26:11 -0400 (0:00:00.105) 0:00:37.368 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:26:11 -0400 (0:00:00.211) 0:00:37.580 ******** fatal: [managed-node3]: 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.045414", "end": "2024-10-07 08:26:12.204769", "rc": 1, "start": "2024-10-07 08:26:12.159355" } STDOUT: Connection 'statebr' (6efe50cd-aecc-4af0-8416-5dd75b759d75) 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 07 October 2024 08:26:12 -0400 (0:00:00.653) 0:00:38.234 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:12 -0400 (0:00:00.240) 0:00:38.474 ******** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:12 -0400 (0:00:00.211) 0:00:38.686 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:26:13 -0400 (0:00:00.199) 0:00:38.886 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:26:13 -0400 (0:00:00.187) 0:00:39.073 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:26:13 -0400 (0:00:00.142) 0:00:39.216 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002907", "end": "2024-10-07 08:26:13.697118", "rc": 0, "start": "2024-10-07 08:26:13.694211" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:26:13 -0400 (0:00:00.426) 0:00:39.642 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:26:13 -0400 (0:00:00.071) 0:00:39.714 ******** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:26:13 -0400 (0:00:00.088) 0:00:39.802 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:26:14 -0400 (0:00:00.218) 0:00:40.020 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:14 -0400 (0:00:00.161) 0:00:40.181 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:14 -0400 (0:00:00.153) 0:00:40.334 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:14 -0400 (0:00:00.138) 0:00:40.472 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:14 -0400 (0:00:00.109) 0:00:40.582 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:14 -0400 (0:00:00.087) 0:00:40.669 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:15 -0400 (0:00:01.098) 0:00:41.768 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:17 -0400 (0:00:01.562) 0:00:43.330 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:17 -0400 (0:00:00.213) 0:00:43.543 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:17 -0400 (0:00:00.129) 0:00:43.672 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:17 -0400 (0:00:00.131) 0:00:43.804 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:18 -0400 (0:00:00.115) 0:00:43.919 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:18 -0400 (0:00:00.114) 0:00:44.033 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:18 -0400 (0:00:00.212) 0:00:44.246 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:18 -0400 (0:00:00.164) 0:00:44.411 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:18 -0400 (0:00:00.211) 0:00:44.622 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:18 -0400 (0:00:00.160) 0:00:44.782 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:19 -0400 (0:00:00.148) 0:00:44.931 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:19 -0400 (0:00:00.204) 0:00:45.136 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:19 -0400 (0:00:00.663) 0:00:45.799 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:20 -0400 (0:00:00.124) 0:00:45.923 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:20 -0400 (0:00:00.204) 0:00:46.128 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:20 -0400 (0:00:00.185) 0:00:46.314 ******** changed: [managed-node3] => { "_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, 0cf46116-046c-44a2-9cd3-941fe437bfc8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:21 -0400 (0:00:00.959) 0:00:47.273 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:21 -0400 (0:00:00.119) 0:00:47.392 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0cf46116-046c-44a2-9cd3-941fe437bfc8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:21 -0400 (0:00:00.164) 0:00:47.556 ******** ok: [managed-node3] => { "__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, 0cf46116-046c-44a2-9cd3-941fe437bfc8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0cf46116-046c-44a2-9cd3-941fe437bfc8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:21 -0400 (0:00:00.103) 0:00:47.660 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:21 -0400 (0:00:00.082) 0:00:47.742 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:26:22 -0400 (0:00:00.392) 0:00:48.135 ******** ok: [managed-node3] => { "__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, 0cf46116-046c-44a2-9cd3-941fe437bfc8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0cf46116-046c-44a2-9cd3-941fe437bfc8" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:26:22 -0400 (0:00:00.137) 0:00:48.272 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:26:22 -0400 (0:00:00.233) 0:00:48.506 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:22 -0400 (0:00:00.238) 0:00:48.744 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:23 -0400 (0:00:00.280) 0:00:49.024 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:23 -0400 (0:00:00.123) 0:00:49.148 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:23 -0400 (0:00:00.092) 0:00:49.240 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:23 -0400 (0:00:00.078) 0:00:49.319 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:24 -0400 (0:00:01.007) 0:00:50.326 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:25 -0400 (0:00:01.426) 0:00:51.752 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:26 -0400 (0:00:00.126) 0:00:51.879 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:26 -0400 (0:00:00.173) 0:00:52.053 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:26 -0400 (0:00:00.124) 0:00:52.177 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:26 -0400 (0:00:00.105) 0:00:52.283 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:26 -0400 (0:00:00.106) 0:00:52.389 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:26 -0400 (0:00:00.198) 0:00:52.588 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:26 -0400 (0:00:00.121) 0:00:52.709 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:27 -0400 (0:00:00.170) 0:00:52.880 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:27 -0400 (0:00:00.085) 0:00:52.966 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:27 -0400 (0:00:00.068) 0:00:53.035 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:27 -0400 (0:00:00.104) 0:00:53.140 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:28 -0400 (0:00:00.869) 0:00:54.010 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:28 -0400 (0:00:00.140) 0:00:54.150 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:28 -0400 (0:00:00.132) 0:00:54.283 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:28 -0400 (0:00:00.108) 0:00:54.391 ******** ok: [managed-node3] => { "_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, 0cf46116-046c-44a2-9cd3-941fe437bfc8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:29 -0400 (0:00:01.000) 0:00:55.392 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:29 -0400 (0:00:00.132) 0:00:55.524 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0cf46116-046c-44a2-9cd3-941fe437bfc8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:29 -0400 (0:00:00.133) 0:00:55.658 ******** ok: [managed-node3] => { "__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, 0cf46116-046c-44a2-9cd3-941fe437bfc8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0cf46116-046c-44a2-9cd3-941fe437bfc8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:29 -0400 (0:00:00.107) 0:00:55.765 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:30 -0400 (0:00:00.124) 0:00:55.890 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:26:30 -0400 (0:00:00.544) 0:00:56.434 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:26:30 -0400 (0:00:00.206) 0:00:56.640 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:26:31 -0400 (0:00:00.313) 0:00:56.954 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728303981.1521895, "block_size": 4096, "blocks": 0, "ctime": 1728303981.1481895, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17679, "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": 1728303981.1481895, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:26:31 -0400 (0:00:00.467) 0:00:57.422 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:26:31 -0400 (0:00:00.088) 0:00:57.510 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:26:31 -0400 (0:00:00.197) 0:00:57.708 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:26:31 -0400 (0:00:00.115) 0:00:57.823 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728303981.1471896, "block_size": 4096, "blocks": 8, "ctime": 1728303981.1461895, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303981.1461895, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:26:32 -0400 (0:00:00.503) 0:00:58.327 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:26:32 -0400 (0:00:00.141) 0:00:58.468 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018682", "end": "2024-10-07 08:26:32.956594", "rc": 0, "start": "2024-10-07 08:26:32.937912" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:26:33 -0400 (0:00:00.461) 0:00:58.930 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:26:33 -0400 (0:00:00.118) 0:00:59.049 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:26:33 -0400 (0:00:00.224) 0:00:59.274 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:26:33 -0400 (0:00:00.229) 0:00:59.504 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:26:33 -0400 (0:00:00.242) 0:00:59.746 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:26:34 -0400 (0:00:00.189) 0:00:59.935 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:26:34 -0400 (0:00:00.115) 0:01:00.051 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:26:34 -0400 (0:00:00.123) 0:01:00.175 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:26:34 -0400 (0:00:00.232) 0:01:00.408 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:26:34 -0400 (0:00:00.105) 0:01:00.513 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:26:34 -0400 (0:00:00.098) 0:01:00.612 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:26:34 -0400 (0:00:00.222) 0:01:00.834 ******** fatal: [managed-node3]: 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.075257", "end": "2024-10-07 08:26:35.541710", "rc": 1, "start": "2024-10-07 08:26:35.466453" } STDOUT: Connection 'statebr' (0cf46116-046c-44a2-9cd3-941fe437bfc8) successfully deleted. STDERR: (process:18728): GLib-GIO-WARNING **: 08:26:35.519: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/34 but no object proxy exists (process:18728): GLib-GIO-WARNING **: 08:26:35.520: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/37 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 07 October 2024 08:26:35 -0400 (0:00:00.674) 0:01:01.508 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:26:35 -0400 (0:00:00.211) 0:01:01.720 ******** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:26:36 -0400 (0:00:00.173) 0:01:01.894 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:26:36 -0400 (0:00:00.280) 0:01:02.175 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:26:36 -0400 (0:00:00.181) 0:01:02.356 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:26:36 -0400 (0:00:00.220) 0:01:02.577 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004160", "end": "2024-10-07 08:26:38.187659", "rc": 0, "start": "2024-10-07 08:26:37.183499" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:26:38 -0400 (0:00:01.534) 0:01:04.112 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:26:38 -0400 (0:00:00.079) 0:01:04.191 ******** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:26:38 -0400 (0:00:00.183) 0:01:04.374 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:26:38 -0400 (0:00:00.218) 0:01:04.592 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:38 -0400 (0:00:00.182) 0:01:04.775 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:39 -0400 (0:00:00.160) 0:01:04.936 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:39 -0400 (0:00:00.109) 0:01:05.046 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:39 -0400 (0:00:00.080) 0:01:05.127 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:39 -0400 (0:00:00.068) 0:01:05.196 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:40 -0400 (0:00:01.069) 0:01:06.265 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:42 -0400 (0:00:01.833) 0:01:08.099 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:42 -0400 (0:00:00.125) 0:01:08.224 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:42 -0400 (0:00:00.080) 0:01:08.305 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:42 -0400 (0:00:00.072) 0:01:08.377 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:42 -0400 (0:00:00.112) 0:01:08.489 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:42 -0400 (0:00:00.166) 0:01:08.657 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:42 -0400 (0:00:00.121) 0:01:08.778 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:43 -0400 (0:00:00.142) 0:01:08.920 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:43 -0400 (0:00:00.145) 0:01:09.066 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:43 -0400 (0:00:00.193) 0:01:09.259 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:43 -0400 (0:00:00.187) 0:01:09.447 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:43 -0400 (0:00:00.135) 0:01:09.582 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:44 -0400 (0:00:00.676) 0:01:10.259 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:44 -0400 (0:00:00.200) 0:01:10.460 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:44 -0400 (0:00:00.113) 0:01:10.573 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:44 -0400 (0:00:00.110) 0:01:10.684 ******** changed: [managed-node3] => { "_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, d725faae-e7c9-4ce6-a373-30512c80d365 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:45 -0400 (0:00:00.873) 0:01:11.557 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:45 -0400 (0:00:00.230) 0:01:11.787 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d725faae-e7c9-4ce6-a373-30512c80d365" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:46 -0400 (0:00:00.170) 0:01:11.958 ******** ok: [managed-node3] => { "__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, d725faae-e7c9-4ce6-a373-30512c80d365\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d725faae-e7c9-4ce6-a373-30512c80d365" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:46 -0400 (0:00:00.121) 0:01:12.080 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:46 -0400 (0:00:00.115) 0:01:12.195 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:26:46 -0400 (0:00:00.367) 0:01:12.562 ******** ok: [managed-node3] => { "__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, d725faae-e7c9-4ce6-a373-30512c80d365\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d725faae-e7c9-4ce6-a373-30512c80d365" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:26:46 -0400 (0:00:00.087) 0:01:12.649 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:47 -0400 (0:00:00.196) 0:01:12.845 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:47 -0400 (0:00:00.229) 0:01:13.074 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:47 -0400 (0:00:00.137) 0:01:13.212 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:47 -0400 (0:00:00.090) 0:01:13.302 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:47 -0400 (0:00:00.089) 0:01:13.391 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:48 -0400 (0:00:00.871) 0:01:14.263 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:50 -0400 (0:00:01.587) 0:01:15.850 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:50 -0400 (0:00:00.113) 0:01:15.963 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:50 -0400 (0:00:00.154) 0:01:16.118 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:50 -0400 (0:00:00.118) 0:01:16.236 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:50 -0400 (0:00:00.118) 0:01:16.355 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:50 -0400 (0:00:00.132) 0:01:16.487 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:50 -0400 (0:00:00.113) 0:01:16.601 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:50 -0400 (0:00:00.101) 0:01:16.702 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:51 -0400 (0:00:00.163) 0:01:16.866 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:51 -0400 (0:00:00.104) 0:01:16.971 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:51 -0400 (0:00:00.121) 0:01:17.092 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:51 -0400 (0:00:00.130) 0:01:17.222 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:26:51 -0400 (0:00:00.588) 0:01:17.811 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:26:52 -0400 (0:00:00.136) 0:01:17.947 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:26:52 -0400 (0:00:00.180) 0:01:18.127 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:26:52 -0400 (0:00:00.135) 0:01:18.262 ******** ok: [managed-node3] => { "_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, d725faae-e7c9-4ce6-a373-30512c80d365 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:26:53 -0400 (0:00:00.874) 0:01:19.137 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:26:53 -0400 (0:00:00.115) 0:01:19.252 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d725faae-e7c9-4ce6-a373-30512c80d365 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:26:53 -0400 (0:00:00.156) 0:01:19.409 ******** ok: [managed-node3] => { "__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, d725faae-e7c9-4ce6-a373-30512c80d365 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d725faae-e7c9-4ce6-a373-30512c80d365 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:26:53 -0400 (0:00:00.108) 0:01:19.517 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:26:53 -0400 (0:00:00.124) 0:01:19.642 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:26:54 -0400 (0:00:00.399) 0:01:20.041 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 07 October 2024 08:26:54 -0400 (0:00:00.156) 0:01:20.198 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:26:54 -0400 (0:00:00.302) 0:01:20.500 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:26:55 -0400 (0:00:00.399) 0:01:20.900 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:26:55 -0400 (0:00:00.179) 0:01:21.079 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:26:55 -0400 (0:00:00.116) 0:01:21.195 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:26:55 -0400 (0:00:00.096) 0:01:21.291 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:26:56 -0400 (0:00:01.088) 0:01:22.380 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:26:58 -0400 (0:00:01.564) 0:01:23.944 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:26:58 -0400 (0:00:00.224) 0:01:24.169 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:26:58 -0400 (0:00:00.168) 0:01:24.338 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:26:58 -0400 (0:00:00.189) 0:01:24.528 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:26:58 -0400 (0:00:00.159) 0:01:24.687 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:26:58 -0400 (0:00:00.137) 0:01:24.825 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:26:59 -0400 (0:00:00.136) 0:01:24.961 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:26:59 -0400 (0:00:00.087) 0:01:25.048 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:26:59 -0400 (0:00:00.169) 0:01:25.217 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:26:59 -0400 (0:00:00.194) 0:01:25.413 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:26:59 -0400 (0:00:00.224) 0:01:25.638 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:26:59 -0400 (0:00:00.165) 0:01:25.803 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:00 -0400 (0:00:00.804) 0:01:26.607 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:00 -0400 (0:00:00.157) 0:01:26.765 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:01 -0400 (0:00:00.183) 0:01:26.949 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:01 -0400 (0:00:00.121) 0:01:27.071 ******** changed: [managed-node3] => { "_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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:02 -0400 (0:00:00.772) 0:01:27.843 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:02 -0400 (0:00:00.113) 0:01:27.957 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:02 -0400 (0:00:00.130) 0:01:28.088 ******** ok: [managed-node3] => { "__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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:02 -0400 (0:00:00.099) 0:01:28.187 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:02 -0400 (0:00:00.095) 0:01:28.282 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:27:02 -0400 (0:00:00.328) 0:01:28.611 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:27:02 -0400 (0:00:00.146) 0:01:28.758 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:27:03 -0400 (0:00:00.134) 0:01:28.892 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728304005.5371625, "block_size": 4096, "blocks": 0, "ctime": 1728304005.5321627, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17682, "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": 1728304005.5321627, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:27:03 -0400 (0:00:00.448) 0:01:29.341 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:27:03 -0400 (0:00:00.077) 0:01:29.418 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:27:03 -0400 (0:00:00.127) 0:01:29.546 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:27:03 -0400 (0:00:00.074) 0:01:29.620 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:27:04 -0400 (0:00:00.327) 0:01:29.948 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:27:04 -0400 (0:00:00.098) 0:01:30.047 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019411", "end": "2024-10-07 08:27:04.538545", "rc": 1, "start": "2024-10-07 08:27:04.519134" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:27:04 -0400 (0:00:00.460) 0:01:30.507 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:27:04 -0400 (0:00:00.113) 0:01:30.620 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:27:04 -0400 (0:00:00.106) 0:01:30.727 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:27:05 -0400 (0:00:00.112) 0:01:30.839 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:27:05 -0400 (0:00:00.112) 0:01:30.952 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:27:05 -0400 (0:00:00.109) 0:01:31.062 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:27:05 -0400 (0:00:00.150) 0:01:31.213 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:27:05 -0400 (0:00:00.105) 0:01:31.318 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:27:05 -0400 (0:00:00.114) 0:01:31.433 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:27:05 -0400 (0:00:00.279) 0:01:31.712 ******** fatal: [managed-node3]: 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.072273", "end": "2024-10-07 08:27:06.240241", "rc": 1, "start": "2024-10-07 08:27:06.167968" } STDOUT: Connection 'statebr' (d725faae-e7c9-4ce6-a373-30512c80d365) successfully deleted. STDERR: (process:20153): GLib-GIO-WARNING **: 08:27:06.216: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/35 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 07 October 2024 08:27:06 -0400 (0:00:00.456) 0:01:32.169 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:27:06 -0400 (0:00:00.180) 0:01:32.349 ******** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:27:06 -0400 (0:00:00.105) 0:01:32.454 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:27:06 -0400 (0:00:00.158) 0:01:32.613 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:27:06 -0400 (0:00:00.151) 0:01:32.764 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:27:07 -0400 (0:00:00.197) 0:01:32.961 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003110", "end": "2024-10-07 08:27:07.393889", "rc": 0, "start": "2024-10-07 08:27:07.390779" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:27:07 -0400 (0:00:00.361) 0:01:33.322 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:27:07 -0400 (0:00:00.121) 0:01:33.444 ******** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:27:07 -0400 (0:00:00.112) 0:01:33.556 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:27:07 -0400 (0:00:00.277) 0:01:33.833 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:08 -0400 (0:00:00.306) 0:01:34.139 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:08 -0400 (0:00:00.417) 0:01:34.556 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:08 -0400 (0:00:00.116) 0:01:34.673 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:08 -0400 (0:00:00.100) 0:01:34.774 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:09 -0400 (0:00:00.110) 0:01:34.884 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:10 -0400 (0:00:01.193) 0:01:36.078 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:11 -0400 (0:00:01.241) 0:01:37.319 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:11 -0400 (0:00:00.092) 0:01:37.412 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:11 -0400 (0:00:00.122) 0:01:37.534 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:11 -0400 (0:00:00.118) 0:01:37.652 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:11 -0400 (0:00:00.144) 0:01:37.797 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:12 -0400 (0:00:00.101) 0:01:37.898 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:12 -0400 (0:00:00.122) 0:01:38.021 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:12 -0400 (0:00:00.115) 0:01:38.137 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:12 -0400 (0:00:00.208) 0:01:38.345 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:12 -0400 (0:00:00.130) 0:01:38.476 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:12 -0400 (0:00:00.130) 0:01:38.607 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:12 -0400 (0:00:00.149) 0:01:38.757 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:13 -0400 (0:00:00.773) 0:01:39.530 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:13 -0400 (0:00:00.159) 0:01:39.689 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:14 -0400 (0:00:00.175) 0:01:39.865 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:14 -0400 (0:00:00.134) 0:01:39.999 ******** changed: [managed-node3] => { "_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, 79a68975-5d6e-4cbd-a49d-3f92be8ee255 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:15 -0400 (0:00:00.873) 0:01:40.872 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:15 -0400 (0:00:00.102) 0:01:40.975 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79a68975-5d6e-4cbd-a49d-3f92be8ee255" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:15 -0400 (0:00:00.114) 0:01:41.090 ******** ok: [managed-node3] => { "__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, 79a68975-5d6e-4cbd-a49d-3f92be8ee255\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79a68975-5d6e-4cbd-a49d-3f92be8ee255" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:15 -0400 (0:00:00.112) 0:01:41.202 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:15 -0400 (0:00:00.110) 0:01:41.313 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:27:15 -0400 (0:00:00.410) 0:01:41.723 ******** ok: [managed-node3] => { "__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, 79a68975-5d6e-4cbd-a49d-3f92be8ee255\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79a68975-5d6e-4cbd-a49d-3f92be8ee255" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:27:16 -0400 (0:00:00.190) 0:01:41.914 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:16 -0400 (0:00:00.140) 0:01:42.055 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:16 -0400 (0:00:00.142) 0:01:42.197 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:16 -0400 (0:00:00.089) 0:01:42.287 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:16 -0400 (0:00:00.071) 0:01:42.358 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:16 -0400 (0:00:00.071) 0:01:42.430 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:17 -0400 (0:00:00.838) 0:01:43.269 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:18 -0400 (0:00:01.396) 0:01:44.665 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:18 -0400 (0:00:00.112) 0:01:44.778 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:19 -0400 (0:00:00.116) 0:01:44.895 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:19 -0400 (0:00:00.113) 0:01:45.008 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:19 -0400 (0:00:00.106) 0:01:45.115 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:19 -0400 (0:00:00.110) 0:01:45.225 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:19 -0400 (0:00:00.123) 0:01:45.349 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:19 -0400 (0:00:00.119) 0:01:45.468 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:19 -0400 (0:00:00.195) 0:01:45.664 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:19 -0400 (0:00:00.121) 0:01:45.786 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:20 -0400 (0:00:00.095) 0:01:45.882 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:20 -0400 (0:00:00.114) 0:01:45.996 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:20 -0400 (0:00:00.604) 0:01:46.601 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:20 -0400 (0:00:00.227) 0:01:46.828 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:21 -0400 (0:00:00.249) 0:01:47.078 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:21 -0400 (0:00:00.140) 0:01:47.218 ******** ok: [managed-node3] => { "_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, 79a68975-5d6e-4cbd-a49d-3f92be8ee255 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:22 -0400 (0:00:00.952) 0:01:48.171 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:22 -0400 (0:00:00.175) 0:01:48.347 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79a68975-5d6e-4cbd-a49d-3f92be8ee255 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:22 -0400 (0:00:00.166) 0:01:48.514 ******** ok: [managed-node3] => { "__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, 79a68975-5d6e-4cbd-a49d-3f92be8ee255 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79a68975-5d6e-4cbd-a49d-3f92be8ee255 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:22 -0400 (0:00:00.117) 0:01:48.631 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:22 -0400 (0:00:00.092) 0:01:48.724 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 07 October 2024 08:27:23 -0400 (0:00:00.697) 0:01:49.421 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:24 -0400 (0:00:00.435) 0:01:49.857 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:24 -0400 (0:00:00.298) 0:01:50.155 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:24 -0400 (0:00:00.191) 0:01:50.347 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:24 -0400 (0:00:00.120) 0:01:50.467 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:24 -0400 (0:00:00.101) 0:01:50.569 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:25 -0400 (0:00:00.962) 0:01:51.531 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:27 -0400 (0:00:01.534) 0:01:53.066 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:27 -0400 (0:00:00.205) 0:01:53.271 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:27 -0400 (0:00:00.191) 0:01:53.462 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:27 -0400 (0:00:00.207) 0:01:53.670 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:28 -0400 (0:00:00.223) 0:01:53.893 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:28 -0400 (0:00:00.236) 0:01:54.129 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:28 -0400 (0:00:00.166) 0:01:54.296 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:28 -0400 (0:00:00.153) 0:01:54.449 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:28 -0400 (0:00:00.219) 0:01:54.669 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:28 -0400 (0:00:00.135) 0:01:54.805 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:29 -0400 (0:00:00.147) 0:01:54.952 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:29 -0400 (0:00:00.177) 0:01:55.129 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:29 -0400 (0:00:00.581) 0:01:55.710 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:29 -0400 (0:00:00.120) 0:01:55.831 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:30 -0400 (0:00:00.217) 0:01:56.049 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:30 -0400 (0:00:00.145) 0:01:56.194 ******** changed: [managed-node3] => { "_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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:31 -0400 (0:00:00.786) 0:01:56.980 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:31 -0400 (0:00:00.121) 0:01:57.101 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:31 -0400 (0:00:00.162) 0:01:57.264 ******** ok: [managed-node3] => { "__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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:31 -0400 (0:00:00.098) 0:01:57.363 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:31 -0400 (0:00:00.137) 0:01:57.501 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:27:32 -0400 (0:00:00.417) 0:01:57.918 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:27:32 -0400 (0:00:00.301) 0:01:58.220 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:32 -0400 (0:00:00.257) 0:01:58.477 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:32 -0400 (0:00:00.248) 0:01:58.726 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:33 -0400 (0:00:00.140) 0:01:58.866 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:33 -0400 (0:00:00.151) 0:01:59.018 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:33 -0400 (0:00:00.153) 0:01:59.171 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:34 -0400 (0:00:01.179) 0:02:00.350 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:35 -0400 (0:00:01.269) 0:02:01.620 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:35 -0400 (0:00:00.093) 0:02:01.713 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:36 -0400 (0:00:00.127) 0:02:01.841 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:36 -0400 (0:00:00.109) 0:02:01.950 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:36 -0400 (0:00:00.139) 0:02:02.089 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:36 -0400 (0:00:00.194) 0:02:02.284 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:36 -0400 (0:00:00.252) 0:02:02.536 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:36 -0400 (0:00:00.219) 0:02:02.755 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:37 -0400 (0:00:00.341) 0:02:03.097 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:37 -0400 (0:00:00.227) 0:02:03.324 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:37 -0400 (0:00:00.233) 0:02:03.558 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:37 -0400 (0:00:00.148) 0:02:03.707 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:38 -0400 (0:00:00.587) 0:02:04.294 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:38 -0400 (0:00:00.100) 0:02:04.394 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:38 -0400 (0:00:00.094) 0:02:04.488 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:38 -0400 (0:00:00.076) 0:02:04.565 ******** changed: [managed-node3] => { "_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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:39 -0400 (0:00:00.841) 0:02:05.406 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:39 -0400 (0:00:00.229) 0:02:05.635 ******** ok: [managed-node3] => { "__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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:39 -0400 (0:00:00.180) 0:02:05.816 ******** ok: [managed-node3] => { "__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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:40 -0400 (0:00:00.129) 0:02:05.945 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:40 -0400 (0:00:00.120) 0:02:06.065 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:27:40 -0400 (0:00:00.395) 0:02:06.461 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:27:40 -0400 (0:00:00.161) 0:02:06.622 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:27:40 -0400 (0:00:00.128) 0:02:06.751 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:27:41 -0400 (0:00:00.124) 0:02:06.876 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:27:41 -0400 (0:00:00.350) 0:02:07.226 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:27:41 -0400 (0:00:00.110) 0:02:07.337 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018224", "end": "2024-10-07 08:27:41.771275", "rc": 1, "start": "2024-10-07 08:27:41.753051" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:27:41 -0400 (0:00:00.359) 0:02:07.696 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:27:41 -0400 (0:00:00.072) 0:02:07.768 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:27:42 -0400 (0:00:00.075) 0:02:07.843 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:27:42 -0400 (0:00:00.071) 0:02:07.915 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:27:42 -0400 (0:00:00.074) 0:02:07.989 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:27:42 -0400 (0:00:00.072) 0:02:08.062 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:27:42 -0400 (0:00:00.073) 0:02:08.136 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:27:42 -0400 (0:00:00.156) 0:02:08.293 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:27:42 -0400 (0:00:00.182) 0:02:08.476 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:27:43 -0400 (0:00:00.420) 0:02:08.897 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:27:43 -0400 (0:00:00.118) 0:02:09.015 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:27:43 -0400 (0:00:00.185) 0:02:09.201 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:27:43 -0400 (0:00:00.216) 0:02:09.417 ******** fatal: [managed-node3]: 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.039662", "end": "2024-10-07 08:27:43.894083", "rc": 1, "start": "2024-10-07 08:27:43.854421" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 07 October 2024 08:27:44 -0400 (0:00:00.444) 0:02:09.862 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 07 October 2024 08:27:44 -0400 (0:00:00.198) 0:02:10.061 ******** ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 07 October 2024 08:27:44 -0400 (0:00:00.111) 0:02:10.172 ******** ok: [managed-node3] => (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-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 07 October 2024 08:27:44 -0400 (0:00:00.203) 0:02:10.376 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:27:44 -0400 (0:00:00.151) 0:02:10.527 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:27:44 -0400 (0:00:00.146) 0:02:10.674 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003052", "end": "2024-10-07 08:27:45.097260", "rc": 0, "start": "2024-10-07 08:27:45.094208" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:27:45 -0400 (0:00:00.368) 0:02:11.042 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:27:45 -0400 (0:00:00.088) 0:02:11.130 ******** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 07 October 2024 08:27:45 -0400 (0:00:00.074) 0:02:11.205 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 07 October 2024 08:27:45 -0400 (0:00:00.218) 0:02:11.424 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:45 -0400 (0:00:00.265) 0:02:11.689 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:46 -0400 (0:00:00.166) 0:02:11.856 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:46 -0400 (0:00:00.097) 0:02:11.954 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:46 -0400 (0:00:00.109) 0:02:12.063 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:46 -0400 (0:00:00.113) 0:02:12.177 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:47 -0400 (0:00:00.968) 0:02:13.145 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:48 -0400 (0:00:01.244) 0:02:14.390 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:48 -0400 (0:00:00.112) 0:02:14.502 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:48 -0400 (0:00:00.110) 0:02:14.612 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:48 -0400 (0:00:00.113) 0:02:14.726 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:49 -0400 (0:00:00.180) 0:02:14.907 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:49 -0400 (0:00:00.210) 0:02:15.117 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:49 -0400 (0:00:00.149) 0:02:15.266 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:49 -0400 (0:00:00.162) 0:02:15.429 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:49 -0400 (0:00:00.183) 0:02:15.612 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:49 -0400 (0:00:00.090) 0:02:15.703 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:49 -0400 (0:00:00.070) 0:02:15.774 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:50 -0400 (0:00:00.095) 0:02:15.870 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:50 -0400 (0:00:00.562) 0:02:16.432 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:50 -0400 (0:00:00.215) 0:02:16.647 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:50 -0400 (0:00:00.108) 0:02:16.755 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:51 -0400 (0:00:00.110) 0:02:16.866 ******** changed: [managed-node3] => { "_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, be0266a4-2d34-464e-ae9a-f29c3be48985 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:27:51 -0400 (0:00:00.893) 0:02:17.759 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:27:52 -0400 (0:00:00.133) 0:02:17.893 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be0266a4-2d34-464e-ae9a-f29c3be48985" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:27:52 -0400 (0:00:00.135) 0:02:18.028 ******** ok: [managed-node3] => { "__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, be0266a4-2d34-464e-ae9a-f29c3be48985\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be0266a4-2d34-464e-ae9a-f29c3be48985" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:27:52 -0400 (0:00:00.117) 0:02:18.146 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:27:52 -0400 (0:00:00.126) 0:02:18.273 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 07 October 2024 08:27:53 -0400 (0:00:00.692) 0:02:18.965 ******** ok: [managed-node3] => { "__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, be0266a4-2d34-464e-ae9a-f29c3be48985\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be0266a4-2d34-464e-ae9a-f29c3be48985" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 07 October 2024 08:27:53 -0400 (0:00:00.194) 0:02:19.159 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:27:53 -0400 (0:00:00.205) 0:02:19.365 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:27:53 -0400 (0:00:00.257) 0:02:19.622 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:27:53 -0400 (0:00:00.136) 0:02:19.759 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:27:54 -0400 (0:00:00.105) 0:02:19.865 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:27:54 -0400 (0:00:00.116) 0:02:19.981 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:27:55 -0400 (0:00:01.093) 0:02:21.075 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:27:56 -0400 (0:00:01.463) 0:02:22.539 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:27:56 -0400 (0:00:00.184) 0:02:22.724 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:27:56 -0400 (0:00:00.090) 0:02:22.814 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:27:57 -0400 (0:00:00.084) 0:02:22.899 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:27:57 -0400 (0:00:00.075) 0:02:22.974 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:27:57 -0400 (0:00:00.071) 0:02:23.046 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:27:57 -0400 (0:00:00.082) 0:02:23.128 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:27:57 -0400 (0:00:00.106) 0:02:23.235 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:27:57 -0400 (0:00:00.186) 0:02:23.421 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:27:57 -0400 (0:00:00.166) 0:02:23.588 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:27:57 -0400 (0:00:00.208) 0:02:23.797 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:27:58 -0400 (0:00:00.144) 0:02:23.941 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:27:58 -0400 (0:00:00.612) 0:02:24.553 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:27:58 -0400 (0:00:00.151) 0:02:24.705 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:27:58 -0400 (0:00:00.114) 0:02:24.819 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:27:59 -0400 (0:00:00.133) 0:02:24.953 ******** ok: [managed-node3] => { "_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, be0266a4-2d34-464e-ae9a-f29c3be48985 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:00 -0400 (0:00:01.108) 0:02:26.061 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:00 -0400 (0:00:00.109) 0:02:26.170 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, be0266a4-2d34-464e-ae9a-f29c3be48985 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:00 -0400 (0:00:00.213) 0:02:26.383 ******** ok: [managed-node3] => { "__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, be0266a4-2d34-464e-ae9a-f29c3be48985 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, be0266a4-2d34-464e-ae9a-f29c3be48985 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:00 -0400 (0:00:00.230) 0:02:26.614 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:00 -0400 (0:00:00.116) 0:02:26.730 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:28:01 -0400 (0:00:00.598) 0:02:27.329 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:28:01 -0400 (0:00:00.322) 0:02:27.652 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:28:02 -0400 (0:00:00.252) 0:02:27.905 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:28:02 -0400 (0:00:00.092) 0:02:27.998 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:28:02 -0400 (0:00:00.108) 0:02:28.106 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:28:02 -0400 (0:00:00.141) 0:02:28.248 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:03 -0400 (0:00:00.999) 0:02:29.247 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:04 -0400 (0:00:01.538) 0:02:30.786 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:05 -0400 (0:00:00.117) 0:02:30.903 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:05 -0400 (0:00:00.108) 0:02:31.012 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:05 -0400 (0:00:00.141) 0:02:31.153 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:05 -0400 (0:00:00.115) 0:02:31.268 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:05 -0400 (0:00:00.130) 0:02:31.398 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:05 -0400 (0:00:00.144) 0:02:31.542 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:05 -0400 (0:00:00.141) 0:02:31.684 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:06 -0400 (0:00:00.194) 0:02:31.878 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:06 -0400 (0:00:00.123) 0:02:32.001 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:06 -0400 (0:00:00.110) 0:02:32.112 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:06 -0400 (0:00:00.108) 0:02:32.220 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:06 -0400 (0:00:00.568) 0:02:32.789 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:07 -0400 (0:00:00.118) 0:02:32.908 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:07 -0400 (0:00:00.142) 0:02:33.051 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:07 -0400 (0:00:00.121) 0:02:33.173 ******** changed: [managed-node3] => { "_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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:08 -0400 (0:00:01.014) 0:02:34.187 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:08 -0400 (0:00:00.171) 0:02:34.358 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:08 -0400 (0:00:00.131) 0:02:34.490 ******** ok: [managed-node3] => { "__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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:08 -0400 (0:00:00.151) 0:02:34.641 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:08 -0400 (0:00:00.110) 0:02:34.752 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 07 October 2024 08:28:09 -0400 (0:00:00.559) 0:02:35.311 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 07 October 2024 08:28:09 -0400 (0:00:00.238) 0:02:35.550 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:28:09 -0400 (0:00:00.204) 0:02:35.754 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:28:10 -0400 (0:00:00.235) 0:02:35.989 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:28:10 -0400 (0:00:00.232) 0:02:36.221 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:28:10 -0400 (0:00:00.174) 0:02:36.396 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:28:10 -0400 (0:00:00.125) 0:02:36.522 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:28:11 -0400 (0:00:01.104) 0:02:37.626 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:28:13 -0400 (0:00:01.460) 0:02:39.086 ******** ok: [managed-node3] => {} 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:28:13 -0400 (0:00:00.202) 0:02:39.289 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:28:13 -0400 (0:00:00.202) 0:02:39.492 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:28:13 -0400 (0:00:00.163) 0:02:39.655 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:28:13 -0400 (0:00:00.109) 0:02:39.765 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:28:14 -0400 (0:00:00.140) 0:02:39.906 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:28:14 -0400 (0:00:00.139) 0:02:40.046 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:28:14 -0400 (0:00:00.122) 0:02:40.168 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:28:14 -0400 (0:00:00.179) 0:02:40.347 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:28:14 -0400 (0:00:00.169) 0:02:40.517 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:28:14 -0400 (0:00:00.140) 0:02:40.657 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:28:14 -0400 (0:00:00.112) 0:02:40.770 ******** ok: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:28:15 -0400 (0:00:00.669) 0:02:41.440 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:28:15 -0400 (0:00:00.136) 0:02:41.576 ******** skipping: [managed-node3] => { "censored": "the output 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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:28:15 -0400 (0:00:00.211) 0:02:41.787 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:28:16 -0400 (0:00:00.131) 0:02:41.919 ******** ok: [managed-node3] => { "_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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:28:16 -0400 (0:00:00.793) 0:02:42.712 ******** skipping: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:28:17 -0400 (0:00:00.138) 0:02:42.851 ******** ok: [managed-node3] => { "__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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:28:17 -0400 (0:00:00.143) 0:02:42.994 ******** ok: [managed-node3] => { "__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-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:28:17 -0400 (0:00:00.140) 0:02:43.135 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:28:17 -0400 (0:00:00.110) 0:02:43.245 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 07 October 2024 08:28:17 -0400 (0:00:00.438) 0:02:43.684 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 07 October 2024 08:28:18 -0400 (0:00:00.258) 0:02:43.942 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:28:18 -0400 (0:00:00.236) 0:02:44.178 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:28:18 -0400 (0:00:00.132) 0:02:44.310 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:28:18 -0400 (0:00:00.521) 0:02:44.831 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:28:19 -0400 (0:00:00.122) 0:02:44.953 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017992", "end": "2024-10-07 08:28:19.460671", "rc": 1, "start": "2024-10-07 08:28:19.442679" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:28:19 -0400 (0:00:00.576) 0:02:45.530 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:28:19 -0400 (0:00:00.215) 0:02:45.746 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:28:20 -0400 (0:00:00.112) 0:02:45.858 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:28:20 -0400 (0:00:00.155) 0:02:46.014 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:28:20 -0400 (0:00:00.146) 0:02:46.160 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 07 October 2024 08:28:20 -0400 (0:00:00.148) 0:02:46.309 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 07 October 2024 08:28:20 -0400 (0:00:00.134) 0:02:46.443 ******** [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-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.589293", "end": "2024-10-07 08:28:21.481972", "rc": 0, "start": "2024-10-07 08:28:20.892679" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 07 October 2024 08:28:21 -0400 (0:00:00.965) 0:02:47.409 ******** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 07 October 2024 08:28:21 -0400 (0:00:00.075) 0:02:47.484 ******** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 07 October 2024 08:28:21 -0400 (0:00:00.117) 0:02:47.602 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 07 October 2024 08:28:21 -0400 (0:00:00.206) 0:02:47.809 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:28:22 -0400 (0:00:00.202) 0:02:48.011 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 07 October 2024 08:28:22 -0400 (0:00:00.483) 0:02:48.495 ******** ok: [managed-node3] => { "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 07 October 2024 08:28:22 -0400 (0:00:00.116) 0:02:48.612 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 07 October 2024 08:28:22 -0400 (0:00:00.115) 0:02:48.728 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 07 October 2024 08:28:23 -0400 (0:00:00.318) 0:02:49.046 ******** fatal: [managed-node3]: 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.039571", "end": "2024-10-07 08:28:23.767636", "rc": 1, "start": "2024-10-07 08:28:23.728065" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 07 October 2024 08:28:23 -0400 (0:00:00.767) 0:02:49.813 ******** ok: [managed-node3] => { "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.006564", "end": "2024-10-07 08:28:24.461974", "rc": 0, "start": "2024-10-07 08:28:24.455410" } 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:42:50:21:a7:8b brd ff:ff:ff:ff:ff:ff inet 10.31.11.147/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2786sec preferred_lft 2786sec inet6 fe80::1042:50ff:fe21:a78b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.147 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 07 October 2024 08:28:24 -0400 (0:00:00.674) 0:02:50.487 ******** ok: [managed-node3] => { "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.277819", "end": "2024-10-07 08:28:25.217424", "rc": 0, "start": "2024-10-07 08:28:24.939605" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2157 0 --:--:-- --:--:-- --:--:-- 2163 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2455 0 --:--:-- --:--:-- --:--:-- 2466 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Monday 07 October 2024 08:28:25 -0400 (0:00:00.606) 0:02:51.094 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.30s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.53s /tmp/collections-H8T/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.53s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.24s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.24s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.19s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install yum-utils package ----------------------------------------------- 1.18s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.18s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21