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-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Friday 09 August 2024 03:55:04 -0400 (0:00:00.021) 0:00:00.021 ********* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Friday 09 August 2024 03:55:06 -0400 (0:00:01.884) 0:00:01.906 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 09 August 2024 03:55:06 -0400 (0:00:00.082) 0:00:01.989 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 09 August 2024 03:55:06 -0400 (0:00:00.387) 0:00:02.376 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 09 August 2024 03:55:06 -0400 (0:00:00.366) 0:00:02.742 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 09 August 2024 03:55:07 -0400 (0:00:00.042) 0:00:02.785 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 09 August 2024 03:55:07 -0400 (0:00:00.040) 0:00:02.825 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 09 August 2024 03:55:07 -0400 (0:00:00.071) 0:00:02.896 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Friday 09 August 2024 03:55:07 -0400 (0:00:00.371) 0:00:03.268 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Friday 09 August 2024 03:55:08 -0400 (0:00:00.694) 0:00:03.962 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.155331", "end": "2024-08-09 03:55:08.561850", "rc": 0, "start": "2024-08-09 03:55:08.406519" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Friday 09 August 2024 03:55:08 -0400 (0:00:00.425) 0:00:04.388 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Friday 09 August 2024 03:55:08 -0400 (0:00:00.022) 0:00:04.411 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Friday 09 August 2024 03:55:08 -0400 (0:00:00.021) 0:00:04.433 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 09 August 2024 03:55:08 -0400 (0:00:00.022) 0:00:04.455 ********* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 09 August 2024 03:55:10 -0400 (0:00:01.537) 0:00:05.993 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 09 August 2024 03:55:10 -0400 (0:00:00.025) 0:00:06.018 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 03:55:10 -0400 (0:00:00.038) 0:00:06.057 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 03:55:10 -0400 (0:00:00.026) 0:00:06.083 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 03:55:10 -0400 (0:00:00.073) 0:00:06.156 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:55:10 -0400 (0:00:00.034) 0:00:06.191 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:55:10 -0400 (0:00:00.031) 0:00:06.222 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004131", "end": "2024-08-09 03:55:11.667571", "rc": 0, "start": "2024-08-09 03:55:10.663440" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:55:11 -0400 (0:00:01.272) 0:00:07.495 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:55:11 -0400 (0:00:00.026) 0:00:07.522 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 03:55:11 -0400 (0:00:00.025) 0:00:07.547 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 09 August 2024 03:55:11 -0400 (0:00:00.048) 0:00:07.596 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008543", "end": "2024-08-09 03:55:12.069019", "rc": 1, "start": "2024-08-09 03:55:12.060476" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:55:12 -0400 (0:00:00.299) 0:00:07.895 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:55:12 -0400 (0:00:00.032) 0:00:07.928 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:55:12 -0400 (0:00:00.272) 0:00:08.201 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 03:55:12 -0400 (0:00:00.027) 0:00:08.229 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 03:55:12 -0400 (0:00:00.042) 0:00:08.271 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:55:12 -0400 (0:00:00.138) 0:00:08.409 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:55:12 -0400 (0:00:00.049) 0:00:08.458 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:55:12 -0400 (0:00:00.028) 0:00:08.487 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:55:12 -0400 (0:00:00.047) 0:00:08.534 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:55:12 -0400 (0:00:00.023) 0:00:08.558 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:55:13 -0400 (0:00:00.878) 0:00:09.437 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:55:14 -0400 (0:00:01.299) 0:00:10.737 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:55:15 -0400 (0:00:00.065) 0:00:10.802 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:55:15 -0400 (0:00:00.064) 0:00:10.866 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:55:15 -0400 (0:00:00.062) 0:00:10.929 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:55:15 -0400 (0:00:00.064) 0:00:10.993 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:55:15 -0400 (0:00:00.063) 0:00:11.056 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:55:15 -0400 (0:00:00.101) 0:00:11.158 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:55:15 -0400 (0:00:00.070) 0:00:11.228 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:55:15 -0400 (0:00:00.107) 0:00:11.336 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:55:15 -0400 (0:00:00.064) 0:00:11.400 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:55:15 -0400 (0:00:00.062) 0:00:11.462 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:55:15 -0400 (0:00:00.068) 0:00:11.531 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:55:16 -0400 (0:00:00.679) 0:00:12.211 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:55:16 -0400 (0:00:00.067) 0:00:12.278 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:55:16 -0400 (0:00:00.062) 0:00:12.341 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:55:16 -0400 (0:00:00.062) 0:00:12.404 ********* 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, a9b4b8cb-8119-4634-ac67-1b59c484e83d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:55:17 -0400 (0:00:00.822) 0:00:13.226 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:55:17 -0400 (0:00:00.062) 0:00:13.289 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b4b8cb-8119-4634-ac67-1b59c484e83d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:55:17 -0400 (0:00:00.065) 0:00:13.355 ********* 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, a9b4b8cb-8119-4634-ac67-1b59c484e83d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b4b8cb-8119-4634-ac67-1b59c484e83d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:55:17 -0400 (0:00:00.067) 0:00:13.423 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:55:17 -0400 (0:00:00.100) 0:00:13.523 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 03:55:18 -0400 (0:00:00.394) 0:00:13.918 ********* 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, a9b4b8cb-8119-4634-ac67-1b59c484e83d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9b4b8cb-8119-4634-ac67-1b59c484e83d" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 03:55:18 -0400 (0:00:00.067) 0:00:13.985 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 09 August 2024 03:55:18 -0400 (0:00:00.119) 0:00:14.105 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 03:55:18 -0400 (0:00:00.115) 0:00:14.220 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 03:55:18 -0400 (0:00:00.064) 0:00:14.285 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190117.293009, "block_size": 4096, "blocks": 8, "ctime": 1723190117.292009, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22517, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723190117.292009, "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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 03:55:18 -0400 (0:00:00.339) 0:00:14.624 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 03:55:18 -0400 (0:00:00.066) 0:00:14.690 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022486", "end": "2024-08-09 03:55:19.171705", "rc": 0, "start": "2024-08-09 03:55:19.149219" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 03:55:19 -0400 (0:00:00.346) 0:00:15.037 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 03:55:19 -0400 (0:00:00.070) 0:00:15.107 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 03:55:19 -0400 (0:00:00.066) 0:00:15.173 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 03:55:19 -0400 (0:00:00.068) 0:00:15.241 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 03:55:19 -0400 (0:00:00.066) 0:00:15.308 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 09 August 2024 03:55:19 -0400 (0:00:00.109) 0:00:15.418 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 09 August 2024 03:55:19 -0400 (0:00:00.067) 0:00:15.485 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 09 August 2024 03:55:19 -0400 (0:00:00.069) 0:00:15.555 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 03:55:19 -0400 (0:00:00.067) 0:00:15.623 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 09 August 2024 03:55:19 -0400 (0:00:00.125) 0:00:15.748 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:55:20 -0400 (0:00:00.108) 0:00:15.856 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190117.2950091, "block_size": 4096, "blocks": 0, "ctime": 1723190117.294009, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17771, "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": 1723190117.294009, "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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 09 August 2024 03:55:20 -0400 (0:00:00.311) 0:00:16.167 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 03:55:20 -0400 (0:00:00.070) 0:00:16.237 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 03:55:20 -0400 (0:00:00.064) 0:00:16.302 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 03:55:20 -0400 (0:00:00.125) 0:00:16.428 ********* 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.072263", "end": "2024-08-09 03:55:20.950820", "rc": 1, "start": "2024-08-09 03:55:20.878557" } STDOUT: Connection 'statebr' (a9b4b8cb-8119-4634-ac67-1b59c484e83d) successfully deleted. STDERR: (process:29721): GLib-GIO-WARNING **: 03:55:20.932: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/37 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 09 August 2024 03:55:21 -0400 (0:00:00.388) 0:00:16.817 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 03:55:21 -0400 (0:00:00.113) 0:00:16.930 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 03:55:21 -0400 (0:00:00.111) 0:00:17.042 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 03:55:21 -0400 (0:00:00.112) 0:00:17.154 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:55:21 -0400 (0:00:00.109) 0:00:17.264 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:55:21 -0400 (0:00:00.107) 0:00:17.372 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003175", "end": "2024-08-09 03:55:21.834092", "rc": 0, "start": "2024-08-09 03:55:21.830917" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:55:21 -0400 (0:00:00.327) 0:00:17.699 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:55:21 -0400 (0:00:00.065) 0:00:17.765 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 03:55:22 -0400 (0:00:00.065) 0:00:17.831 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 09 August 2024 03:55:22 -0400 (0:00:00.122) 0:00:17.954 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006391", "end": "2024-08-09 03:55:22.411531", "rc": 1, "start": "2024-08-09 03:55:22.405140" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:55:22 -0400 (0:00:00.317) 0:00:18.272 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:55:22 -0400 (0:00:00.108) 0:00:18.380 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:55:22 -0400 (0:00:00.320) 0:00:18.700 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 03:55:22 -0400 (0:00:00.066) 0:00:18.767 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 09 August 2024 03:55:23 -0400 (0:00:00.161) 0:00:18.928 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:55:23 -0400 (0:00:00.128) 0:00:19.057 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:55:23 -0400 (0:00:00.123) 0:00:19.180 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:55:23 -0400 (0:00:00.081) 0:00:19.261 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:55:23 -0400 (0:00:00.063) 0:00:19.324 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:55:23 -0400 (0:00:00.064) 0:00:19.389 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:55:24 -0400 (0:00:00.836) 0:00:20.225 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:55:25 -0400 (0:00:01.201) 0:00:21.426 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:55:25 -0400 (0:00:00.066) 0:00:21.492 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:55:25 -0400 (0:00:00.064) 0:00:21.557 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:55:25 -0400 (0:00:00.062) 0:00:21.620 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:55:25 -0400 (0:00:00.063) 0:00:21.683 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:55:25 -0400 (0:00:00.066) 0:00:21.750 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:55:26 -0400 (0:00:00.070) 0:00:21.820 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:55:26 -0400 (0:00:00.070) 0:00:21.891 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:55:26 -0400 (0:00:00.109) 0:00:22.000 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:55:26 -0400 (0:00:00.063) 0:00:22.064 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:55:26 -0400 (0:00:00.063) 0:00:22.128 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:55:26 -0400 (0:00:00.068) 0:00:22.196 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:55:26 -0400 (0:00:00.437) 0:00:22.634 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:55:26 -0400 (0:00:00.069) 0:00:22.703 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:55:27 -0400 (0:00:00.107) 0:00:22.810 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:55:27 -0400 (0:00:00.064) 0:00:22.875 ********* 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, cd6da493-cebf-4fd0-84ee-ca543fa1f6d0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:55:27 -0400 (0:00:00.562) 0:00:23.437 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:55:27 -0400 (0:00:00.062) 0:00:23.500 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd6da493-cebf-4fd0-84ee-ca543fa1f6d0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:55:27 -0400 (0:00:00.067) 0:00:23.567 ********* 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, cd6da493-cebf-4fd0-84ee-ca543fa1f6d0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd6da493-cebf-4fd0-84ee-ca543fa1f6d0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:55:27 -0400 (0:00:00.069) 0:00:23.636 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:55:27 -0400 (0:00:00.063) 0:00:23.700 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 09 August 2024 03:55:28 -0400 (0:00:00.327) 0:00:24.027 ********* 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, cd6da493-cebf-4fd0-84ee-ca543fa1f6d0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cd6da493-cebf-4fd0-84ee-ca543fa1f6d0" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 03:55:28 -0400 (0:00:00.072) 0:00:24.100 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:55:28 -0400 (0:00:00.136) 0:00:24.236 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:55:28 -0400 (0:00:00.116) 0:00:24.353 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:55:28 -0400 (0:00:00.331) 0:00:24.684 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 09 August 2024 03:55:28 -0400 (0:00:00.072) 0:00:24.757 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 03:55:29 -0400 (0:00:00.162) 0:00:24.919 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 03:55:29 -0400 (0:00:00.066) 0:00:24.985 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190127.5570302, "block_size": 4096, "blocks": 8, "ctime": 1723190127.5570302, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22517, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723190127.5570302, "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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 03:55:29 -0400 (0:00:00.326) 0:00:25.312 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 03:55:29 -0400 (0:00:00.068) 0:00:25.381 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019494", "end": "2024-08-09 03:55:29.849366", "rc": 0, "start": "2024-08-09 03:55:29.829872" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 03:55:29 -0400 (0:00:00.333) 0:00:25.714 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 03:55:30 -0400 (0:00:00.069) 0:00:25.784 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 03:55:30 -0400 (0:00:00.069) 0:00:25.854 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 03:55:30 -0400 (0:00:00.067) 0:00:25.921 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 03:55:30 -0400 (0:00:00.068) 0:00:25.990 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 09 August 2024 03:55:30 -0400 (0:00:00.069) 0:00:26.059 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 09 August 2024 03:55:30 -0400 (0:00:00.068) 0:00:26.128 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 09 August 2024 03:55:30 -0400 (0:00:00.071) 0:00:26.200 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 03:55:30 -0400 (0:00:00.067) 0:00:26.268 ********* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 03:55:30 -0400 (0:00:00.061) 0:00:26.330 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 03:55:30 -0400 (0:00:00.069) 0:00:26.399 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 03:55:30 -0400 (0:00:00.173) 0:00:26.573 ********* 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.047990", "end": "2024-08-09 03:55:31.086065", "rc": 1, "start": "2024-08-09 03:55:31.038075" } STDOUT: Connection 'statebr' (cd6da493-cebf-4fd0-84ee-ca543fa1f6d0) 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 09 August 2024 03:55:31 -0400 (0:00:00.378) 0:00:26.951 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 03:55:31 -0400 (0:00:00.113) 0:00:27.065 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 03:55:31 -0400 (0:00:00.066) 0:00:27.131 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 03:55:31 -0400 (0:00:00.114) 0:00:27.246 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:55:31 -0400 (0:00:00.107) 0:00:27.354 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:55:31 -0400 (0:00:00.106) 0:00:27.461 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002869", "end": "2024-08-09 03:55:31.922099", "rc": 0, "start": "2024-08-09 03:55:31.919230" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:55:32 -0400 (0:00:00.324) 0:00:27.785 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:55:32 -0400 (0:00:00.070) 0:00:27.856 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 03:55:32 -0400 (0:00:00.067) 0:00:27.923 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 03:55:32 -0400 (0:00:00.120) 0:00:28.044 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:55:32 -0400 (0:00:00.163) 0:00:28.208 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:55:32 -0400 (0:00:00.129) 0:00:28.338 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:55:32 -0400 (0:00:00.086) 0:00:28.424 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:55:32 -0400 (0:00:00.064) 0:00:28.489 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:55:32 -0400 (0:00:00.067) 0:00:28.556 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:55:33 -0400 (0:00:00.865) 0:00:29.422 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:55:34 -0400 (0:00:01.120) 0:00:30.543 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:55:34 -0400 (0:00:00.113) 0:00:30.656 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:55:34 -0400 (0:00:00.068) 0:00:30.725 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:55:35 -0400 (0:00:00.065) 0:00:30.791 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:55:35 -0400 (0:00:00.068) 0:00:30.859 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:55:35 -0400 (0:00:00.065) 0:00:30.924 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:55:35 -0400 (0:00:00.074) 0:00:30.999 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:55:35 -0400 (0:00:00.070) 0:00:31.070 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:55:35 -0400 (0:00:00.113) 0:00:31.184 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:55:35 -0400 (0:00:00.067) 0:00:31.251 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:55:35 -0400 (0:00:00.065) 0:00:31.317 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:55:35 -0400 (0:00:00.073) 0:00:31.390 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:55:36 -0400 (0:00:00.454) 0:00:31.845 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:55:36 -0400 (0:00:00.074) 0:00:31.919 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:55:36 -0400 (0:00:00.067) 0:00:31.987 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:55:36 -0400 (0:00:00.065) 0:00:32.052 ********* 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, 8f56d087-cdad-46be-9433-856347a29306 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:55:37 -0400 (0:00:00.727) 0:00:32.780 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:55:37 -0400 (0:00:00.065) 0:00:32.846 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f56d087-cdad-46be-9433-856347a29306" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:55:37 -0400 (0:00:00.066) 0:00:32.912 ********* 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, 8f56d087-cdad-46be-9433-856347a29306\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f56d087-cdad-46be-9433-856347a29306" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:55:37 -0400 (0:00:00.068) 0:00:32.981 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:55:37 -0400 (0:00:00.062) 0:00:33.044 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 03:55:37 -0400 (0:00:00.308) 0:00:33.353 ********* 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, 8f56d087-cdad-46be-9433-856347a29306\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8f56d087-cdad-46be-9433-856347a29306" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 03:55:37 -0400 (0:00:00.068) 0:00:33.421 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 09 August 2024 03:55:37 -0400 (0:00:00.116) 0:00:33.538 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:55:37 -0400 (0:00:00.129) 0:00:33.667 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:55:38 -0400 (0:00:00.125) 0:00:33.792 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:55:38 -0400 (0:00:00.082) 0:00:33.875 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:55:38 -0400 (0:00:00.064) 0:00:33.939 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:55:38 -0400 (0:00:00.064) 0:00:34.003 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:55:39 -0400 (0:00:00.881) 0:00:34.885 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:55:40 -0400 (0:00:01.102) 0:00:35.988 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:55:40 -0400 (0:00:00.069) 0:00:36.057 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:55:40 -0400 (0:00:00.063) 0:00:36.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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:55:40 -0400 (0:00:00.064) 0:00:36.185 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:55:40 -0400 (0:00:00.064) 0:00:36.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:55:40 -0400 (0:00:00.063) 0:00:36.313 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:55:40 -0400 (0:00:00.071) 0:00:36.384 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:55:40 -0400 (0:00:00.067) 0:00:36.452 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:55:40 -0400 (0:00:00.153) 0:00:36.606 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:55:40 -0400 (0:00:00.066) 0:00:36.673 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:55:40 -0400 (0:00:00.063) 0:00:36.736 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:55:41 -0400 (0:00:00.070) 0:00:36.807 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:55:41 -0400 (0:00:00.439) 0:00:37.246 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:55:41 -0400 (0:00:00.070) 0:00:37.317 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:55:41 -0400 (0:00:00.062) 0:00:37.379 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:55:41 -0400 (0:00:00.063) 0:00:37.443 ********* 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, 8f56d087-cdad-46be-9433-856347a29306 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:55:42 -0400 (0:00:00.553) 0:00:37.996 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:55:42 -0400 (0:00:00.063) 0:00:38.059 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8f56d087-cdad-46be-9433-856347a29306 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:55:42 -0400 (0:00:00.068) 0:00:38.128 ********* 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, 8f56d087-cdad-46be-9433-856347a29306 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8f56d087-cdad-46be-9433-856347a29306 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:55:42 -0400 (0:00:00.067) 0:00:38.196 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:55:42 -0400 (0:00:00.064) 0:00:38.260 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 03:55:42 -0400 (0:00:00.313) 0:00:38.573 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 09 August 2024 03:55:42 -0400 (0:00:00.168) 0:00:38.742 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:55:43 -0400 (0:00:00.108) 0:00:38.851 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190136.810049, "block_size": 4096, "blocks": 0, "ctime": 1723190136.8050492, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17771, "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": 1723190136.8050492, "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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 09 August 2024 03:55:43 -0400 (0:00:00.314) 0:00:39.165 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 09 August 2024 03:55:43 -0400 (0:00:00.067) 0:00:39.233 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 03:55:43 -0400 (0:00:00.116) 0:00:39.349 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 03:55:43 -0400 (0:00:00.066) 0:00:39.415 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190136.8650491, "block_size": 4096, "blocks": 8, "ctime": 1723190136.803049, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22517, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723190136.803049, "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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 03:55:43 -0400 (0:00:00.319) 0:00:39.735 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 03:55:44 -0400 (0:00:00.068) 0:00:39.803 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020956", "end": "2024-08-09 03:55:44.266343", "rc": 0, "start": "2024-08-09 03:55:44.245387" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 03:55:44 -0400 (0:00:00.326) 0:00:40.130 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 03:55:44 -0400 (0:00:00.068) 0:00:40.199 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 03:55:44 -0400 (0:00:00.067) 0:00:40.266 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 03:55:44 -0400 (0:00:00.067) 0:00:40.333 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 03:55:44 -0400 (0:00:00.065) 0:00:40.399 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 09 August 2024 03:55:44 -0400 (0:00:00.113) 0:00:40.512 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 09 August 2024 03:55:44 -0400 (0:00:00.070) 0:00:40.582 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 09 August 2024 03:55:44 -0400 (0:00:00.073) 0:00:40.655 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 03:55:44 -0400 (0:00:00.068) 0:00:40.724 ********* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 03:55:45 -0400 (0:00:00.063) 0:00:40.787 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 03:55:45 -0400 (0:00:00.069) 0:00:40.857 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 03:55:45 -0400 (0:00:00.125) 0:00:40.983 ********* 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.078378", "end": "2024-08-09 03:55:45.518370", "rc": 1, "start": "2024-08-09 03:55:45.439992" } STDOUT: Connection 'statebr' (8f56d087-cdad-46be-9433-856347a29306) successfully deleted. STDERR: (process:31528): GLib-GIO-WARNING **: 03:55:45.498: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/38 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 09 August 2024 03:55:45 -0400 (0:00:00.398) 0:00:41.381 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 03:55:45 -0400 (0:00:00.115) 0:00:41.496 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 03:55:45 -0400 (0:00:00.066) 0:00:41.563 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 03:55:45 -0400 (0:00:00.117) 0:00:41.681 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:55:46 -0400 (0:00:00.110) 0:00:41.792 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:55:46 -0400 (0:00:00.107) 0:00:41.900 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004787", "end": "2024-08-09 03:55:47.368031", "rc": 0, "start": "2024-08-09 03:55:46.363244" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:55:47 -0400 (0:00:01.330) 0:00:43.230 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:55:47 -0400 (0:00:00.068) 0:00:43.299 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 03:55:47 -0400 (0:00:00.067) 0:00:43.366 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 03:55:47 -0400 (0:00:00.123) 0:00:43.490 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:55:47 -0400 (0:00:00.115) 0:00:43.605 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:55:47 -0400 (0:00:00.130) 0:00:43.735 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:55:48 -0400 (0:00:00.087) 0:00:43.823 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:55:48 -0400 (0:00:00.065) 0:00:43.888 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:55:48 -0400 (0:00:00.062) 0:00:43.950 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:55:49 -0400 (0:00:00.836) 0:00:44.787 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:55:50 -0400 (0:00:01.120) 0:00:45.907 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:55:50 -0400 (0:00:00.069) 0:00:45.977 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:55:50 -0400 (0:00:00.064) 0:00:46.042 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:55:50 -0400 (0:00:00.063) 0:00:46.105 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:55:50 -0400 (0:00:00.065) 0:00:46.171 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:55:50 -0400 (0:00:00.066) 0:00:46.237 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:55:50 -0400 (0:00:00.071) 0:00:46.308 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:55:50 -0400 (0:00:00.070) 0:00:46.379 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:55:50 -0400 (0:00:00.111) 0:00:46.490 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:55:50 -0400 (0:00:00.104) 0:00:46.594 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:55:50 -0400 (0:00:00.066) 0:00:46.661 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:55:50 -0400 (0:00:00.068) 0:00:46.729 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:55:51 -0400 (0:00:00.453) 0:00:47.183 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:55:51 -0400 (0:00:00.067) 0:00:47.250 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:55:51 -0400 (0:00:00.064) 0:00:47.315 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:55:51 -0400 (0:00:00.062) 0:00:47.377 ********* 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, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:55:52 -0400 (0:00:00.607) 0:00:47.984 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:55:52 -0400 (0:00:00.064) 0:00:48.049 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:55:52 -0400 (0:00:00.066) 0:00:48.115 ********* 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, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:55:52 -0400 (0:00:00.070) 0:00:48.185 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:55:52 -0400 (0:00:00.062) 0:00:48.248 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 03:55:52 -0400 (0:00:00.308) 0:00:48.556 ********* 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, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 09 August 2024 03:55:52 -0400 (0:00:00.067) 0:00:48.623 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:55:53 -0400 (0:00:00.156) 0:00:48.780 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:55:53 -0400 (0:00:00.127) 0:00:48.907 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:55:53 -0400 (0:00:00.082) 0:00:48.989 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:55:53 -0400 (0:00:00.064) 0:00:49.054 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:55:53 -0400 (0:00:00.061) 0:00:49.115 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:55:54 -0400 (0:00:00.822) 0:00:49.938 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:55:55 -0400 (0:00:01.147) 0:00:51.085 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:55:55 -0400 (0:00:00.068) 0:00:51.154 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:55:55 -0400 (0:00:00.062) 0:00:51.216 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:55:55 -0400 (0:00:00.064) 0:00:51.281 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:55:55 -0400 (0:00:00.062) 0:00:51.344 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:55:55 -0400 (0:00:00.065) 0:00:51.409 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:55:55 -0400 (0:00:00.069) 0:00:51.479 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:55:55 -0400 (0:00:00.068) 0:00:51.548 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:55:55 -0400 (0:00:00.109) 0:00:51.657 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:55:55 -0400 (0:00:00.061) 0:00:51.719 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:55:56 -0400 (0:00:00.063) 0:00:51.782 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:55:56 -0400 (0:00:00.067) 0:00:51.849 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:55:56 -0400 (0:00:00.434) 0:00:52.284 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:55:56 -0400 (0:00:00.067) 0:00:52.352 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:55:56 -0400 (0:00:00.062) 0:00:52.414 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:55:56 -0400 (0:00:00.062) 0:00:52.477 ********* 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, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:55:57 -0400 (0:00:00.620) 0:00:53.098 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:55:57 -0400 (0:00:00.063) 0:00:53.162 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:55:57 -0400 (0:00:00.066) 0:00:53.228 ********* 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, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 30a4ce4e-3c65-45fc-94a8-e1d13c6353e5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:55:57 -0400 (0:00:00.067) 0:00:53.296 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:55:57 -0400 (0:00:00.063) 0:00:53.360 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 03:55:57 -0400 (0:00:00.300) 0:00:53.660 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 09 August 2024 03:55:57 -0400 (0:00:00.116) 0:00:53.777 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:55:58 -0400 (0:00:00.129) 0:00:53.906 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:55:58 -0400 (0:00:00.127) 0:00:54.034 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:55:58 -0400 (0:00:00.080) 0:00:54.114 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:55:58 -0400 (0:00:00.063) 0:00:54.177 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:55:58 -0400 (0:00:00.061) 0:00:54.239 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:55:59 -0400 (0:00:00.815) 0:00:55.054 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:00 -0400 (0:00:01.115) 0:00:56.169 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:00 -0400 (0:00:00.068) 0:00:56.238 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:00 -0400 (0:00:00.067) 0:00:56.305 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:00 -0400 (0:00:00.067) 0:00:56.373 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:00 -0400 (0:00:00.065) 0:00:56.439 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:00 -0400 (0:00:00.068) 0:00:56.507 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:00 -0400 (0:00:00.072) 0:00:56.579 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:00 -0400 (0:00:00.070) 0:00:56.650 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:01 -0400 (0:00:00.158) 0:00:56.809 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:01 -0400 (0:00:00.066) 0:00:56.875 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:01 -0400 (0:00:00.066) 0:00:56.941 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:01 -0400 (0:00:00.069) 0:00:57.011 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:01 -0400 (0:00:00.498) 0:00:57.509 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:01 -0400 (0:00:00.068) 0:00:57.577 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:01 -0400 (0:00:00.066) 0:00:57.644 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:01 -0400 (0:00:00.067) 0:00:57.711 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:02 -0400 (0:00:00.622) 0:00:58.333 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:02 -0400 (0:00:00.065) 0:00:58.399 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:02 -0400 (0:00:00.068) 0:00:58.467 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:02 -0400 (0:00:00.070) 0:00:58.537 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:02 -0400 (0:00:00.065) 0:00:58.603 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 03:56:03 -0400 (0:00:00.324) 0:00:58.927 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 09 August 2024 03:56:03 -0400 (0:00:00.178) 0:00:59.106 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:56:03 -0400 (0:00:00.111) 0:00:59.218 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723190152.0720868, "block_size": 4096, "blocks": 0, "ctime": 1723190152.067087, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17789, "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": 1723190152.067087, "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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 09 August 2024 03:56:03 -0400 (0:00:00.335) 0:00:59.553 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 August 2024 03:56:03 -0400 (0:00:00.070) 0:00:59.623 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 03:56:03 -0400 (0:00:00.117) 0:00:59.741 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 03:56:04 -0400 (0:00:00.067) 0:00:59.808 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 03:56:04 -0400 (0:00:00.318) 0:01:00.126 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 03:56:04 -0400 (0:00:00.064) 0:01:00.191 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020167", "end": "2024-08-09 03:56:04.664627", "rc": 1, "start": "2024-08-09 03:56:04.644460" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 03:56:04 -0400 (0:00:00.336) 0:01:00.527 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 03:56:04 -0400 (0:00:00.065) 0:01:00.592 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 03:56:04 -0400 (0:00:00.067) 0:01:00.660 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 03:56:04 -0400 (0:00:00.065) 0:01:00.725 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 03:56:05 -0400 (0:00:00.065) 0:01:00.791 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 August 2024 03:56:05 -0400 (0:00:00.063) 0:01:00.855 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 03:56:05 -0400 (0:00:00.115) 0:01:00.970 ********* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 03:56:05 -0400 (0:00:00.062) 0:01:01.033 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 03:56:05 -0400 (0:00:00.065) 0:01:01.099 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 03:56:05 -0400 (0:00:00.122) 0:01:01.222 ********* 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.079196", "end": "2024-08-09 03:56:05.749971", "rc": 1, "start": "2024-08-09 03:56:05.670775" } STDOUT: Connection 'statebr' (30a4ce4e-3c65-45fc-94a8-e1d13c6353e5) successfully deleted. STDERR: (process:497): GLib-GIO-WARNING **: 03:56:05.728: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/39 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 09 August 2024 03:56:05 -0400 (0:00:00.398) 0:01:01.620 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 03:56:05 -0400 (0:00:00.112) 0:01:01.733 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 03:56:06 -0400 (0:00:00.067) 0:01:01.801 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 03:56:06 -0400 (0:00:00.119) 0:01:01.921 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:56:06 -0400 (0:00:00.110) 0:01:02.032 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:56:06 -0400 (0:00:00.109) 0:01:02.141 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005405", "end": "2024-08-09 03:56:07.606956", "rc": 0, "start": "2024-08-09 03:56:06.601551" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:56:07 -0400 (0:00:01.328) 0:01:03.469 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:56:07 -0400 (0:00:00.066) 0:01:03.536 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 03:56:07 -0400 (0:00:00.067) 0:01:03.604 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 03:56:07 -0400 (0:00:00.130) 0:01:03.735 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:56:08 -0400 (0:00:00.114) 0:01:03.849 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:56:08 -0400 (0:00:00.127) 0:01:03.976 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:56:08 -0400 (0:00:00.083) 0:01:04.060 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:56:08 -0400 (0:00:00.064) 0:01:04.124 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:56:08 -0400 (0:00:00.064) 0:01:04.189 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:56:09 -0400 (0:00:00.819) 0:01:05.009 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:10 -0400 (0:00:01.156) 0:01:06.165 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:10 -0400 (0:00:00.068) 0:01:06.233 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:10 -0400 (0:00:00.062) 0:01:06.296 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:10 -0400 (0:00:00.063) 0:01:06.360 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:10 -0400 (0:00:00.065) 0:01:06.426 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:10 -0400 (0:00:00.064) 0:01:06.490 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:10 -0400 (0:00:00.073) 0:01:06.564 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:10 -0400 (0:00:00.070) 0:01:06.635 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:10 -0400 (0:00:00.111) 0:01:06.747 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:11 -0400 (0:00:00.065) 0:01:06.812 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:11 -0400 (0:00:00.063) 0:01:06.875 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:11 -0400 (0:00:00.112) 0:01:06.988 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:11 -0400 (0:00:00.446) 0:01:07.435 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:11 -0400 (0:00:00.071) 0:01:07.506 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:11 -0400 (0:00:00.063) 0:01:07.570 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:11 -0400 (0:00:00.066) 0:01:07.637 ********* 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, bc4277a5-2ed0-4d2f-acd5-3e694ee40460 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:12 -0400 (0:00:00.617) 0:01:08.255 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:12 -0400 (0:00:00.064) 0:01:08.319 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc4277a5-2ed0-4d2f-acd5-3e694ee40460" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:12 -0400 (0:00:00.069) 0:01:08.388 ********* 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, bc4277a5-2ed0-4d2f-acd5-3e694ee40460\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc4277a5-2ed0-4d2f-acd5-3e694ee40460" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:12 -0400 (0:00:00.069) 0:01:08.458 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:12 -0400 (0:00:00.066) 0:01:08.524 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 03:56:13 -0400 (0:00:00.313) 0:01:08.838 ********* 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, bc4277a5-2ed0-4d2f-acd5-3e694ee40460\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc4277a5-2ed0-4d2f-acd5-3e694ee40460" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 09 August 2024 03:56:13 -0400 (0:00:00.069) 0:01:08.908 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:56:13 -0400 (0:00:00.113) 0:01:09.021 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:56:13 -0400 (0:00:00.169) 0:01:09.190 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:56:13 -0400 (0:00:00.085) 0:01:09.276 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:56:13 -0400 (0:00:00.062) 0:01:09.338 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:56:13 -0400 (0:00:00.065) 0:01:09.404 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:56:14 -0400 (0:00:00.821) 0:01:10.225 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:15 -0400 (0:00:01.105) 0:01:11.331 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:15 -0400 (0:00:00.069) 0:01:11.400 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:15 -0400 (0:00:00.111) 0:01:11.512 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:15 -0400 (0:00:00.065) 0:01:11.577 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:15 -0400 (0:00:00.065) 0:01:11.643 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:15 -0400 (0:00:00.063) 0:01:11.707 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:15 -0400 (0:00:00.071) 0:01:11.779 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:16 -0400 (0:00:00.071) 0:01:11.850 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:16 -0400 (0:00:00.109) 0:01:11.960 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:16 -0400 (0:00:00.063) 0:01:12.023 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:16 -0400 (0:00:00.062) 0:01:12.086 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:16 -0400 (0:00:00.068) 0:01:12.154 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:16 -0400 (0:00:00.434) 0:01:12.589 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:16 -0400 (0:00:00.070) 0:01:12.659 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:16 -0400 (0:00:00.063) 0:01:12.723 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:17 -0400 (0:00:00.064) 0:01:12.788 ********* 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, bc4277a5-2ed0-4d2f-acd5-3e694ee40460 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:17 -0400 (0:00:00.553) 0:01:13.341 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:17 -0400 (0:00:00.062) 0:01:13.404 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc4277a5-2ed0-4d2f-acd5-3e694ee40460 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:17 -0400 (0:00:00.114) 0:01:13.518 ********* 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, bc4277a5-2ed0-4d2f-acd5-3e694ee40460 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc4277a5-2ed0-4d2f-acd5-3e694ee40460 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:17 -0400 (0:00:00.069) 0:01:13.587 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:17 -0400 (0:00:00.065) 0:01:13.652 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 09 August 2024 03:56:18 -0400 (0:00:00.312) 0:01:13.965 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:56:18 -0400 (0:00:00.113) 0:01:14.078 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:56:18 -0400 (0:00:00.126) 0:01:14.205 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:56:18 -0400 (0:00:00.082) 0:01:14.287 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:56:18 -0400 (0:00:00.063) 0:01:14.351 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:56:18 -0400 (0:00:00.062) 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:56:19 -0400 (0:00:00.819) 0:01:15.233 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:20 -0400 (0:00:01.147) 0:01:16.381 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:20 -0400 (0:00:00.069) 0:01:16.450 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:20 -0400 (0:00:00.064) 0:01:16.515 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:20 -0400 (0:00:00.066) 0:01:16.581 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:20 -0400 (0:00:00.064) 0:01:16.645 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:20 -0400 (0:00:00.065) 0:01:16.710 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:21 -0400 (0:00:00.073) 0:01:16.783 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:21 -0400 (0:00:00.069) 0:01:16.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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:21 -0400 (0:00:00.111) 0:01:16.964 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:21 -0400 (0:00:00.064) 0:01:17.029 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:21 -0400 (0:00:00.064) 0:01:17.093 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:21 -0400 (0:00:00.070) 0:01:17.164 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:21 -0400 (0:00:00.490) 0:01:17.654 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:21 -0400 (0:00:00.070) 0:01:17.725 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:22 -0400 (0:00:00.065) 0:01:17.790 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:22 -0400 (0:00:00.066) 0:01:17.856 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:22 -0400 (0:00:00.600) 0:01:18.457 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:22 -0400 (0:00:00.064) 0:01:18.522 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:22 -0400 (0:00:00.067) 0:01:18.589 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:22 -0400 (0:00:00.066) 0:01:18.656 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:22 -0400 (0:00:00.063) 0:01:18.720 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 03:56:23 -0400 (0:00:00.309) 0:01:19.029 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 09 August 2024 03:56:23 -0400 (0:00:00.119) 0:01:19.149 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:56:23 -0400 (0:00:00.129) 0:01:19.278 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:56:23 -0400 (0:00:00.174) 0:01:19.453 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:56:23 -0400 (0:00:00.084) 0:01:19.537 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:56:23 -0400 (0:00:00.065) 0:01:19.603 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:56:23 -0400 (0:00:00.065) 0:01:19.669 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:56:24 -0400 (0:00:00.815) 0:01:20.484 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:25 -0400 (0:00:01.112) 0:01:21.597 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:25 -0400 (0:00:00.069) 0:01:21.666 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:25 -0400 (0:00:00.064) 0:01:21.731 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:26 -0400 (0:00:00.111) 0:01:21.842 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:26 -0400 (0:00:00.066) 0:01:21.909 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:26 -0400 (0:00:00.067) 0:01:21.977 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:26 -0400 (0:00:00.073) 0:01:22.050 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:26 -0400 (0:00:00.068) 0:01:22.119 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:26 -0400 (0:00:00.110) 0:01:22.229 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:26 -0400 (0:00:00.064) 0:01:22.293 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:26 -0400 (0:00:00.065) 0:01:22.359 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:26 -0400 (0:00:00.071) 0:01:22.431 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:27 -0400 (0:00:00.437) 0:01:22.868 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:27 -0400 (0:00:00.071) 0:01:22.939 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:27 -0400 (0:00:00.062) 0:01:23.002 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:27 -0400 (0:00:00.063) 0:01:23.065 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:27 -0400 (0:00:00.654) 0:01:23.720 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:28 -0400 (0:00:00.063) 0:01:23.784 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:28 -0400 (0:00:00.114) 0:01:23.898 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:28 -0400 (0:00:00.068) 0:01:23.967 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:28 -0400 (0:00:00.066) 0:01:24.033 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 03:56:28 -0400 (0:00:00.322) 0:01:24.356 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 August 2024 03:56:28 -0400 (0:00:00.121) 0:01:24.477 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 03:56:28 -0400 (0:00:00.118) 0:01:24.595 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 03:56:28 -0400 (0:00:00.067) 0:01:24.663 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 03:56:29 -0400 (0:00:00.309) 0:01:24.972 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 03:56:29 -0400 (0:00:00.065) 0:01:25.038 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019370", "end": "2024-08-09 03:56:29.513563", "rc": 1, "start": "2024-08-09 03:56:29.494193" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 03:56:29 -0400 (0:00:00.338) 0:01:25.377 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 03:56:29 -0400 (0:00:00.066) 0:01:25.443 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 03:56:29 -0400 (0:00:00.065) 0:01:25.509 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 03:56:29 -0400 (0:00:00.067) 0:01:25.576 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 03:56:29 -0400 (0:00:00.066) 0:01:25.643 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 August 2024 03:56:29 -0400 (0:00:00.120) 0:01:25.763 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 03:56:30 -0400 (0:00:00.070) 0:01:25.834 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:56:30 -0400 (0:00:00.132) 0:01:25.966 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:56:30 -0400 (0:00:00.113) 0:01:26.080 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:56:30 -0400 (0:00:00.329) 0:01:26.409 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 03:56:30 -0400 (0:00:00.071) 0:01:26.481 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 03:56:30 -0400 (0:00:00.068) 0:01:26.549 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 03:56:30 -0400 (0:00:00.123) 0:01:26.673 ********* 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.042460", "end": "2024-08-09 03:56:31.197115", "rc": 1, "start": "2024-08-09 03:56:31.154655" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 09 August 2024 03:56:31 -0400 (0:00:00.389) 0:01:27.062 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 09 August 2024 03:56:31 -0400 (0:00:00.114) 0:01:27.177 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 09 August 2024 03:56:31 -0400 (0:00:00.067) 0:01:27.245 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 09 August 2024 03:56:31 -0400 (0:00:00.125) 0:01:27.371 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 09 August 2024 03:56:31 -0400 (0:00:00.157) 0:01:27.528 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 August 2024 03:56:31 -0400 (0:00:00.109) 0:01:27.637 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003048", "end": "2024-08-09 03:56:32.104611", "rc": 0, "start": "2024-08-09 03:56:32.101563" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 August 2024 03:56:32 -0400 (0:00:00.339) 0:01:27.977 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 09 August 2024 03:56:32 -0400 (0:00:00.067) 0:01:28.045 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 09 August 2024 03:56:32 -0400 (0:00:00.067) 0:01:28.112 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 August 2024 03:56:32 -0400 (0:00:00.129) 0:01:28.242 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:56:32 -0400 (0:00:00.114) 0:01:28.357 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:56:32 -0400 (0:00:00.128) 0:01:28.485 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:56:32 -0400 (0:00:00.084) 0:01:28.570 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:56:32 -0400 (0:00:00.065) 0:01:28.635 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:56:32 -0400 (0:00:00.063) 0:01:28.699 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:56:33 -0400 (0:00:00.830) 0:01:29.529 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:34 -0400 (0:00:01.118) 0:01:30.647 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:34 -0400 (0:00:00.066) 0:01:30.714 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:34 -0400 (0:00:00.064) 0:01:30.778 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:35 -0400 (0:00:00.064) 0:01:30.843 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:35 -0400 (0:00:00.063) 0:01:30.907 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:35 -0400 (0:00:00.066) 0:01:30.973 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:35 -0400 (0:00:00.072) 0:01:31.046 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:35 -0400 (0:00:00.071) 0:01:31.117 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:35 -0400 (0:00:00.115) 0:01:31.232 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:35 -0400 (0:00:00.107) 0:01:31.340 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:35 -0400 (0:00:00.066) 0:01:31.407 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:35 -0400 (0:00:00.069) 0:01:31.477 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:36 -0400 (0:00:00.457) 0:01:31.935 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:36 -0400 (0:00:00.069) 0:01:32.004 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:36 -0400 (0:00:00.065) 0:01:32.070 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:36 -0400 (0:00:00.063) 0:01:32.133 ********* 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, 9c1ee087-35df-4973-8b29-9873130dc118 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:36 -0400 (0:00:00.621) 0:01:32.755 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:37 -0400 (0:00:00.065) 0:01:32.820 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c1ee087-35df-4973-8b29-9873130dc118" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:37 -0400 (0:00:00.066) 0:01:32.887 ********* 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, 9c1ee087-35df-4973-8b29-9873130dc118\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c1ee087-35df-4973-8b29-9873130dc118" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:37 -0400 (0:00:00.069) 0:01:32.957 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:37 -0400 (0:00:00.064) 0:01:33.021 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 August 2024 03:56:37 -0400 (0:00:00.302) 0:01:33.323 ********* 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, 9c1ee087-35df-4973-8b29-9873130dc118\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c1ee087-35df-4973-8b29-9873130dc118" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 09 August 2024 03:56:37 -0400 (0:00:00.068) 0:01:33.391 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:56:37 -0400 (0:00:00.162) 0:01:33.553 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:56:37 -0400 (0:00:00.128) 0:01:33.682 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:56:37 -0400 (0:00:00.084) 0:01:33.767 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:56:38 -0400 (0:00:00.065) 0:01:33.832 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:56:38 -0400 (0:00:00.063) 0:01:33.896 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:56:38 -0400 (0:00:00.822) 0:01:34.719 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:40 -0400 (0:00:01.148) 0:01:35.867 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:40 -0400 (0:00:00.068) 0:01:35.936 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:40 -0400 (0:00:00.062) 0:01:35.999 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:40 -0400 (0:00:00.064) 0:01:36.064 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:40 -0400 (0:00:00.062) 0:01:36.127 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:40 -0400 (0:00:00.064) 0:01:36.191 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:40 -0400 (0:00:00.071) 0:01:36.263 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:40 -0400 (0:00:00.069) 0:01:36.332 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:40 -0400 (0:00:00.113) 0:01:36.446 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:40 -0400 (0:00:00.063) 0:01:36.510 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:40 -0400 (0:00:00.065) 0:01:36.575 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:40 -0400 (0:00:00.070) 0:01:36.646 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:41 -0400 (0:00:00.440) 0:01:37.087 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:41 -0400 (0:00:00.070) 0:01:37.157 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:41 -0400 (0:00:00.062) 0:01:37.219 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:41 -0400 (0:00:00.063) 0:01:37.283 ********* 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, 9c1ee087-35df-4973-8b29-9873130dc118 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:42 -0400 (0:00:00.619) 0:01:37.902 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:42 -0400 (0:00:00.065) 0:01:37.968 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c1ee087-35df-4973-8b29-9873130dc118 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:42 -0400 (0:00:00.069) 0:01:38.037 ********* 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, 9c1ee087-35df-4973-8b29-9873130dc118 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c1ee087-35df-4973-8b29-9873130dc118 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:42 -0400 (0:00:00.067) 0:01:38.105 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:42 -0400 (0:00:00.065) 0:01:38.170 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 09 August 2024 03:56:42 -0400 (0:00:00.304) 0:01:38.475 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:56:42 -0400 (0:00:00.111) 0:01:38.587 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:56:42 -0400 (0:00:00.126) 0:01:38.713 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:56:43 -0400 (0:00:00.085) 0:01:38.798 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:56:43 -0400 (0:00:00.065) 0:01:38.864 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:56:43 -0400 (0:00:00.063) 0:01:38.927 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:56:44 -0400 (0:00:00.866) 0:01:39.793 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:45 -0400 (0:00:01.114) 0:01:40.908 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:45 -0400 (0:00:00.069) 0:01:40.977 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:45 -0400 (0:00:00.067) 0:01:41.044 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:45 -0400 (0:00:00.067) 0:01:41.111 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:45 -0400 (0:00:00.066) 0:01:41.178 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:45 -0400 (0:00:00.069) 0:01:41.247 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:45 -0400 (0:00:00.072) 0:01:41.320 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:45 -0400 (0:00:00.071) 0:01:41.391 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:45 -0400 (0:00:00.114) 0:01:41.505 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:45 -0400 (0:00:00.064) 0:01:41.570 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:45 -0400 (0:00:00.111) 0:01:41.681 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:45 -0400 (0:00:00.071) 0:01:41.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:46 -0400 (0:00:00.458) 0:01:42.212 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:46 -0400 (0:00:00.069) 0:01:42.281 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:46 -0400 (0:00:00.065) 0:01:42.347 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:46 -0400 (0:00:00.065) 0:01:42.412 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:47 -0400 (0:00:00.660) 0:01:43.073 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:47 -0400 (0:00:00.064) 0:01:43.137 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:47 -0400 (0:00:00.067) 0:01:43.204 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:47 -0400 (0:00:00.069) 0:01:43.274 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:47 -0400 (0:00:00.065) 0:01:43.339 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 09 August 2024 03:56:47 -0400 (0:00:00.301) 0:01:43.641 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 09 August 2024 03:56:47 -0400 (0:00:00.120) 0:01:43.761 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 August 2024 03:56:48 -0400 (0:00:00.156) 0:01:43.918 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 August 2024 03:56:48 -0400 (0:00:00.127) 0:01:44.046 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 August 2024 03:56:48 -0400 (0:00:00.084) 0:01:44.130 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 August 2024 03:56:48 -0400 (0:00:00.066) 0:01:44.196 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 August 2024 03:56:48 -0400 (0:00:00.064) 0:01:44.260 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 August 2024 03:56:49 -0400 (0:00:00.833) 0:01:45.094 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 August 2024 03:56:50 -0400 (0:00:01.155) 0:01:46.249 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 August 2024 03:56:50 -0400 (0:00:00.069) 0:01:46.319 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 August 2024 03:56:50 -0400 (0:00:00.063) 0:01:46.383 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 09 August 2024 03:56:50 -0400 (0:00:00.065) 0:01:46.449 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 09 August 2024 03:56:50 -0400 (0:00:00.063) 0:01:46.513 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 09 August 2024 03:56:50 -0400 (0:00:00.065) 0:01:46.578 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 09 August 2024 03:56:50 -0400 (0:00:00.071) 0:01:46.650 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 09 August 2024 03:56:50 -0400 (0:00:00.070) 0:01:46.720 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 09 August 2024 03:56:51 -0400 (0:00:00.112) 0:01:46.832 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 09 August 2024 03:56:51 -0400 (0:00:00.064) 0:01:46.897 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 09 August 2024 03:56:51 -0400 (0:00:00.068) 0:01:46.965 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 09 August 2024 03:56:51 -0400 (0:00:00.068) 0:01:47.033 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 09 August 2024 03:56:51 -0400 (0:00:00.437) 0:01:47.471 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 09 August 2024 03:56:51 -0400 (0:00:00.069) 0:01:47.541 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 09 August 2024 03:56:51 -0400 (0:00:00.063) 0:01:47.604 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 09 August 2024 03:56:51 -0400 (0:00:00.065) 0:01:47.670 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 09 August 2024 03:56:52 -0400 (0:00:00.634) 0:01:48.304 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 09 August 2024 03:56:52 -0400 (0:00:00.063) 0:01:48.367 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 09 August 2024 03:56:52 -0400 (0:00:00.065) 0:01:48.433 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 09 August 2024 03:56:52 -0400 (0:00:00.067) 0:01:48.500 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 09 August 2024 03:56:52 -0400 (0:00:00.062) 0:01:48.563 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 09 August 2024 03:56:53 -0400 (0:00:00.310) 0:01:48.873 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 August 2024 03:56:53 -0400 (0:00:00.129) 0:01:49.003 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 09 August 2024 03:56:53 -0400 (0:00:00.115) 0:01:49.118 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 09 August 2024 03:56:53 -0400 (0:00:00.066) 0:01:49.185 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 09 August 2024 03:56:53 -0400 (0:00:00.312) 0:01:49.497 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 09 August 2024 03:56:53 -0400 (0:00:00.062) 0:01:49.560 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019939", "end": "2024-08-09 03:56:54.027998", "rc": 1, "start": "2024-08-09 03:56:54.008059" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 09 August 2024 03:56:54 -0400 (0:00:00.329) 0:01:49.890 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 09 August 2024 03:56:54 -0400 (0:00:00.065) 0:01:49.955 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 09 August 2024 03:56:54 -0400 (0:00:00.114) 0:01:50.070 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 09 August 2024 03:56:54 -0400 (0:00:00.065) 0:01:50.135 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 09 August 2024 03:56:54 -0400 (0:00:00.067) 0:01:50.203 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 August 2024 03:56:54 -0400 (0:00:00.064) 0:01:50.268 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 09 August 2024 03:56:54 -0400 (0:00:00.070) 0:01:50.338 ********* [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.586892", "end": "2024-08-09 03:56:55.377210", "rc": 0, "start": "2024-08-09 03:56:54.790318" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 09 August 2024 03:56:55 -0400 (0:00:00.905) 0:01:51.243 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 09 August 2024 03:56:55 -0400 (0:00:00.066) 0:01:51.310 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 09 August 2024 03:56:55 -0400 (0:00:00.067) 0:01:51.377 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 09 August 2024 03:56:55 -0400 (0:00:00.127) 0:01:51.505 ********* included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 09 August 2024 03:56:55 -0400 (0:00:00.110) 0:01:51.616 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 09 August 2024 03:56:56 -0400 (0:00:00.316) 0:01:51.932 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 09 August 2024 03:56:56 -0400 (0:00:00.071) 0:01:52.004 ********* 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 09 August 2024 03:56:56 -0400 (0:00:00.065) 0:01:52.069 ********* included: /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-dfz/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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 August 2024 03:56:56 -0400 (0:00:00.181) 0:01:52.250 ********* 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.043298", "end": "2024-08-09 03:56:56.753263", "rc": 1, "start": "2024-08-09 03:56:56.709965" } 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 09 August 2024 03:56:56 -0400 (0:00:00.368) 0:01:52.618 ********* 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.006694", "end": "2024-08-09 03:56:57.075771", "rc": 0, "start": "2024-08-09 03:56:57.069077" } 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 0e:1c:02:c7:eb:7f brd ff:ff:ff:ff:ff:ff inet 10.31.40.116/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3057sec preferred_lft 3057sec inet6 fe80::c1c:2ff:fec7:eb7f/64 scope link valid_lft forever preferred_lft forever 10: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 9a:7e:39:f8:75:f5 brd ff:ff:ff:ff:ff:ff 60: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 9a:29:27:e8:b3:5e brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::9829:27ff:fee8:b35e/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.116 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 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 fe80::/64 dev rpltstbr proto kernel metric 256 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-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 09 August 2024 03:56:57 -0400 (0:00:00.322) 0:01:52.941 ********* 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.330926", "end": "2024-08-09 03:56:57.743281", "rc": 0, "start": "2024-08-09 03:56:57.412355" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1866 0 --:--:-- --:--:-- --:--:-- 1871 % 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 1936 0 --:--:-- --:--:-- --:--:-- 1927 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Friday 09 August 2024 03:56:57 -0400 (0:00:00.622) 0:01:53.564 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.88s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Gathering Facts --------------------------------------------------------- 1.54s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Gather current interface info ------------------------------------------- 1.33s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.33s /tmp/collections-dfz/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.30s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.27s /tmp/collections-dfz/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.20s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.11s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.11s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.11s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.10s /tmp/collections-dfz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26