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-rSk/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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.074) 0:00:00.074 ******* ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Tuesday 08 October 2024 02:06:45 -0400 (0:00:01.397) 0:00:01.471 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 08 October 2024 02:06:45 -0400 (0:00:00.166) 0:00:01.638 ******* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 08 October 2024 02:06:46 -0400 (0:00:00.681) 0:00:02.320 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 08 October 2024 02:06:46 -0400 (0:00:00.508) 0:00:02.828 ******* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.048) 0:00:02.877 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.045) 0:00:02.922 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.096) 0:00:03.019 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.665) 0:00:03.684 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 08 October 2024 02:06:48 -0400 (0:00:01.020) 0:00:04.705 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.164207", "end": "2024-10-08 02:06:49.273928", "rc": 0, "start": "2024-10-08 02:06:49.109721" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 08 October 2024 02:06:49 -0400 (0:00:00.483) 0:00:05.188 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 08 October 2024 02:06:49 -0400 (0:00:00.030) 0:00:05.218 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Tuesday 08 October 2024 02:06:49 -0400 (0:00:00.036) 0:00:05.254 ******* ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 08 October 2024 02:06:49 -0400 (0:00:00.069) 0:00:05.324 ******* ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.834) 0:00:06.159 ******* ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.066) 0:00:06.225 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.142) 0:00:06.368 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.098) 0:00:06.466 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.186) 0:00:06.653 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.089) 0:00:06.742 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.050) 0:00:06.793 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003332", "end": "2024-10-08 02:06:51.239308", "rc": 0, "start": "2024-10-08 02:06:51.235976" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.414) 0:00:07.208 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.047) 0:00:07.255 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.036) 0:00:07.292 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.078) 0:00:07.370 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007497", "end": "2024-10-08 02:06:51.848742", "rc": 1, "start": "2024-10-08 02:06:51.841245" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.467) 0:00:07.838 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.054) 0:00:07.893 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.369) 0:00:08.263 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.045) 0:00:08.308 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.071) 0:00:08.380 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.245) 0:00:08.626 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.087) 0:00:08.714 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.041) 0:00:08.756 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.035) 0:00:08.792 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:06:53 -0400 (0:00:00.087) 0:00:08.879 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:06:54 -0400 (0:00:01.394) 0:00:10.273 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:06:56 -0400 (0:00:02.319) 0:00:12.593 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.172) 0:00:12.765 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:06:57 -0400 (0:00:00.116) 0:00:12.881 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:06:57 -0400 (0:00:00.107) 0:00:12.988 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:06:57 -0400 (0:00:00.108) 0:00:13.096 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:06:57 -0400 (0:00:00.112) 0:00:13.209 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:06:57 -0400 (0:00:00.125) 0:00:13.334 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:06:57 -0400 (0:00:00.115) 0:00:13.449 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:06:57 -0400 (0:00:00.228) 0:00:13.678 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:06:57 -0400 (0:00:00.175) 0:00:13.854 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:06:58 -0400 (0:00:00.195) 0:00:14.050 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:06:58 -0400 (0:00:00.238) 0:00:14.288 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:06:59 -0400 (0:00:01.198) 0:00:15.487 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:06:59 -0400 (0:00:00.123) 0:00:15.610 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:06:59 -0400 (0:00:00.147) 0:00:15.758 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.115) 0:00:15.873 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b94599d9-b87b-4ae9-82f8-4d3d4cf64622 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:01 -0400 (0:00:01.612) 0:00:17.486 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:01 -0400 (0:00:00.137) 0:00:17.624 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b94599d9-b87b-4ae9-82f8-4d3d4cf64622" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:01 -0400 (0:00:00.143) 0:00:17.767 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b94599d9-b87b-4ae9-82f8-4d3d4cf64622\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b94599d9-b87b-4ae9-82f8-4d3d4cf64622" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.234) 0:00:18.002 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.132) 0:00:18.134 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.581) 0:00:18.715 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b94599d9-b87b-4ae9-82f8-4d3d4cf64622\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b94599d9-b87b-4ae9-82f8-4d3d4cf64622" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.114) 0:00:18.830 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.213) 0:00:19.044 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.124) 0:00:19.168 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.065) 0:00:19.234 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367621.3533611, "block_size": 4096, "blocks": 8, "ctime": 1728367621.3523612, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22479, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367621.3523612, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.395) 0:00:19.629 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.114) 0:00:19.744 ******* ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021820", "end": "2024-10-08 02:07:04.175433", "rc": 0, "start": "2024-10-08 02:07:04.153613" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.431) 0:00:20.176 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.120) 0:00:20.296 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.111) 0:00:20.407 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.084) 0:00:20.492 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.086) 0:00:20.579 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.118) 0:00:20.697 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.108) 0:00:20.805 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.081) 0:00:20.886 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.101) 0:00:20.988 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.233) 0:00:21.222 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.217) 0:00:21.439 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367621.3593612, "block_size": 4096, "blocks": 0, "ctime": 1728367621.354361, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17654, "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": 1728367621.354361, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.507) 0:00:21.947 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.250) 0:00:22.198 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.135) 0:00:22.334 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.213) 0:00:22.548 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.074182", "end": "2024-10-08 02:07:07.212197", "rc": 1, "start": "2024-10-08 02:07:07.138015" } STDOUT: Connection 'statebr' (b94599d9-b87b-4ae9-82f8-4d3d4cf64622) successfully deleted. STDERR: (process:17272): GLib-GIO-WARNING **: 02:07:07.190: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/14 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.652) 0:00:23.200 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.140) 0:00:23.340 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.156) 0:00:23.496 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.370) 0:00:23.866 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.191) 0:00:24.058 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.136) 0:00:24.194 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003587", "end": "2024-10-08 02:07:08.601630", "rc": 0, "start": "2024-10-08 02:07:08.598043" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.428) 0:00:24.622 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.088) 0:00:24.711 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.107) 0:00:24.818 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.225) 0:00:25.044 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006788", "end": "2024-10-08 02:07:09.543797", "rc": 1, "start": "2024-10-08 02:07:09.537009" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.479) 0:00:25.524 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.198) 0:00:25.722 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.450) 0:00:26.172 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.112) 0:00:26.285 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.182) 0:00:26.467 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.304) 0:00:26.772 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.236) 0:00:27.008 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.116) 0:00:27.125 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.101) 0:00:27.226 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.093) 0:00:27.319 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.973) 0:00:28.293 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:13 -0400 (0:00:01.301) 0:00:29.594 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.152) 0:00:29.746 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.108) 0:00:29.854 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.089) 0:00:29.944 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.068) 0:00:30.012 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.070) 0:00:30.083 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.075) 0:00:30.159 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.083) 0:00:30.243 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.189) 0:00:30.432 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.115) 0:00:30.548 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.124) 0:00:30.673 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.123) 0:00:30.797 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.636) 0:00:31.433 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.122) 0:00:31.556 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.182) 0:00:31.739 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.116) 0:00:31.855 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b1dc50a-82f9-40ae-bab6-a5e39a827705 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.837) 0:00:32.692 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.127) 0:00:32.820 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b1dc50a-82f9-40ae-bab6-a5e39a827705" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.131) 0:00:32.952 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b1dc50a-82f9-40ae-bab6-a5e39a827705\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b1dc50a-82f9-40ae-bab6-a5e39a827705" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.234) 0:00:33.187 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.107) 0:00:33.294 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.473) 0:00:33.768 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b1dc50a-82f9-40ae-bab6-a5e39a827705\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b1dc50a-82f9-40ae-bab6-a5e39a827705" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.084) 0:00:33.852 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.257) 0:00:34.110 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.203) 0:00:34.313 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.578) 0:00:34.892 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.111) 0:00:35.003 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.172) 0:00:35.176 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.122) 0:00:35.298 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367636.674319, "block_size": 4096, "blocks": 8, "ctime": 1728367636.674319, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22481, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367636.674319, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.405) 0:00:35.704 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.136) 0:00:35.840 ******* ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021070", "end": "2024-10-08 02:07:20.325215", "rc": 0, "start": "2024-10-08 02:07:20.304145" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.590) 0:00:36.431 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.116) 0:00:36.547 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.274) 0:00:36.822 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.236) 0:00:37.058 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.156) 0:00:37.215 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.158) 0:00:37.373 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.132) 0:00:37.506 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.127) 0:00:37.634 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.111) 0:00:37.745 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.106) 0:00:37.852 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.157) 0:00:38.009 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.297) 0:00:38.307 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046213", "end": "2024-10-08 02:07:22.827544", "rc": 1, "start": "2024-10-08 02:07:22.781331" } STDOUT: Connection 'statebr' (6b1dc50a-82f9-40ae-bab6-a5e39a827705) 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.607) 0:00:38.914 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.169) 0:00:39.084 ******* ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.079) 0:00:39.164 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.217) 0:00:39.381 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.271) 0:00:39.653 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.226) 0:00:39.880 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2024-10-08 02:07:24.524091", "rc": 0, "start": "2024-10-08 02:07:24.520815" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.771) 0:00:40.651 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.114) 0:00:40.766 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.137) 0:00:40.903 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.215) 0:00:41.118 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.192) 0:00:41.311 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.166) 0:00:41.477 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.093) 0:00:41.571 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.125) 0:00:41.696 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.138) 0:00:41.835 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.956) 0:00:42.792 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:28 -0400 (0:00:01.557) 0:00:44.350 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.115) 0:00:44.466 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.099) 0:00:44.565 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.126) 0:00:44.692 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.125) 0:00:44.817 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.136) 0:00:44.954 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.119) 0:00:45.073 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.117) 0:00:45.191 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.194) 0:00:45.385 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.150) 0:00:45.536 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.096) 0:00:45.632 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.085) 0:00:45.718 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.979) 0:00:46.697 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.176) 0:00:46.874 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.131) 0:00:47.005 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.161) 0:00:47.167 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.878) 0:00:48.046 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.100) 0:00:48.146 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.135) 0:00:48.282 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.122) 0:00:48.405 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.142) 0:00:48.547 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.405) 0:00:48.953 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.115) 0:00:49.069 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.221) 0:00:49.291 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.297) 0:00:49.588 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.355) 0:00:49.943 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.156) 0:00:50.100 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.119) 0:00:50.220 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.227) 0:00:50.447 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:35 -0400 (0:00:01.128) 0:00:51.576 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:37 -0400 (0:00:01.482) 0:00:53.058 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.120) 0:00:53.179 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.121) 0:00:53.300 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.092) 0:00:53.392 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.096) 0:00:53.489 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.077) 0:00:53.567 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.085) 0:00:53.652 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.190) 0:00:53.842 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.308) 0:00:54.151 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.155) 0:00:54.307 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.135) 0:00:54.442 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.132) 0:00:54.574 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.543) 0:00:55.118 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.126) 0:00:55.245 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.160) 0:00:55.405 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.116) 0:00:55.522 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:40 -0400 (0:00:01.031) 0:00:56.553 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:40 -0400 (0:00:00.113) 0:00:56.666 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:40 -0400 (0:00:00.138) 0:00:56.805 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b4f93dd6-08c9-4eb6-9326-fcac76c717bd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.135) 0:00:56.941 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.119) 0:00:57.060 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.597) 0:00:57.658 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.278) 0:00:57.936 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.292) 0:00:58.228 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367651.987277, "block_size": 4096, "blocks": 0, "ctime": 1728367651.983277, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17654, "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": 1728367651.983277, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.537) 0:00:58.766 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.176) 0:00:58.942 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.182) 0:00:59.125 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.078) 0:00:59.203 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367651.982277, "block_size": 4096, "blocks": 8, "ctime": 1728367651.981277, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22481, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367651.981277, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.645) 0:00:59.848 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.169) 0:01:00.017 ******* ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021846", "end": "2024-10-08 02:07:44.538370", "rc": 0, "start": "2024-10-08 02:07:44.516524" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.515) 0:01:00.533 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.114) 0:01:00.648 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.180) 0:01:00.828 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.189) 0:01:01.017 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.227) 0:01:01.244 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.168) 0:01:01.413 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.222) 0:01:01.635 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.162) 0:01:01.798 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.198) 0:01:01.997 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.125) 0:01:02.123 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.154) 0:01:02.277 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.303) 0:01:02.581 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.084293", "end": "2024-10-08 02:07:47.092951", "rc": 1, "start": "2024-10-08 02:07:47.008658" } STDOUT: Connection 'statebr' (b4f93dd6-08c9-4eb6-9326-fcac76c717bd) successfully deleted. STDERR: (process:19078): GLib-GIO-WARNING **: 02:07:47.069: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/15 but no object proxy exists (process:19078): GLib-GIO-WARNING **: 02:07:47.070: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/32 but no object proxy exists (process:19078): GLib-GIO-WARNING **: 02:07:47.070: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/19 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.517) 0:01:03.099 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.327) 0:01:03.426 ******* ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.158) 0:01:03.584 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.319) 0:01:03.904 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.236) 0:01:04.140 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.226) 0:01:04.367 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003693", "end": "2024-10-08 02:07:48.869527", "rc": 0, "start": "2024-10-08 02:07:48.865834" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.508) 0:01:04.876 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.097) 0:01:04.973 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.091) 0:01:05.064 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.269) 0:01:05.334 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.302) 0:01:05.636 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.234) 0:01:05.871 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.098) 0:01:05.969 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.094) 0:01:06.064 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.107) 0:01:06.172 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:51 -0400 (0:00:01.042) 0:01:07.215 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:53 -0400 (0:00:01.712) 0:01:08.927 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.200) 0:01:09.127 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.158) 0:01:09.286 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.154) 0:01:09.440 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.099) 0:01:09.540 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.115) 0:01:09.655 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.084) 0:01:09.740 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.112) 0:01:09.852 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.292) 0:01:10.145 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.112) 0:01:10.257 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.105) 0:01:10.363 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.083) 0:01:10.446 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.659) 0:01:11.106 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.112) 0:01:11.218 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.105) 0:01:11.324 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.128) 0:01:11.453 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:56 -0400 (0:00:01.079) 0:01:12.533 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.171) 0:01:12.704 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.215) 0:01:12.919 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.114) 0:01:13.034 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.140) 0:01:13.174 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.389) 0:01:13.563 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.102) 0:01:13.666 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.179) 0:01:13.846 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.224) 0:01:14.071 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.129) 0:01:14.200 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.102) 0:01:14.303 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.111) 0:01:14.414 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:59 -0400 (0:00:01.060) 0:01:15.475 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:01 -0400 (0:00:01.641) 0:01:17.117 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.129) 0:01:17.246 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.116) 0:01:17.362 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.108) 0:01:17.470 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.086) 0:01:17.557 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.078) 0:01:17.636 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.139) 0:01:17.775 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.147) 0:01:17.922 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.232) 0:01:18.155 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.126) 0:01:18.282 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.095) 0:01:18.377 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.135) 0:01:18.513 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.696) 0:01:19.210 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.106) 0:01:19.316 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.094) 0:01:19.410 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.183) 0:01:19.594 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.929) 0:01:20.524 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.161) 0:01:20.685 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.130) 0:01:20.815 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.136) 0:01:20.952 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.114) 0:01:21.066 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.388) 0:01:21.454 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.243) 0:01:21.698 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.359) 0:01:22.057 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.271) 0:01:22.329 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.182) 0:01:22.512 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.111) 0:01:22.623 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.185) 0:01:22.809 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:08 -0400 (0:00:01.223) 0:01:24.032 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:09 -0400 (0:00:01.828) 0:01:25.860 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.118) 0:01:25.979 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.086) 0:01:26.065 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.072) 0:01:26.138 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.074) 0:01:26.212 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.104) 0:01:26.317 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.120) 0:01:26.438 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.122) 0:01:26.560 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.217) 0:01:26.778 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.121) 0:01:26.900 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.117) 0:01:27.017 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.184) 0:01:27.202 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.575) 0:01:27.777 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.119) 0:01:27.897 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.108) 0:01:28.005 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.112) 0:01:28.118 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.789) 0:01:28.907 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.092) 0:01:28.999 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.076) 0:01:29.076 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.076) 0:01:29.153 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.072) 0:01:29.225 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.339) 0:01:29.565 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.211) 0:01:29.776 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.179) 0:01:29.956 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367676.3572102, "block_size": 4096, "blocks": 0, "ctime": 1728367676.3562102, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1728367676.3562102, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.388) 0:01:30.344 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.078) 0:01:30.422 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.126) 0:01:30.548 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.072) 0:01:30.621 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.378) 0:01:30.999 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.113) 0:01:31.112 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021384", "end": "2024-10-08 02:08:15.574195", "rc": 1, "start": "2024-10-08 02:08:15.552811" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.459) 0:01:31.572 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.111) 0:01:31.684 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.111) 0:01:31.795 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.123) 0:01:31.919 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.121) 0:01:32.040 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.113) 0:01:32.154 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.123) 0:01:32.277 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.179) 0:01:32.457 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.173) 0:01:32.631 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.494) 0:01:33.126 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.081441", "end": "2024-10-08 02:08:17.672311", "rc": 1, "start": "2024-10-08 02:08:17.590870" } STDOUT: Connection 'statebr' (e149d2bb-b632-4eb5-8ed7-d4a45cfd1ebe) successfully deleted. STDERR: (process:20505): GLib-GIO-WARNING **: 02:08:17.650: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/16 but no object proxy exists (process:20505): GLib-GIO-WARNING **: 02:08:17.650: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/34 but no object proxy exists (process:20505): GLib-GIO-WARNING **: 02:08:17.650: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/20 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.562) 0:01:33.689 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.235) 0:01:33.925 ******* ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.125) 0:01:34.050 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.277) 0:01:34.328 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.255) 0:01:34.584 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.200) 0:01:34.784 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003786", "end": "2024-10-08 02:08:19.187228", "rc": 0, "start": "2024-10-08 02:08:19.183442" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.540) 0:01:35.324 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.148) 0:01:35.473 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.109) 0:01:35.583 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.264) 0:01:35.848 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.280) 0:01:36.128 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.190) 0:01:36.318 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.161) 0:01:36.480 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.129) 0:01:36.610 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.143) 0:01:36.753 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:21 -0400 (0:00:01.045) 0:01:37.798 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:23 -0400 (0:00:01.276) 0:01:39.075 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.118) 0:01:39.193 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.097) 0:01:39.290 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.089) 0:01:39.380 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.210) 0:01:39.591 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.155) 0:01:39.746 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.193) 0:01:39.939 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.139) 0:01:40.079 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.258) 0:01:40.338 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.146) 0:01:40.484 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.173) 0:01:40.657 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.236) 0:01:40.894 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.643) 0:01:41.537 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.131) 0:01:41.668 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.109) 0:01:41.778 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.185) 0:01:41.964 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.859) 0:01:42.823 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.091) 0:01:42.915 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.080) 0:01:42.996 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.084) 0:01:43.080 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.214) 0:01:43.295 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.580) 0:01:43.876 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.117) 0:01:43.994 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.207) 0:01:44.201 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.232) 0:01:44.434 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.215) 0:01:44.650 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.210) 0:01:44.861 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.174) 0:01:45.035 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:30 -0400 (0:00:01.218) 0:01:46.254 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:32 -0400 (0:00:01.696) 0:01:47.950 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.126) 0:01:48.077 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.091) 0:01:48.168 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.081) 0:01:48.249 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.118) 0:01:48.368 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.114) 0:01:48.483 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.123) 0:01:48.606 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.120) 0:01:48.726 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.195) 0:01:48.922 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.149) 0:01:49.071 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.232) 0:01:49.303 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.151) 0:01:49.455 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.760) 0:01:50.216 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.174) 0:01:50.390 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.165) 0:01:50.555 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.148) 0:01:50.703 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:35 -0400 (0:00:01.048) 0:01:51.752 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.150) 0:01:51.902 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.148) 0:01:52.051 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8422237f-f902-4e65-86e7-a19acdb45322 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.241) 0:01:52.292 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.143) 0:01:52.436 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.598) 0:01:53.034 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.261) 0:01:53.295 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.259) 0:01:53.555 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.149) 0:01:53.704 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.115) 0:01:53.820 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.214) 0:01:54.035 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:39 -0400 (0:00:01.087) 0:01:55.122 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:40 -0400 (0:00:01.649) 0:01:56.772 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.130) 0:01:56.903 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.116) 0:01:57.019 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.156) 0:01:57.176 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.211) 0:01:57.388 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.232) 0:01:57.621 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.223) 0:01:57.844 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.252) 0:01:58.097 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.281) 0:01:58.379 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.161) 0:01:58.540 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.151) 0:01:58.692 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.122) 0:01:58.815 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.579) 0:01:59.395 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.185) 0:01:59.580 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.111) 0:01:59.691 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.227) 0:01:59.919 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.813) 0:02:00.733 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.091) 0:02:00.824 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.109) 0:02:00.933 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.181) 0:02:01.115 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.115) 0:02:01.230 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.758) 0:02:01.989 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.404) 0:02:02.393 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.342) 0:02:02.736 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.267) 0:02:03.003 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.149) 0:02:03.152 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.116) 0:02:03.268 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.113) 0:02:03.382 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:48 -0400 (0:00:01.099) 0:02:04.482 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:49 -0400 (0:00:01.361) 0:02:05.843 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.123) 0:02:05.967 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.126) 0:02:06.094 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.143) 0:02:06.237 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.125) 0:02:06.363 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.125) 0:02:06.488 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.138) 0:02:06.627 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.127) 0:02:06.755 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.197) 0:02:06.952 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.121) 0:02:07.074 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.092) 0:02:07.167 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.162) 0:02:07.330 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.531) 0:02:07.861 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.127) 0:02:07.989 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.116) 0:02:08.105 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.121) 0:02:08.227 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.802) 0:02:09.030 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.112) 0:02:09.143 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.098) 0:02:09.242 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.099) 0:02:09.341 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.080) 0:02:09.422 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.441) 0:02:09.863 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.218) 0:02:10.081 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.207) 0:02:10.289 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.188) 0:02:10.478 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.359) 0:02:10.837 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:55 -0400 (0:00:00.076) 0:02:10.914 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019393", "end": "2024-10-08 02:08:55.315966", "rc": 1, "start": "2024-10-08 02:08:55.296573" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:55 -0400 (0:00:00.401) 0:02:11.315 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:55 -0400 (0:00:00.112) 0:02:11.427 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:55 -0400 (0:00:00.112) 0:02:11.539 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:55 -0400 (0:00:00.091) 0:02:11.631 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:55 -0400 (0:00:00.105) 0:02:11.737 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:08:55 -0400 (0:00:00.120) 0:02:11.858 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.121) 0:02:11.979 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.226) 0:02:12.206 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.178) 0:02:12.385 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.656) 0:02:13.041 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.295) 0:02:13.336 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.197) 0:02:13.534 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.394) 0:02:13.929 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043935", "end": "2024-10-08 02:08:58.430413", "rc": 1, "start": "2024-10-08 02:08:58.386478" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.573) 0:02:14.502 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.205) 0:02:14.708 ******* ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.123) 0:02:14.832 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.222) 0:02:15.054 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.240) 0:02:15.295 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.183) 0:02:15.479 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004353", "end": "2024-10-08 02:09:00.946844", "rc": 0, "start": "2024-10-08 02:08:59.942491" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:09:01 -0400 (0:00:01.539) 0:02:17.018 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.167) 0:02:17.185 ******* ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.125) 0:02:17.311 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.424) 0:02:17.736 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.238) 0:02:17.975 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.255) 0:02:18.230 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.215) 0:02:18.446 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.141) 0:02:18.587 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.149) 0:02:18.737 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:04 -0400 (0:00:01.199) 0:02:19.936 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:05 -0400 (0:00:01.795) 0:02:21.731 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.125) 0:02:21.857 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.114) 0:02:21.972 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.116) 0:02:22.088 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.115) 0:02:22.203 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.138) 0:02:22.341 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.127) 0:02:22.469 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.123) 0:02:22.593 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.277) 0:02:22.871 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.205) 0:02:23.076 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.216) 0:02:23.293 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.162) 0:02:23.455 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.843) 0:02:24.299 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.132) 0:02:24.431 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.150) 0:02:24.581 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.176) 0:02:24.758 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:09 -0400 (0:00:01.086) 0:02:25.845 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.209) 0:02:26.054 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.129) 0:02:26.183 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.164) 0:02:26.347 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.113) 0:02:26.461 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.501) 0:02:26.962 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.112) 0:02:27.074 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.266) 0:02:27.341 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.427) 0:02:27.769 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.268) 0:02:28.037 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.176) 0:02:28.214 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.132) 0:02:28.347 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:13 -0400 (0:00:01.197) 0:02:29.544 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:15 -0400 (0:00:01.729) 0:02:31.274 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.124) 0:02:31.398 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.130) 0:02:31.528 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.178) 0:02:31.707 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.228) 0:02:31.936 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.142) 0:02:32.079 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.127) 0:02:32.207 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.121) 0:02:32.329 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.191) 0:02:32.520 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.215) 0:02:32.735 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.230) 0:02:32.966 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.129) 0:02:33.095 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.688) 0:02:33.784 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.171) 0:02:33.955 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.117) 0:02:34.073 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.115) 0:02:34.189 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.735) 0:02:34.924 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.078) 0:02:35.002 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.079) 0:02:35.081 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad00c8b9-d505-49ed-b1a7-e44b95559250 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.122) 0:02:35.204 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.131) 0:02:35.335 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.712) 0:02:36.048 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.243) 0:02:36.292 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.231) 0:02:36.523 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.271) 0:02:36.795 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.173) 0:02:36.968 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.143) 0:02:37.112 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:22 -0400 (0:00:01.186) 0:02:38.299 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:24 -0400 (0:00:01.572) 0:02:39.872 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.121) 0:02:39.993 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.140) 0:02:40.134 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.121) 0:02:40.256 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.136) 0:02:40.392 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.117) 0:02:40.510 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.179) 0:02:40.689 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.151) 0:02:40.841 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.227) 0:02:41.069 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.115) 0:02:41.185 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.117) 0:02:41.302 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.202) 0:02:41.504 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.684) 0:02:42.189 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.233) 0:02:42.422 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.226) 0:02:42.649 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.204) 0:02:42.854 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.864) 0:02:43.719 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.080) 0:02:43.799 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.074) 0:02:43.874 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.076) 0:02:43.950 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.068) 0:02:44.019 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.412) 0:02:44.431 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.195) 0:02:44.627 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.142) 0:02:44.769 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.273) 0:02:45.043 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.100) 0:02:45.143 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.094) 0:02:45.238 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.156) 0:02:45.394 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:30 -0400 (0:00:01.242) 0:02:46.636 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:32 -0400 (0:00:01.278) 0:02:47.915 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.114) 0:02:48.029 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.091) 0:02:48.121 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.081) 0:02:48.202 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.098) 0:02:48.301 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.162) 0:02:48.463 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.394) 0:02:48.858 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.137) 0:02:48.995 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.218) 0:02:49.214 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.113) 0:02:49.327 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.166) 0:02:49.493 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.150) 0:02:49.644 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.629) 0:02:50.273 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.102) 0:02:50.376 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.076) 0:02:50.453 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.084) 0:02:50.537 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.800) 0:02:51.337 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.114) 0:02:51.452 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.091) 0:02:51.544 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.097) 0:02:51.642 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.074) 0:02:51.717 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:09:36 -0400 (0:00:00.346) 0:02:52.063 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:09:36 -0400 (0:00:00.263) 0:02:52.326 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:09:36 -0400 (0:00:00.187) 0:02:52.514 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:09:36 -0400 (0:00:00.095) 0:02:52.610 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.364) 0:02:52.974 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.096) 0:02:53.071 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020533", "end": "2024-10-08 02:09:37.482965", "rc": 1, "start": "2024-10-08 02:09:37.462432" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.411) 0:02:53.482 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.104) 0:02:53.587 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.114) 0:02:53.701 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.111) 0:02:53.813 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.118) 0:02:53.931 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.115) 0:02:54.047 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.118) 0:02:54.165 ******* [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.603205", "end": "2024-10-08 02:09:39.207973", "rc": 0, "start": "2024-10-08 02:09:38.604768" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 08 October 2024 02:09:39 -0400 (0:00:01.152) 0:02:55.317 ******* ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.139) 0:02:55.457 ******* ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.327) 0:02:55.784 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:09:40 -0400 (0:00:00.255) 0:02:56.039 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:09:40 -0400 (0:00:00.197) 0:02:56.237 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:09:40 -0400 (0:00:00.513) 0:02:56.750 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:09:41 -0400 (0:00:00.196) 0:02:56.946 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:09:41 -0400 (0:00:00.121) 0:02:57.067 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:09:41 -0400 (0:00:00.273) 0:02:57.340 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044123", "end": "2024-10-08 02:09:41.893433", "rc": 1, "start": "2024-10-08 02:09:41.849310" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 08 October 2024 02:09:42 -0400 (0:00:00.559) 0:02:57.900 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006985", "end": "2024-10-08 02:09:42.342785", "rc": 0, "start": "2024-10-08 02:09:42.335800" } 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:8a:a7:ea:c1:39 brd ff:ff:ff:ff:ff:ff inet 10.31.8.215/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3106sec preferred_lft 3106sec inet6 fe80::108a:a7ff:feea:c139/64 scope link valid_lft forever preferred_lft forever 17: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 52:3a:85:f8:94:2e brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.215 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 08 October 2024 02:09:42 -0400 (0:00:00.522) 0:02:58.422 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.934522", "end": "2024-10-08 02:09:43.932276", "rc": 0, "start": "2024-10-08 02:09:42.997754" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 736 0 --:--:-- --:--:-- --:--:-- 736 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 582 0 --:--:-- --:--:-- --:--:-- 582 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Tuesday 08 October 2024 02:09:44 -0400 (0:00:01.444) 0:02:59.867 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.32s /tmp/collections-rSk/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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-rSk/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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.54s /tmp/collections-rSk/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.48s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Verify DNS and network connectivity ------------------------------------- 1.44s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Gathering Facts --------------------------------------------------------- 1.40s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 1.39s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.24s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21