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-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 31 August 2024 08:49:31 -0400 (0:00:00.027) 0:00:00.027 ******* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 31 August 2024 08:49:32 -0400 (0:00:01.089) 0:00:01.116 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.189) 0:00:01.305 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 31 August 2024 08:49:33 -0400 (0:00:00.595) 0:00:01.901 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.769) 0:00:02.671 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.062) 0:00:02.734 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.055) 0:00:02.789 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 31 August 2024 08:49:34 -0400 (0:00:00.096) 0:00:02.885 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 31 August 2024 08:49:35 -0400 (0:00:00.649) 0:00:03.535 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 31 August 2024 08:49:36 -0400 (0:00:01.263) 0:00:04.798 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.166264", "end": "2024-08-31 08:49:36.978623", "rc": 0, "start": "2024-08-31 08:49:36.812359" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 31 August 2024 08:49:37 -0400 (0:00:00.627) 0:00:05.425 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 31 August 2024 08:49:37 -0400 (0:00:00.075) 0:00:05.500 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 31 August 2024 08:49:37 -0400 (0:00:00.065) 0:00:05.566 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 31 August 2024 08:49:37 -0400 (0:00:00.104) 0:00:05.671 ******* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.870) 0:00:06.542 ******* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.043) 0:00:06.585 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.069) 0:00:06.655 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.082) 0:00:06.737 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.151) 0:00:06.889 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.086) 0:00:06.975 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:38 -0400 (0:00:00.053) 0:00:07.029 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003303", "end": "2024-08-31 08:49:39.160198", "rc": 0, "start": "2024-08-31 08:49:39.156895" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.497) 0:00:07.526 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.045) 0:00:07.572 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.081) 0:00:07.653 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.183) 0:00:07.836 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008831", "end": "2024-08-31 08:49:39.890996", "rc": 1, "start": "2024-08-31 08:49:39.882165" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:49:39 -0400 (0:00:00.415) 0:00:08.252 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.132) 0:00:08.385 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.595) 0:00:08.980 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.051) 0:00:09.032 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:49:40 -0400 (0:00:00.094) 0:00:09.126 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.263) 0:00:09.389 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.088) 0:00:09.478 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.043) 0:00:09.521 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.052) 0:00:09.574 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:49:41 -0400 (0:00:00.043) 0:00:09.618 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:49:42 -0400 (0:00:01.261) 0:00:10.880 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:49:44 -0400 (0:00:02.368) 0:00:13.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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:49:45 -0400 (0:00:00.112) 0:00:13.361 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:49:45 -0400 (0:00:00.122) 0:00:13.483 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:49:45 -0400 (0:00:00.132) 0:00:13.616 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:49:45 -0400 (0:00:00.130) 0:00:13.746 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:49:45 -0400 (0:00:00.118) 0:00:13.864 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:49:45 -0400 (0:00:00.191) 0:00:14.056 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:49:45 -0400 (0:00:00.142) 0:00:14.199 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.256) 0:00:14.455 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.116) 0:00:14.571 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.122) 0:00:14.694 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:49:46 -0400 (0:00:00.173) 0:00:14.867 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:49:47 -0400 (0:00:01.263) 0:00:16.131 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:49:47 -0400 (0:00:00.130) 0:00:16.262 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.093) 0:00:16.355 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:49:48 -0400 (0:00:00.072) 0:00:16.427 ******* 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, 3598e995-2aef-4a43-9a3b-adb00e1f177c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:49:49 -0400 (0:00:01.754) 0:00:18.181 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:49:49 -0400 (0:00:00.110) 0:00:18.292 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3598e995-2aef-4a43-9a3b-adb00e1f177c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.123) 0:00:18.415 ******* 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, 3598e995-2aef-4a43-9a3b-adb00e1f177c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3598e995-2aef-4a43-9a3b-adb00e1f177c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.081) 0:00:18.497 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.079) 0:00:18.576 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.561) 0:00:19.137 ******* 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, 3598e995-2aef-4a43-9a3b-adb00e1f177c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3598e995-2aef-4a43-9a3b-adb00e1f177c" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:49:50 -0400 (0:00:00.082) 0:00:19.220 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.159) 0:00:19.380 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.371) 0:00:19.752 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:49:51 -0400 (0:00:00.193) 0:00:19.945 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108589.5561063, "block_size": 4096, "blocks": 8, "ctime": 1725108589.5551064, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108589.5551064, "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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:49:52 -0400 (0:00:00.490) 0:00:20.436 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:49:52 -0400 (0:00:00.174) 0:00:20.611 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024137", "end": "2024-08-31 08:49:52.721147", "rc": 0, "start": "2024-08-31 08:49:52.697010" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:49:52 -0400 (0:00:00.577) 0:00:21.189 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.133) 0:00:21.322 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.222) 0:00:21.545 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.094) 0:00:21.640 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.140) 0:00:21.781 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.127) 0:00:21.908 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.141) 0:00:22.050 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:49:53 -0400 (0:00:00.143) 0:00:22.194 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.135) 0:00:22.329 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.219) 0:00:22.549 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.214) 0:00:22.764 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108589.5581064, "block_size": 4096, "blocks": 0, "ctime": 1725108589.5571063, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17906, "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": 1725108589.5571063, "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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:49:54 -0400 (0:00:00.463) 0:00:23.227 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.078) 0:00:23.305 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.076) 0:00:23.382 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.187) 0:00:23.570 ******* 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.077211", "end": "2024-08-31 08:49:55.735656", "rc": 1, "start": "2024-08-31 08:49:55.658445" } STDOUT: Connection 'statebr' (3598e995-2aef-4a43-9a3b-adb00e1f177c) successfully deleted. STDERR: (process:12156): GLib-GIO-WARNING **: 08:49:55.713: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/28 but no object proxy exists (process:12156): GLib-GIO-WARNING **: 08:49:55.716: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/37 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 31 August 2024 08:49:55 -0400 (0:00:00.596) 0:00:24.166 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.332) 0:00:24.499 ******* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.105) 0:00:24.605 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.157) 0:00:24.763 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.134) 0:00:24.897 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:49:56 -0400 (0:00:00.195) 0:00:25.092 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003583", "end": "2024-08-31 08:49:57.123021", "rc": 0, "start": "2024-08-31 08:49:57.119438" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.479) 0:00:25.571 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.132) 0:00:25.703 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.156) 0:00:25.860 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 31 August 2024 08:49:57 -0400 (0:00:00.268) 0:00:26.129 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006648", "end": "2024-08-31 08:49:58.153071", "rc": 1, "start": "2024-08-31 08:49:58.146423" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.487) 0:00:26.616 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:49:58 -0400 (0:00:00.214) 0:00:26.831 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.573) 0:00:27.404 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.217) 0:00:27.621 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.238) 0:00:27.860 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:49:59 -0400 (0:00:00.255) 0:00:28.115 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.281) 0:00:28.397 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.130) 0:00:28.527 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.082) 0:00:28.610 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.104) 0:00:28.715 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:01 -0400 (0:00:01.117) 0:00:29.832 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:03 -0400 (0:00:01.524) 0:00:31.357 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.134) 0:00:31.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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.119) 0:00:31.612 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.171) 0:00:31.783 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.129) 0:00:31.912 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.134) 0:00:32.047 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:03 -0400 (0:00:00.139) 0:00:32.187 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.128) 0:00:32.315 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.249) 0:00:32.565 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.173) 0:00:32.738 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.135) 0:00:32.873 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.132) 0:00:33.005 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.832) 0:00:33.837 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.162) 0:00:34.000 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.200) 0:00:34.201 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:06 -0400 (0:00:00.175) 0:00:34.376 ******* 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, cca9d83d-cae4-44a0-b962-369377436465 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:07 -0400 (0:00:01.033) 0:00:35.410 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.188) 0:00:35.598 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cca9d83d-cae4-44a0-b962-369377436465" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.162) 0:00:35.761 ******* 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, cca9d83d-cae4-44a0-b962-369377436465\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cca9d83d-cae4-44a0-b962-369377436465" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.134) 0:00:35.896 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:07 -0400 (0:00:00.120) 0:00:36.016 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.545) 0:00:36.561 ******* 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, cca9d83d-cae4-44a0-b962-369377436465\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cca9d83d-cae4-44a0-b962-369377436465" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.187) 0:00:36.748 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.317) 0:00:37.066 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:50:08 -0400 (0:00:00.206) 0:00:37.272 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.474) 0:00:37.747 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.116) 0:00:37.864 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.158) 0:00:38.023 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:50:09 -0400 (0:00:00.088) 0:00:38.111 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108606.922139, "block_size": 4096, "blocks": 8, "ctime": 1725108606.922139, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108606.922139, "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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.471) 0:00:38.583 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.099) 0:00:38.683 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021078", "end": "2024-08-31 08:50:10.700360", "rc": 0, "start": "2024-08-31 08:50:10.679282" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.454) 0:00:39.137 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:50:10 -0400 (0:00:00.099) 0:00:39.237 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.103) 0:00:39.340 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.113) 0:00:39.453 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.198) 0:00:39.651 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.236) 0:00:39.887 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.175) 0:00:40.063 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:50:11 -0400 (0:00:00.137) 0:00:40.201 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.146) 0:00:40.347 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.118) 0:00:40.465 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.153) 0:00:40.619 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:50:12 -0400 (0:00:00.279) 0:00:40.898 ******* 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.049037", "end": "2024-08-31 08:50:13.228709", "rc": 1, "start": "2024-08-31 08:50:13.179672" } STDOUT: Connection 'statebr' (cca9d83d-cae4-44a0-b962-369377436465) 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 31 August 2024 08:50:13 -0400 (0:00:00.761) 0:00:41.659 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:50:13 -0400 (0:00:00.146) 0:00:41.806 ******* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:50:13 -0400 (0:00:00.111) 0:00:41.918 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:50:13 -0400 (0:00:00.288) 0:00:42.206 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:50:14 -0400 (0:00:00.381) 0:00:42.587 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:50:14 -0400 (0:00:00.248) 0:00:42.836 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003288", "end": "2024-08-31 08:50:14.834087", "rc": 0, "start": "2024-08-31 08:50:14.830799" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:50:14 -0400 (0:00:00.447) 0:00:43.283 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.127) 0:00:43.411 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.100) 0:00:43.511 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.178) 0:00:43.690 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:15 -0400 (0:00:00.324) 0:00:44.014 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.358) 0:00:44.372 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.180) 0:00:44.553 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.116) 0:00:44.670 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:16 -0400 (0:00:00.129) 0:00:44.800 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:17 -0400 (0:00:01.496) 0:00:46.296 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:19 -0400 (0:00:01.419) 0:00:47.716 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.108) 0:00:47.824 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.143) 0:00:47.968 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.128) 0:00:48.096 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:19 -0400 (0:00:00.121) 0:00:48.218 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.116) 0:00:48.335 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.132) 0:00:48.467 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.126) 0:00:48.594 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.231) 0:00:48.825 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.078) 0:00:48.903 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.121) 0:00:49.025 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:20 -0400 (0:00:00.224) 0:00:49.249 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:21 -0400 (0:00:00.885) 0:00:50.135 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:21 -0400 (0:00:00.117) 0:00:50.252 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.104) 0:00:50.357 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.112) 0:00:50.469 ******* 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, 36ad3029-2a7c-4949-b091-1d251b78ccd0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.945) 0:00:51.415 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.103) 0:00:51.518 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36ad3029-2a7c-4949-b091-1d251b78ccd0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.098) 0:00:51.617 ******* 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, 36ad3029-2a7c-4949-b091-1d251b78ccd0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36ad3029-2a7c-4949-b091-1d251b78ccd0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.086) 0:00:51.703 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.082) 0:00:51.785 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.569) 0:00:52.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, 36ad3029-2a7c-4949-b091-1d251b78ccd0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36ad3029-2a7c-4949-b091-1d251b78ccd0" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.188) 0:00:52.544 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.349) 0:00:52.893 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.326) 0:00:53.220 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.368) 0:00:53.588 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.261) 0:00:53.849 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.223) 0:00:54.073 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.149) 0:00:54.222 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:27 -0400 (0:00:01.291) 0:00:55.514 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:28 -0400 (0:00:01.415) 0:00:56.929 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.251) 0:00:57.180 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.214) 0:00:57.395 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.246) 0:00:57.642 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.127) 0:00:57.770 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.143) 0:00:57.913 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:29 -0400 (0:00:00.271) 0:00:58.184 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.170) 0:00:58.355 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.192) 0:00:58.547 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.141) 0:00:58.689 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.123) 0:00:58.813 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.129) 0:00:58.942 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.682) 0:00:59.625 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.120) 0:00:59.745 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.081) 0:00:59.827 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.085) 0:00:59.912 ******* 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, 36ad3029-2a7c-4949-b091-1d251b78ccd0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.811) 0:01:00.723 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.139) 0:01:00.863 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36ad3029-2a7c-4949-b091-1d251b78ccd0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.119) 0:01:00.983 ******* 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, 36ad3029-2a7c-4949-b091-1d251b78ccd0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36ad3029-2a7c-4949-b091-1d251b78ccd0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.239) 0:01:01.222 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:33 -0400 (0:00:00.123) 0:01:01.346 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:50:33 -0400 (0:00:00.533) 0:01:01.880 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.539) 0:01:02.419 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.417) 0:01:02.837 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108622.8991692, "block_size": 4096, "blocks": 0, "ctime": 1725108622.8931692, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17906, "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": 1725108622.8931692, "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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.533) 0:01:03.371 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.151) 0:01:03.522 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.238) 0:01:03.760 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:50:35 -0400 (0:00:00.148) 0:01:03.909 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108622.892169, "block_size": 4096, "blocks": 8, "ctime": 1725108622.891169, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22484, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725108622.891169, "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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.456) 0:01:04.365 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.132) 0:01:04.498 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022043", "end": "2024-08-31 08:50:36.573998", "rc": 0, "start": "2024-08-31 08:50:36.551955" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.487) 0:01:04.985 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:50:36 -0400 (0:00:00.111) 0:01:05.096 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.227) 0:01:05.323 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.163) 0:01:05.487 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.130) 0:01:05.618 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.117) 0:01:05.736 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.141) 0:01:05.877 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.233) 0:01:06.111 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:50:37 -0400 (0:00:00.131) 0:01:06.243 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:50:38 -0400 (0:00:00.113) 0:01:06.356 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:50:38 -0400 (0:00:00.131) 0:01:06.488 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:50:38 -0400 (0:00:00.300) 0:01:06.789 ******* 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.086509", "end": "2024-08-31 08:50:39.179010", "rc": 1, "start": "2024-08-31 08:50:39.092501" } STDOUT: Connection 'statebr' (36ad3029-2a7c-4949-b091-1d251b78ccd0) successfully deleted. STDERR: (process:13958): GLib-GIO-WARNING **: 08:50:39.151: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/29 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.967) 0:01:07.756 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.268) 0:01:08.025 ******* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.116) 0:01:08.141 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:50:39 -0400 (0:00:00.157) 0:01:08.298 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:50:40 -0400 (0:00:00.169) 0:01:08.467 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:50:40 -0400 (0:00:00.187) 0:01:08.655 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2024-08-31 08:50:40.686665", "rc": 0, "start": "2024-08-31 08:50:40.683382" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:50:40 -0400 (0:00:00.464) 0:01:09.119 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:50:40 -0400 (0:00:00.138) 0:01:09.258 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:50:41 -0400 (0:00:00.128) 0:01:09.387 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:50:41 -0400 (0:00:00.325) 0:01:09.712 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:41 -0400 (0:00:00.222) 0:01:09.935 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:41 -0400 (0:00:00.276) 0:01:10.211 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:42 -0400 (0:00:00.162) 0:01:10.374 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:42 -0400 (0:00:00.129) 0:01:10.503 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:42 -0400 (0:00:00.118) 0:01:10.622 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:43 -0400 (0:00:01.156) 0:01:11.779 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:45 -0400 (0:00:01.663) 0:01:13.443 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:45 -0400 (0:00:00.150) 0:01:13.593 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:45 -0400 (0:00:00.101) 0:01:13.695 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:45 -0400 (0:00:00.098) 0:01:13.794 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:45 -0400 (0:00:00.116) 0:01:13.910 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:45 -0400 (0:00:00.121) 0:01:14.032 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:45 -0400 (0:00:00.145) 0:01:14.177 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.170) 0:01:14.348 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.238) 0:01:14.586 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.138) 0:01:14.724 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.121) 0:01:14.846 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:46 -0400 (0:00:00.176) 0:01:15.023 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:47 -0400 (0:00:00.613) 0:01:15.636 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:47 -0400 (0:00:00.140) 0:01:15.776 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:47 -0400 (0:00:00.126) 0:01:15.902 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:47 -0400 (0:00:00.124) 0:01:16.027 ******* 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, 6be32542-1470-45aa-873b-b6a6d397b8c6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:48 -0400 (0:00:01.131) 0:01:17.159 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:48 -0400 (0:00:00.118) 0:01:17.278 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6be32542-1470-45aa-873b-b6a6d397b8c6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:49 -0400 (0:00:00.135) 0:01:17.413 ******* 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, 6be32542-1470-45aa-873b-b6a6d397b8c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6be32542-1470-45aa-873b-b6a6d397b8c6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:49 -0400 (0:00:00.218) 0:01:17.631 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:49 -0400 (0:00:00.120) 0:01:17.752 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:50:49 -0400 (0:00:00.495) 0:01:18.248 ******* 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, 6be32542-1470-45aa-873b-b6a6d397b8c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6be32542-1470-45aa-873b-b6a6d397b8c6" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.126) 0:01:18.374 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.224) 0:01:18.599 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.292) 0:01:18.891 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.247) 0:01:19.138 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:50:50 -0400 (0:00:00.148) 0:01:19.287 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:50:51 -0400 (0:00:00.089) 0:01:19.376 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:50:52 -0400 (0:00:01.187) 0:01:20.563 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:50:53 -0400 (0:00:01.577) 0:01:22.141 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:50:53 -0400 (0:00:00.143) 0:01:22.284 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.217) 0:01:22.502 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.178) 0:01:22.681 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.225) 0:01:22.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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.146) 0:01:23.054 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:50:54 -0400 (0:00:00.241) 0:01:23.296 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:50:55 -0400 (0:00:00.217) 0:01:23.514 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:50:55 -0400 (0:00:00.359) 0:01:23.874 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:50:55 -0400 (0:00:00.145) 0:01:24.019 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:50:55 -0400 (0:00:00.218) 0:01:24.238 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:50:56 -0400 (0:00:00.227) 0:01:24.466 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:50:56 -0400 (0:00:00.748) 0:01:25.214 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:50:57 -0400 (0:00:00.112) 0:01:25.327 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:50:57 -0400 (0:00:00.096) 0:01:25.423 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:50:57 -0400 (0:00:00.103) 0:01:25.527 ******* 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, 6be32542-1470-45aa-873b-b6a6d397b8c6 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.923) 0:01:26.450 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.107) 0:01:26.558 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6be32542-1470-45aa-873b-b6a6d397b8c6 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.087) 0:01:26.645 ******* 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, 6be32542-1470-45aa-873b-b6a6d397b8c6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6be32542-1470-45aa-873b-b6a6d397b8c6 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.082) 0:01:26.728 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.075) 0:01:26.803 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:50:58 -0400 (0:00:00.468) 0:01:27.272 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:50:59 -0400 (0:00:00.226) 0:01:27.498 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:50:59 -0400 (0:00:00.252) 0:01:27.751 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:50:59 -0400 (0:00:00.246) 0:01:27.998 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:50:59 -0400 (0:00:00.258) 0:01:28.256 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:00 -0400 (0:00:00.120) 0:01:28.377 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:00 -0400 (0:00:00.116) 0:01:28.493 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:01 -0400 (0:00:00.982) 0:01:29.476 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:02 -0400 (0:00:01.374) 0:01:30.850 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.100) 0:01:30.951 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.096) 0:01:31.048 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.080) 0:01:31.129 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:02 -0400 (0:00:00.112) 0:01:31.241 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.228) 0:01:31.470 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.133) 0:01:31.604 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.141) 0:01:31.745 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.200) 0:01:31.946 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.117) 0:01:32.063 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:03 -0400 (0:00:00.122) 0:01:32.186 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.118) 0:01:32.304 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.555) 0:01:32.859 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.097) 0:01:32.957 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.120) 0:01:33.077 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:04 -0400 (0:00:00.220) 0:01:33.297 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:05 -0400 (0:00:00.972) 0:01:34.270 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:06 -0400 (0:00:00.118) 0:01:34.389 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:06 -0400 (0:00:00.125) 0:01:34.515 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:06 -0400 (0:00:00.165) 0:01:34.680 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:06 -0400 (0:00:00.143) 0:01:34.823 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:51:07 -0400 (0:00:00.833) 0:01:35.657 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 31 August 2024 08:51:07 -0400 (0:00:00.396) 0:01:36.053 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:51:08 -0400 (0:00:00.333) 0:01:36.387 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108648.5572176, "block_size": 4096, "blocks": 0, "ctime": 1725108648.5522175, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17908, "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": 1725108648.5522175, "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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 31 August 2024 08:51:08 -0400 (0:00:00.579) 0:01:36.967 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:51:08 -0400 (0:00:00.174) 0:01:37.141 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.244) 0:01:37.385 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.095) 0:01:37.481 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.538) 0:01:38.019 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:51:09 -0400 (0:00:00.104) 0:01:38.123 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021646", "end": "2024-08-31 08:51:10.225715", "rc": 1, "start": "2024-08-31 08:51:10.204069" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:51:10 -0400 (0:00:00.585) 0:01:38.709 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:51:10 -0400 (0:00:00.123) 0:01:38.832 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:51:10 -0400 (0:00:00.146) 0:01:38.978 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:51:10 -0400 (0:00:00.137) 0:01:39.116 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:51:10 -0400 (0:00:00.118) 0:01:39.235 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.117) 0:01:39.352 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.214) 0:01:39.567 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.129) 0:01:39.696 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.137) 0:01:39.833 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:51:11 -0400 (0:00:00.250) 0:01:40.084 ******* 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.083458", "end": "2024-08-31 08:51:12.312126", "rc": 1, "start": "2024-08-31 08:51:12.228668" } STDOUT: Connection 'statebr' (6be32542-1470-45aa-873b-b6a6d397b8c6) successfully deleted. STDERR: (process:15383): GLib-GIO-WARNING **: 08:51:12.282: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/30 but no object proxy exists (process:15383): GLib-GIO-WARNING **: 08:51:12.282: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.658) 0:01:40.742 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.368) 0:01:41.111 ******* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:51:13 -0400 (0:00:00.194) 0:01:41.306 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:51:13 -0400 (0:00:00.384) 0:01:41.691 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:51:13 -0400 (0:00:00.254) 0:01:41.945 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:51:13 -0400 (0:00:00.251) 0:01:42.196 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003294", "end": "2024-08-31 08:51:14.309050", "rc": 0, "start": "2024-08-31 08:51:14.305756" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.546) 0:01:42.742 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.080) 0:01:42.822 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.077) 0:01:42.900 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.221) 0:01:43.122 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.259) 0:01:43.382 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.270) 0:01:43.652 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.147) 0:01:43.799 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.093) 0:01:43.892 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.077) 0:01:43.969 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:16 -0400 (0:00:01.117) 0:01:45.086 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:18 -0400 (0:00:01.908) 0:01:46.995 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.304) 0:01:47.300 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.146) 0:01:47.446 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.105) 0:01:47.552 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.115) 0:01:47.668 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.105) 0:01:47.773 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.133) 0:01:47.906 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.143) 0:01:48.050 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.178) 0:01:48.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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.110) 0:01:48.339 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.139) 0:01:48.479 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.180) 0:01:48.660 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.780) 0:01:49.440 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.138) 0:01:49.578 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.119) 0:01:49.697 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.201) 0:01:49.899 ******* 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, 45c958a1-ee31-480d-a205-4a8186fb109b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:22 -0400 (0:00:01.312) 0:01:51.211 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.179) 0:01:51.391 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45c958a1-ee31-480d-a205-4a8186fb109b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.329) 0:01:51.720 ******* 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, 45c958a1-ee31-480d-a205-4a8186fb109b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45c958a1-ee31-480d-a205-4a8186fb109b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.129) 0:01:51.850 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.138) 0:01:51.988 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.588) 0:01:52.576 ******* 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, 45c958a1-ee31-480d-a205-4a8186fb109b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45c958a1-ee31-480d-a205-4a8186fb109b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.187) 0:01:52.771 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.222) 0:01:52.993 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.267) 0:01:53.261 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.163) 0:01:53.425 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.132) 0:01:53.557 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.100) 0:01:53.657 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.993) 0:01:54.650 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:28 -0400 (0:00:01.951) 0:01:56.602 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.142) 0:01:56.745 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.159) 0:01:56.904 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.164) 0:01:57.069 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.146) 0:01:57.216 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.100) 0:01:57.316 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.149) 0:01:57.466 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.132) 0:01:57.599 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.204) 0:01:57.803 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.097) 0:01:57.901 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.096) 0:01:57.997 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.084) 0:01:58.082 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:30 -0400 (0:00:00.569) 0:01:58.651 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:30 -0400 (0:00:00.160) 0:01:58.811 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:30 -0400 (0:00:00.137) 0:01:58.949 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:30 -0400 (0:00:00.224) 0:01:59.174 ******* 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, 45c958a1-ee31-480d-a205-4a8186fb109b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.966) 0:02:00.140 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.136) 0:02:00.276 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 45c958a1-ee31-480d-a205-4a8186fb109b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.135) 0:02:00.411 ******* 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, 45c958a1-ee31-480d-a205-4a8186fb109b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 45c958a1-ee31-480d-a205-4a8186fb109b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.111) 0:02:00.523 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.107) 0:02:00.631 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.471) 0:02:01.102 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.262) 0:02:01.365 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.283) 0:02:01.648 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.208) 0:02:01.856 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.125) 0:02:01.981 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.119) 0:02:02.101 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:35 -0400 (0:00:01.210) 0:02:03.311 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:36 -0400 (0:00:01.504) 0:02:04.816 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.142) 0:02:04.958 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.126) 0:02:05.084 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:36 -0400 (0:00:00.146) 0:02:05.231 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:37 -0400 (0:00:00.133) 0:02:05.365 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:37 -0400 (0:00:00.131) 0:02:05.496 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:37 -0400 (0:00:00.144) 0:02:05.640 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:37 -0400 (0:00:00.139) 0:02:05.780 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:37 -0400 (0:00:00.264) 0:02:06.045 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:37 -0400 (0:00:00.203) 0:02:06.248 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:38 -0400 (0:00:00.121) 0:02:06.370 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:38 -0400 (0:00:00.219) 0:02:06.590 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:38 -0400 (0:00:00.700) 0:02:07.290 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:39 -0400 (0:00:00.197) 0:02:07.487 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:39 -0400 (0:00:00.140) 0:02:07.628 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:39 -0400 (0:00:00.133) 0:02:07.761 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:40 -0400 (0:00:01.044) 0:02:08.805 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:40 -0400 (0:00:00.167) 0:02:08.973 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:40 -0400 (0:00:00.156) 0:02:09.130 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:41 -0400 (0:00:00.181) 0:02:09.311 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:41 -0400 (0:00:00.097) 0:02:09.408 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:51:41 -0400 (0:00:00.395) 0:02:09.804 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:51:41 -0400 (0:00:00.142) 0:02:09.946 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:41 -0400 (0:00:00.170) 0:02:10.117 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:42 -0400 (0:00:00.304) 0:02:10.422 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:42 -0400 (0:00:00.124) 0:02:10.546 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:42 -0400 (0:00:00.078) 0:02:10.625 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:42 -0400 (0:00:00.078) 0:02:10.704 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:43 -0400 (0:00:00.984) 0:02:11.688 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:51:44 -0400 (0:00:01.372) 0:02:13.061 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:51:44 -0400 (0:00:00.104) 0:02:13.166 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:51:44 -0400 (0:00:00.097) 0:02:13.263 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:51:45 -0400 (0:00:00.083) 0:02:13.346 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:51:45 -0400 (0:00:00.155) 0:02:13.502 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:51:45 -0400 (0:00:00.128) 0:02:13.630 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:51:45 -0400 (0:00:00.118) 0:02:13.749 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:51:45 -0400 (0:00:00.101) 0:02:13.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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:51:45 -0400 (0:00:00.148) 0:02:13.998 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:51:45 -0400 (0:00:00.096) 0:02:14.095 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:51:45 -0400 (0:00:00.117) 0:02:14.212 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:51:46 -0400 (0:00:00.131) 0:02:14.344 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:51:46 -0400 (0:00:00.566) 0:02:14.911 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:51:46 -0400 (0:00:00.082) 0:02:14.994 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:51:46 -0400 (0:00:00.102) 0:02:15.097 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:51:46 -0400 (0:00:00.120) 0:02:15.217 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:51:48 -0400 (0:00:01.087) 0:02:16.305 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:51:48 -0400 (0:00:00.153) 0:02:16.458 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:51:48 -0400 (0:00:00.144) 0:02:16.602 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:51:48 -0400 (0:00:00.175) 0:02:16.777 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:51:48 -0400 (0:00:00.148) 0:02:16.926 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:51:49 -0400 (0:00:00.726) 0:02:17.652 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:51:49 -0400 (0:00:00.161) 0:02:17.814 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:51:49 -0400 (0:00:00.209) 0:02:18.024 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:51:49 -0400 (0:00:00.118) 0:02:18.142 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:51:50 -0400 (0:00:00.620) 0:02:18.762 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:51:50 -0400 (0:00:00.116) 0:02:18.878 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019890", "end": "2024-08-31 08:51:50.895187", "rc": 1, "start": "2024-08-31 08:51:50.875297" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:51:51 -0400 (0:00:00.439) 0:02:19.318 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:51:51 -0400 (0:00:00.127) 0:02:19.445 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:51:51 -0400 (0:00:00.129) 0:02:19.575 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:51:51 -0400 (0:00:00.128) 0:02:19.703 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:51:51 -0400 (0:00:00.179) 0:02:19.883 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:51:51 -0400 (0:00:00.121) 0:02:20.005 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:51:51 -0400 (0:00:00.126) 0:02:20.132 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:51:52 -0400 (0:00:00.325) 0:02:20.458 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:51:52 -0400 (0:00:00.365) 0:02:20.824 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:51:53 -0400 (0:00:00.626) 0:02:21.450 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:51:53 -0400 (0:00:00.145) 0:02:21.596 ******* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:51:53 -0400 (0:00:00.117) 0:02:21.714 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:51:53 -0400 (0:00:00.246) 0:02:21.960 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046743", "end": "2024-08-31 08:51:54.228795", "rc": 1, "start": "2024-08-31 08:51:54.182052" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 31 August 2024 08:51:54 -0400 (0:00:00.715) 0:02:22.676 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 31 August 2024 08:51:54 -0400 (0:00:00.235) 0:02:22.911 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 31 August 2024 08:51:54 -0400 (0:00:00.123) 0:02:23.035 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 31 August 2024 08:51:54 -0400 (0:00:00.206) 0:02:23.242 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 31 August 2024 08:51:55 -0400 (0:00:00.250) 0:02:23.493 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 31 August 2024 08:51:55 -0400 (0:00:00.237) 0:02:23.730 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2024-08-31 08:51:55.789204", "rc": 0, "start": "2024-08-31 08:51:55.785860" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 31 August 2024 08:51:55 -0400 (0:00:00.520) 0:02:24.250 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 31 August 2024 08:51:56 -0400 (0:00:00.324) 0:02:24.574 ******* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 31 August 2024 08:51:56 -0400 (0:00:00.152) 0:02:24.727 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 31 August 2024 08:51:56 -0400 (0:00:00.344) 0:02:25.071 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:51:57 -0400 (0:00:00.256) 0:02:25.328 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:51:57 -0400 (0:00:00.208) 0:02:25.536 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:51:57 -0400 (0:00:00.127) 0:02:25.663 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:51:57 -0400 (0:00:00.116) 0:02:25.780 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:51:57 -0400 (0:00:00.125) 0:02:25.906 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:51:58 -0400 (0:00:01.092) 0:02:26.998 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:52:00 -0400 (0:00:01.570) 0:02:28.569 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:52:00 -0400 (0:00:00.161) 0:02:28.730 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:52:00 -0400 (0:00:00.122) 0:02:28.853 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:52:00 -0400 (0:00:00.152) 0:02:29.006 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:52:00 -0400 (0:00:00.209) 0:02:29.215 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:52:01 -0400 (0:00:00.198) 0:02:29.414 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:52:01 -0400 (0:00:00.214) 0:02:29.629 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:52:01 -0400 (0:00:00.147) 0:02:29.776 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:52:01 -0400 (0:00:00.308) 0:02:30.085 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:52:01 -0400 (0:00:00.128) 0:02:30.214 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:52:02 -0400 (0:00:00.143) 0:02:30.357 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:52:02 -0400 (0:00:00.139) 0:02:30.496 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:52:02 -0400 (0:00:00.795) 0:02:31.292 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:52:03 -0400 (0:00:00.204) 0:02:31.496 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:52:03 -0400 (0:00:00.150) 0:02:31.647 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:52:03 -0400 (0:00:00.120) 0:02:31.767 ******* 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, 60af364f-9c57-432f-930f-1bc9088d2058 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:52:04 -0400 (0:00:01.118) 0:02:32.885 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:52:04 -0400 (0:00:00.191) 0:02:33.077 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 60af364f-9c57-432f-930f-1bc9088d2058" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:52:04 -0400 (0:00:00.151) 0:02:33.229 ******* 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, 60af364f-9c57-432f-930f-1bc9088d2058\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 60af364f-9c57-432f-930f-1bc9088d2058" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:52:05 -0400 (0:00:00.122) 0:02:33.351 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:52:05 -0400 (0:00:00.095) 0:02:33.447 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 31 August 2024 08:52:05 -0400 (0:00:00.781) 0:02:34.228 ******* 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, 60af364f-9c57-432f-930f-1bc9088d2058\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 60af364f-9c57-432f-930f-1bc9088d2058" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.165) 0:02:34.393 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.231) 0:02:34.624 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.246) 0:02:34.870 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.179) 0:02:35.050 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.148) 0:02:35.198 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.129) 0:02:35.328 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:52:08 -0400 (0:00:01.337) 0:02:36.666 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:52:10 -0400 (0:00:01.701) 0:02:38.367 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:52:10 -0400 (0:00:00.113) 0:02:38.481 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:52:10 -0400 (0:00:00.125) 0:02:38.606 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:52:10 -0400 (0:00:00.127) 0:02:38.734 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:52:10 -0400 (0:00:00.129) 0:02:38.863 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:52:10 -0400 (0:00:00.255) 0:02:39.119 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.183) 0:02:39.303 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.147) 0:02:39.451 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.200) 0:02:39.652 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.127) 0:02:39.779 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.108) 0:02:39.888 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.101) 0:02:39.990 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.668) 0:02:40.659 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.234) 0:02:40.893 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.126) 0:02:41.020 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.137) 0:02:41.158 ******* 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, 60af364f-9c57-432f-930f-1bc9088d2058 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:52:13 -0400 (0:00:01.043) 0:02:42.201 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.112) 0:02:42.313 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 60af364f-9c57-432f-930f-1bc9088d2058 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.114) 0:02:42.428 ******* 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, 60af364f-9c57-432f-930f-1bc9088d2058 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 60af364f-9c57-432f-930f-1bc9088d2058 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.131) 0:02:42.559 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.193) 0:02:42.753 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.471) 0:02:43.224 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.148) 0:02:43.372 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.231) 0:02:43.604 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.138) 0:02:43.742 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.099) 0:02:43.841 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.133) 0:02:43.974 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:52:17 -0400 (0:00:01.559) 0:02:45.534 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:52:18 -0400 (0:00:01.448) 0:02:46.982 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:52:18 -0400 (0:00:00.142) 0:02:47.124 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:52:18 -0400 (0:00:00.140) 0:02:47.265 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.112) 0:02:47.378 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.091) 0:02:47.469 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.100) 0:02:47.570 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.155) 0:02:47.725 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.149) 0:02:47.875 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.251) 0:02:48.127 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.137) 0:02:48.264 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:52:20 -0400 (0:00:00.120) 0:02:48.385 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:52:20 -0400 (0:00:00.208) 0:02:48.593 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.792) 0:02:49.386 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.145) 0:02:49.532 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.139) 0:02:49.671 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.114) 0:02:49.785 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.876) 0:02:50.661 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.080) 0:02:50.742 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.119) 0:02:50.861 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.207) 0:02:51.069 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.160) 0:02:51.230 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 31 August 2024 08:52:23 -0400 (0:00:00.431) 0:02:51.661 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 31 August 2024 08:52:23 -0400 (0:00:00.160) 0:02:51.822 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 31 August 2024 08:52:23 -0400 (0:00:00.222) 0:02:52.044 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 31 August 2024 08:52:24 -0400 (0:00:00.371) 0:02:52.416 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 31 August 2024 08:52:24 -0400 (0:00:00.162) 0:02:52.578 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 31 August 2024 08:52:24 -0400 (0:00:00.163) 0:02:52.742 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 31 August 2024 08:52:24 -0400 (0:00:00.170) 0:02:52.913 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 31 August 2024 08:52:25 -0400 (0:00:01.236) 0:02:54.150 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 31 August 2024 08:52:27 -0400 (0:00:01.688) 0:02:55.839 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.129) 0:02:55.968 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.156) 0:02:56.125 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.129) 0:02:56.255 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.229) 0:02:56.484 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.117) 0:02:56.602 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.129) 0:02:56.731 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.137) 0:02:56.869 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.207) 0:02:57.076 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.159) 0:02:57.235 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 31 August 2024 08:52:29 -0400 (0:00:00.136) 0:02:57.372 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 31 August 2024 08:52:29 -0400 (0:00:00.144) 0:02:57.516 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 31 August 2024 08:52:29 -0400 (0:00:00.624) 0:02:58.140 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 31 August 2024 08:52:29 -0400 (0:00:00.135) 0:02:58.276 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.130) 0:02:58.406 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.144) 0:02:58.551 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 31 August 2024 08:52:31 -0400 (0:00:00.806) 0:02:59.358 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 31 August 2024 08:52:31 -0400 (0:00:00.078) 0:02:59.436 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 31 August 2024 08:52:31 -0400 (0:00:00.082) 0:02:59.519 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 31 August 2024 08:52:31 -0400 (0:00:00.090) 0:02:59.609 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 31 August 2024 08:52:31 -0400 (0:00:00.076) 0:02:59.686 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 31 August 2024 08:52:31 -0400 (0:00:00.423) 0:03:00.110 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 31 August 2024 08:52:31 -0400 (0:00:00.154) 0:03:00.264 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 31 August 2024 08:52:32 -0400 (0:00:00.139) 0:03:00.403 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 31 August 2024 08:52:32 -0400 (0:00:00.077) 0:03:00.481 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 31 August 2024 08:52:32 -0400 (0:00:00.394) 0:03:00.875 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 31 August 2024 08:52:32 -0400 (0:00:00.106) 0:03:00.982 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020983", "end": "2024-08-31 08:52:33.078103", "rc": 1, "start": "2024-08-31 08:52:33.057120" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 31 August 2024 08:52:33 -0400 (0:00:00.543) 0:03:01.525 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 31 August 2024 08:52:33 -0400 (0:00:00.140) 0:03:01.666 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 31 August 2024 08:52:33 -0400 (0:00:00.126) 0:03:01.792 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 31 August 2024 08:52:33 -0400 (0:00:00.128) 0:03:01.921 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 31 August 2024 08:52:33 -0400 (0:00:00.128) 0:03:02.050 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 31 August 2024 08:52:33 -0400 (0:00:00.121) 0:03:02.172 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 31 August 2024 08:52:33 -0400 (0:00:00.124) 0:03:02.297 ******* [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.600317", "end": "2024-08-31 08:52:34.917195", "rc": 0, "start": "2024-08-31 08:52:34.316878" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 31 August 2024 08:52:35 -0400 (0:00:01.096) 0:03:03.394 ******* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 31 August 2024 08:52:35 -0400 (0:00:00.105) 0:03:03.499 ******* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 31 August 2024 08:52:35 -0400 (0:00:00.091) 0:03:03.591 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 31 August 2024 08:52:35 -0400 (0:00:00.219) 0:03:03.810 ******* included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 31 August 2024 08:52:35 -0400 (0:00:00.214) 0:03:04.025 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 31 August 2024 08:52:36 -0400 (0:00:00.400) 0:03:04.425 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 31 August 2024 08:52:36 -0400 (0:00:00.127) 0:03:04.552 ******* 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 31 August 2024 08:52:36 -0400 (0:00:00.124) 0:03:04.677 ******* included: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-0qb/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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 31 August 2024 08:52:36 -0400 (0:00:00.260) 0:03:04.937 ******* 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.045136", "end": "2024-08-31 08:52:37.006271", "rc": 1, "start": "2024-08-31 08:52:36.961135" } 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-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 31 August 2024 08:52:37 -0400 (0:00:00.505) 0:03:05.443 ******* 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.006964", "end": "2024-08-31 08:52:37.465507", "rc": 0, "start": "2024-08-31 08:52:37.458543" } 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 0a:ff:c8:7d:1d:71 brd ff:ff:ff:ff:ff:ff inet 10.31.15.41/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 2703sec preferred_lft 2703sec inet6 fe80::8ff:c8ff:fe7d:1d71/64 scope link valid_lft forever preferred_lft forever 18: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether f2:83:99:e1:a1:2c brd ff:ff:ff:ff:ff:ff 26: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 96:da:ed:0f:dd:b9 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.41 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 31 August 2024 08:52:37 -0400 (0:00:00.470) 0:03:05.913 ******* 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.475452", "end": "2024-08-31 08:52:38.669899", "rc": 0, "start": "2024-08-31 08:52:38.194447" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 1103 0 --:--:-- --:--:-- --:--:-- 1105 % 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 1888 0 --:--:-- --:--:-- --:--:-- 1889 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 31 August 2024 08:52:38 -0400 (0:00:01.119) 0:03:07.033 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.37s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.95s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.34s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.29s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install yum-utils package ----------------------------------------------- 1.26s /tmp/collections-0qb/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26