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-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 21 December 2024 07:50:26 -0500 (0:00:00.082) 0:00:00.082 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 21 December 2024 07:50:27 -0500 (0:00:01.720) 0:00:01.803 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 December 2024 07:50:27 -0500 (0:00:00.164) 0:00:01.967 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 December 2024 07:50:28 -0500 (0:00:00.771) 0:00:02.738 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 December 2024 07:50:29 -0500 (0:00:00.725) 0:00:03.464 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 December 2024 07:50:29 -0500 (0:00:00.072) 0:00:03.537 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 December 2024 07:50:29 -0500 (0:00:00.065) 0:00:03.603 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 December 2024 07:50:29 -0500 (0:00:00.124) 0:00:03.728 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 December 2024 07:50:30 -0500 (0:00:00.597) 0:00:04.325 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 December 2024 07:50:31 -0500 (0:00:01.069) 0:00:05.394 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177063", "end": "2024-12-21 07:50:31.995135", "rc": 0, "start": "2024-12-21 07:50:31.818072" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 December 2024 07:50:32 -0500 (0:00:00.834) 0:00:06.229 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 December 2024 07:50:32 -0500 (0:00:00.079) 0:00:06.308 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 21 December 2024 07:50:32 -0500 (0:00:00.061) 0:00:06.370 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 December 2024 07:50:32 -0500 (0:00:00.038) 0:00:06.408 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 December 2024 07:50:33 -0500 (0:00:00.696) 0:00:07.105 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 December 2024 07:50:33 -0500 (0:00:00.037) 0:00:07.143 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:50:33 -0500 (0:00:00.062) 0:00:07.206 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:50:33 -0500 (0:00:00.041) 0:00:07.247 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:50:33 -0500 (0:00:00.134) 0:00:07.382 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:50:33 -0500 (0:00:00.072) 0:00:07.455 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:50:33 -0500 (0:00:00.103) 0:00:07.558 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003316", "end": "2024-12-21 07:50:33.901343", "rc": 0, "start": "2024-12-21 07:50:33.898027" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:50:33 -0500 (0:00:00.461) 0:00:08.020 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:50:34 -0500 (0:00:00.040) 0:00:08.061 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:50:34 -0500 (0:00:00.040) 0:00:08.102 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 December 2024 07:50:34 -0500 (0:00:00.077) 0:00:08.179 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007390", "end": "2024-12-21 07:50:34.413996", "rc": 1, "start": "2024-12-21 07:50:34.406606" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:50:34 -0500 (0:00:00.362) 0:00:08.542 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:50:34 -0500 (0:00:00.054) 0:00:08.596 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:50:34 -0500 (0:00:00.432) 0:00:09.029 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:50:35 -0500 (0:00:00.046) 0:00:09.075 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:50:35 -0500 (0:00:00.156) 0:00:09.231 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:50:35 -0500 (0:00:00.327) 0:00:09.558 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:50:35 -0500 (0:00:00.104) 0:00:09.663 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:50:35 -0500 (0:00:00.093) 0:00:09.756 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:50:35 -0500 (0:00:00.062) 0:00:09.818 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:50:35 -0500 (0:00:00.062) 0:00:09.881 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:50:37 -0500 (0:00:01.476) 0:00:11.358 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:50:39 -0500 (0:00:02.003) 0:00:13.361 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.073) 0:00:13.434 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.143) 0:00:13.577 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.112) 0:00:13.690 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.123) 0:00:13.813 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:50:39 -0500 (0:00:00.168) 0:00:13.982 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.215) 0:00:14.197 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.136) 0:00:14.334 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.157) 0:00:14.492 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.077) 0:00:14.569 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.161) 0:00:14.730 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.138) 0:00:14.868 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:50:41 -0500 (0:00:01.128) 0:00:15.997 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.122) 0:00:16.119 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.081) 0:00:16.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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.121) 0:00:16.322 ***** 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, 7f795990-9c6a-4573-9b17-1353c1521ef7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:50:43 -0500 (0:00:01.397) 0:00:17.720 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:50:43 -0500 (0:00:00.071) 0:00:17.791 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f795990-9c6a-4573-9b17-1353c1521ef7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:50:43 -0500 (0:00:00.074) 0:00:17.865 ***** 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, 7f795990-9c6a-4573-9b17-1353c1521ef7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f795990-9c6a-4573-9b17-1353c1521ef7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:50:43 -0500 (0:00:00.150) 0:00:18.015 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.105) 0:00:18.121 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.502) 0:00:18.623 ***** 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, 7f795990-9c6a-4573-9b17-1353c1521ef7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f795990-9c6a-4573-9b17-1353c1521ef7" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.100) 0:00:18.723 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.225) 0:00:18.949 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:50:45 -0500 (0:00:00.215) 0:00:19.165 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:50:45 -0500 (0:00:00.119) 0:00:19.284 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785443.5414128, "block_size": 4096, "blocks": 8, "ctime": 1734785443.465414, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785443.465414, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:50:45 -0500 (0:00:00.485) 0:00:19.770 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:50:45 -0500 (0:00:00.126) 0:00:19.897 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024499", "end": "2024-12-21 07:50:46.156259", "rc": 0, "start": "2024-12-21 07:50:46.131760" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.434) 0:00:20.331 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.120) 0:00:20.452 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.124) 0:00:20.577 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.131) 0:00:20.709 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.153) 0:00:20.862 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.122) 0:00:20.984 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.134) 0:00:21.119 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.088) 0:00:21.208 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.132) 0:00:21.340 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.228) 0:00:21.569 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.179) 0:00:21.748 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785443.467414, "block_size": 4096, "blocks": 0, "ctime": 1734785443.466414, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17653, "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": 1734785443.466414, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.554) 0:00:22.303 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.172) 0:00:22.475 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.109) 0:00:22.585 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.270) 0:00:22.855 ***** 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.081457", "end": "2024-12-21 07:50:49.192008", "rc": 1, "start": "2024-12-21 07:50:49.110551" } STDOUT: Connection 'statebr' (7f795990-9c6a-4573-9b17-1353c1521ef7) successfully deleted. STDERR: (process:19594): GLib-GIO-WARNING **: 07:50:49.168: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.509) 0:00:23.364 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.185) 0:00:23.549 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.115) 0:00:23.665 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:50:49 -0500 (0:00:00.230) 0:00:23.895 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:50:50 -0500 (0:00:00.291) 0:00:24.187 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:50:50 -0500 (0:00:00.179) 0:00:24.367 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004521", "end": "2024-12-21 07:50:51.600484", "rc": 0, "start": "2024-12-21 07:50:50.595963" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:50:51 -0500 (0:00:01.473) 0:00:25.840 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.131) 0:00:25.971 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.130) 0:00:26.102 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.225) 0:00:26.327 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007345", "end": "2024-12-21 07:50:52.750198", "rc": 1, "start": "2024-12-21 07:50:52.742853" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.586) 0:00:26.914 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.150) 0:00:27.064 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.377) 0:00:27.442 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.075) 0:00:27.517 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.234) 0:00:27.752 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.167) 0:00:27.920 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.174) 0:00:28.094 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.109) 0:00:28.204 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.069) 0:00:28.274 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.092) 0:00:28.366 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.935) 0:00:29.302 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:50:56 -0500 (0:00:01.575) 0:00:30.877 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.143) 0:00:31.020 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.115) 0:00:31.135 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.116) 0:00:31.252 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.123) 0:00:31.376 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.155) 0:00:31.532 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.137) 0:00:31.669 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.098) 0:00:31.768 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.132) 0:00:31.900 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.126) 0:00:32.027 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:50:58 -0500 (0:00:00.113) 0:00:32.141 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:50:58 -0500 (0:00:00.121) 0:00:32.262 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:50:58 -0500 (0:00:00.771) 0:00:33.034 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.237) 0:00:33.271 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.183) 0:00:33.455 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.214) 0:00:33.670 ***** 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, ed6e2a99-efb9-4506-9ec9-7bee4e222b45 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:00 -0500 (0:00:01.225) 0:00:34.896 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.153) 0:00:35.049 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed6e2a99-efb9-4506-9ec9-7bee4e222b45" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.230) 0:00:35.280 ***** 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, ed6e2a99-efb9-4506-9ec9-7bee4e222b45\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed6e2a99-efb9-4506-9ec9-7bee4e222b45" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.241) 0:00:35.521 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.198) 0:00:35.720 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.504) 0:00:36.224 ***** 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, ed6e2a99-efb9-4506-9ec9-7bee4e222b45\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed6e2a99-efb9-4506-9ec9-7bee4e222b45" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.149) 0:00:36.374 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.204) 0:00:36.579 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.274) 0:00:36.854 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.566) 0:00:37.420 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.124) 0:00:37.544 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.207) 0:00:37.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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.097) 0:00:37.850 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785460.528119, "block_size": 4096, "blocks": 8, "ctime": 1734785460.528119, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785460.528119, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.423) 0:00:38.274 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.124) 0:00:38.398 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021970", "end": "2024-12-21 07:51:04.720046", "rc": 0, "start": "2024-12-21 07:51:04.698076" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.514) 0:00:38.912 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.118) 0:00:39.031 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.120) 0:00:39.151 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.100) 0:00:39.252 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.094) 0:00:39.346 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.075) 0:00:39.422 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.101) 0:00:39.523 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.122) 0:00:39.646 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.119) 0:00:39.765 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.109) 0:00:39.875 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.124) 0:00:40.000 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:06 -0500 (0:00:00.410) 0:00:40.410 ***** 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.049282", "end": "2024-12-21 07:51:06.893956", "rc": 1, "start": "2024-12-21 07:51:06.844674" } STDOUT: Connection 'statebr' (ed6e2a99-efb9-4506-9ec9-7bee4e222b45) 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 December 2024 07:51:07 -0500 (0:00:00.661) 0:00:41.071 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:07 -0500 (0:00:00.139) 0:00:41.211 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:07 -0500 (0:00:00.114) 0:00:41.325 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:07 -0500 (0:00:00.282) 0:00:41.607 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:07 -0500 (0:00:00.197) 0:00:41.805 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:07 -0500 (0:00:00.149) 0:00:41.954 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003370", "end": "2024-12-21 07:51:08.334489", "rc": 0, "start": "2024-12-21 07:51:08.331119" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.745) 0:00:42.699 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.179) 0:00:42.878 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.132) 0:00:43.011 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.198) 0:00:43.209 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.250) 0:00:43.460 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.220) 0:00:43.681 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.184) 0:00:43.866 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.117) 0:00:43.983 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.121) 0:00:44.105 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:11 -0500 (0:00:01.225) 0:00:45.331 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:12 -0500 (0:00:01.436) 0:00:46.767 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:12 -0500 (0:00:00.097) 0:00:46.865 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:12 -0500 (0:00:00.090) 0:00:46.956 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:12 -0500 (0:00:00.084) 0:00:47.041 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:13 -0500 (0:00:00.104) 0:00:47.145 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:13 -0500 (0:00:00.114) 0:00:47.260 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:13 -0500 (0:00:00.125) 0:00:47.385 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:13 -0500 (0:00:00.121) 0:00:47.507 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:13 -0500 (0:00:00.205) 0:00:47.712 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:13 -0500 (0:00:00.140) 0:00:47.853 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:13 -0500 (0:00:00.129) 0:00:47.982 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.133) 0:00:48.116 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.884) 0:00:49.000 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.204) 0:00:49.205 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.116) 0:00:49.322 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.207) 0:00:49.529 ***** 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, 8b0b4846-99ba-42b9-be74-33c669de9f3c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:16 -0500 (0:00:01.086) 0:00:50.616 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.094) 0:00:50.710 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0b4846-99ba-42b9-be74-33c669de9f3c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.086) 0:00:50.796 ***** 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, 8b0b4846-99ba-42b9-be74-33c669de9f3c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0b4846-99ba-42b9-be74-33c669de9f3c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.092) 0:00:50.889 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.163) 0:00:51.052 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.508) 0:00:51.560 ***** 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, 8b0b4846-99ba-42b9-be74-33c669de9f3c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b0b4846-99ba-42b9-be74-33c669de9f3c" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.077) 0:00:51.638 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.180) 0:00:51.818 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.245) 0:00:52.064 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.375) 0:00:52.439 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.155) 0:00:52.594 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.131) 0:00:52.726 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.119) 0:00:52.845 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:20 -0500 (0:00:01.424) 0:00:54.270 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:21 -0500 (0:00:01.743) 0:00:56.013 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.096) 0:00:56.110 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.074) 0:00:56.184 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.090) 0:00:56.275 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.216) 0:00:56.492 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.148) 0:00:56.640 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.211) 0:00:56.851 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.151) 0:00:57.003 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.224) 0:00:57.227 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.120) 0:00:57.348 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.123) 0:00:57.471 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.127) 0:00:57.598 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:24 -0500 (0:00:00.895) 0:00:58.494 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:24 -0500 (0:00:00.126) 0:00:58.620 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:24 -0500 (0:00:00.129) 0:00:58.749 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:24 -0500 (0:00:00.132) 0:00:58.882 ***** 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, 8b0b4846-99ba-42b9-be74-33c669de9f3c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.925) 0:00:59.808 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.173) 0:00:59.981 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b0b4846-99ba-42b9-be74-33c669de9f3c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.139) 0:01:00.121 ***** 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, 8b0b4846-99ba-42b9-be74-33c669de9f3c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b0b4846-99ba-42b9-be74-33c669de9f3c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.122) 0:01:00.244 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.100) 0:01:00.344 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.521) 0:01:00.866 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.279) 0:01:01.145 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.301) 0:01:01.447 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785476.3688452, "block_size": 4096, "blocks": 0, "ctime": 1734785476.3608453, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17653, "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": 1734785476.3608453, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.767) 0:01:02.215 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.140) 0:01:02.356 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.176) 0:01:02.532 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.108) 0:01:02.640 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785476.3598454, "block_size": 4096, "blocks": 8, "ctime": 1734785476.3588455, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785476.3588455, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.402) 0:01:03.043 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.079) 0:01:03.123 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023843", "end": "2024-12-21 07:51:29.504834", "rc": 0, "start": "2024-12-21 07:51:29.480991" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.538) 0:01:03.661 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.081) 0:01:03.742 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.076) 0:01:03.819 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.076) 0:01:03.895 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.075) 0:01:03.971 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.078) 0:01:04.049 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.080) 0:01:04.130 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.091) 0:01:04.221 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.129) 0:01:04.351 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.105) 0:01:04.456 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.118) 0:01:04.574 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.295) 0:01:04.870 ***** 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.079750", "end": "2024-12-21 07:51:31.197431", "rc": 1, "start": "2024-12-21 07:51:31.117681" } STDOUT: Connection 'statebr' (8b0b4846-99ba-42b9-be74-33c669de9f3c) successfully deleted. STDERR: (process:21390): GLib-GIO-WARNING **: 07:51:31.175: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/26 but no object proxy exists (process:21390): GLib-GIO-WARNING **: 07:51:31.175: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/49 but no object proxy exists (process:21390): GLib-GIO-WARNING **: 07:51:31.175: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/28 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.670) 0:01:05.541 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.362) 0:01:05.904 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.179) 0:01:06.083 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.352) 0:01:06.435 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.218) 0:01:06.654 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.287) 0:01:06.941 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003486", "end": "2024-12-21 07:51:33.398844", "rc": 0, "start": "2024-12-21 07:51:33.395358" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.618) 0:01:07.559 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.076) 0:01:07.636 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.089) 0:01:07.725 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.306) 0:01:08.032 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.194) 0:01:08.226 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.246) 0:01:08.473 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.209) 0:01:08.682 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.132) 0:01:08.815 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.122) 0:01:08.937 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:35 -0500 (0:00:01.036) 0:01:09.973 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:37 -0500 (0:00:01.412) 0:01:11.386 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.128) 0:01:11.515 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.177) 0:01:11.692 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.084) 0:01:11.777 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.072) 0:01:11.850 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.075) 0:01:11.925 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.080) 0:01:12.006 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.090) 0:01:12.097 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.185) 0:01:12.283 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.177) 0:01:12.461 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.111) 0:01:12.572 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.128) 0:01:12.701 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.556) 0:01:13.258 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.101) 0:01:13.359 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.074) 0:01:13.433 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.090) 0:01:13.524 ***** 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, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.995) 0:01:14.519 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.139) 0:01:14.659 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.152) 0:01:14.811 ***** 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, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.226) 0:01:15.038 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.129) 0:01:15.167 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.477) 0:01:15.644 ***** 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, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.125) 0:01:15.770 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.263) 0:01:16.033 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.184) 0:01:16.218 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.135) 0:01:16.353 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.204) 0:01:16.558 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.188) 0:01:16.746 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:43 -0500 (0:00:01.032) 0:01:17.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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:45 -0500 (0:00:01.666) 0:01:19.446 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.088) 0:01:19.534 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.077) 0:01:19.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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.107) 0:01:19.719 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.123) 0:01:19.843 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.117) 0:01:19.961 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.147) 0:01:20.108 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.125) 0:01:20.234 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.199) 0:01:20.433 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.160) 0:01:20.594 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.136) 0:01:20.730 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.128) 0:01:20.859 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.756) 0:01:21.615 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.148) 0:01:21.764 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.132) 0:01:21.897 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.125) 0:01:22.023 ***** 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, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:49 -0500 (0:00:01.111) 0:01:23.134 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.118) 0:01:23.253 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.108) 0:01:23.361 ***** 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, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.106) 0:01:23.468 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.118) 0:01:23.586 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.611) 0:01:24.198 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.333) 0:01:24.531 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.349) 0:01:24.881 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.287) 0:01:25.169 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.111) 0:01:25.281 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.083) 0:01:25.364 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.132) 0:01:25.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 : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.981) 0:01:26.478 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:53 -0500 (0:00:01.332) 0:01:27.811 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.077) 0:01:27.889 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.074) 0:01:27.964 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.074) 0:01:28.038 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.074) 0:01:28.112 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.072) 0:01:28.185 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.081) 0:01:28.267 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.079) 0:01:28.346 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.169) 0:01:28.516 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.187) 0:01:28.704 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.099) 0:01:28.804 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:54 -0500 (0:00:00.084) 0:01:28.888 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.492) 0:01:29.381 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.082) 0:01:29.464 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.074) 0:01:29.538 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:55 -0500 (0:00:00.084) 0:01:29.623 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.858) 0:01:30.482 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.117) 0:01:30.600 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.115) 0:01:30.716 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.141) 0:01:30.858 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.117) 0:01:30.975 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.430) 0:01:31.406 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.233) 0:01:31.639 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.308) 0:01:31.948 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785500.2494323, "block_size": 4096, "blocks": 0, "ctime": 1734785500.2484322, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1734785500.2484322, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.502) 0:01:32.450 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.137) 0:01:32.588 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.148) 0:01:32.737 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.116) 0:01:32.854 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.653) 0:01:33.507 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.093) 0:01:33.601 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022290", "end": "2024-12-21 07:51:59.880158", "rc": 1, "start": "2024-12-21 07:51:59.857868" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.613) 0:01:34.215 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.169) 0:01:34.384 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.170) 0:01:34.554 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.168) 0:01:34.723 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.155) 0:01:34.879 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.101) 0:01:34.980 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.122) 0:01:35.103 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.183) 0:01:35.287 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.262) 0:01:35.549 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.399) 0:01:35.949 ***** 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.113930", "end": "2024-12-21 07:52:02.331638", "rc": 1, "start": "2024-12-21 07:52:02.217708" } STDOUT: Connection 'statebr' (b1b0b3b8-8f3a-40b4-86c6-b1392d4feddf) successfully deleted. STDERR: (process:22808): GLib-GIO-WARNING **: 07:52:02.304: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/27 but no object proxy exists (process:22808): GLib-GIO-WARNING **: 07:52:02.304: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/51 but no object proxy exists (process:22808): GLib-GIO-WARNING **: 07:52:02.304: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/29 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.561) 0:01:36.510 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.149) 0:01:36.660 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.093) 0:01:36.753 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.205) 0:01:36.958 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:52:03 -0500 (0:00:00.217) 0:01:37.175 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:52:03 -0500 (0:00:00.197) 0:01:37.373 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004636", "end": "2024-12-21 07:52:04.655334", "rc": 0, "start": "2024-12-21 07:52:03.650698" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:52:04 -0500 (0:00:01.555) 0:01:38.928 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.142) 0:01:39.070 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.133) 0:01:39.203 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.513) 0:01:39.717 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.305) 0:01:40.022 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.295) 0:01:40.318 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.194) 0:01:40.513 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.113) 0:01:40.626 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.131) 0:01:40.758 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.971) 0:01:41.729 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:09 -0500 (0:00:01.879) 0:01:43.609 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:09 -0500 (0:00:00.145) 0:01:43.755 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:09 -0500 (0:00:00.155) 0:01:43.911 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:09 -0500 (0:00:00.121) 0:01:44.032 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:10 -0500 (0:00:00.121) 0:01:44.154 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:10 -0500 (0:00:00.228) 0:01:44.384 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:10 -0500 (0:00:00.228) 0:01:44.613 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:10 -0500 (0:00:00.171) 0:01:44.784 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:10 -0500 (0:00:00.242) 0:01:45.026 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.122) 0:01:45.149 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.112) 0:01:45.262 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.136) 0:01:45.398 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.760) 0:01:46.159 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.129) 0:01:46.289 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.087) 0:01:46.377 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:12 -0500 (0:00:00.105) 0:01:46.482 ***** 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, 2c948706-8e8e-457c-9205-758e9a7c6a65 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:13 -0500 (0:00:01.015) 0:01:47.497 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.110) 0:01:47.608 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c948706-8e8e-457c-9205-758e9a7c6a65" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.190) 0:01:47.799 ***** 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, 2c948706-8e8e-457c-9205-758e9a7c6a65\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c948706-8e8e-457c-9205-758e9a7c6a65" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:13 -0500 (0:00:00.211) 0:01:48.010 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.224) 0:01:48.235 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.764) 0:01:48.999 ***** 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, 2c948706-8e8e-457c-9205-758e9a7c6a65\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c948706-8e8e-457c-9205-758e9a7c6a65" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.136) 0:01:49.136 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.393) 0:01:49.530 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.430) 0:01:49.960 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.203) 0:01:50.164 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.122) 0:01:50.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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.123) 0:01:50.410 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:17 -0500 (0:00:01.145) 0:01:51.556 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:19 -0500 (0:00:01.760) 0:01:53.317 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.127) 0:01:53.445 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.194) 0:01:53.639 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.232) 0:01:53.872 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.157) 0:01:54.030 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.127) 0:01:54.157 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.105) 0:01:54.263 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.082) 0:01:54.345 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.180) 0:01:54.526 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.213) 0:01:54.739 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.208) 0:01:54.948 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.133) 0:01:55.081 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.637) 0:01:55.719 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.127) 0:01:55.847 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.135) 0:01:55.982 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.084) 0:01:56.067 ***** 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, 2c948706-8e8e-457c-9205-758e9a7c6a65 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:23 -0500 (0:00:01.083) 0:01:57.151 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.177) 0:01:57.328 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2c948706-8e8e-457c-9205-758e9a7c6a65 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.259) 0:01:57.588 ***** 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, 2c948706-8e8e-457c-9205-758e9a7c6a65 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2c948706-8e8e-457c-9205-758e9a7c6a65 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.183) 0:01:57.771 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.247) 0:01:58.018 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.558) 0:01:58.576 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.202) 0:01:58.779 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.230) 0:01:59.010 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.203) 0:01:59.213 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.108) 0:01:59.322 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.155) 0:01:59.477 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:26 -0500 (0:00:01.072) 0:02:00.550 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:28 -0500 (0:00:01.747) 0:02:02.297 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.150) 0:02:02.447 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.186) 0:02:02.635 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.150) 0:02:02.785 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.143) 0:02:02.928 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.107) 0:02:03.036 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.105) 0:02:03.141 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.084) 0:02:03.226 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.183) 0:02:03.410 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.124) 0:02:03.535 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.093) 0:02:03.628 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.095) 0:02:03.724 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.794) 0:02:04.519 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.142) 0:02:04.662 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.180) 0:02:04.843 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.119) 0:02:04.963 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.846) 0:02:05.809 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.115) 0:02:05.924 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.095) 0:02:06.020 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.096) 0:02:06.117 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.073) 0:02:06.191 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.385) 0:02:06.577 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.178) 0:02:06.755 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.237) 0:02:06.992 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.198) 0:02:07.191 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.104) 0:02:07.296 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.074) 0:02:07.370 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.087) 0:02:07.458 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:34 -0500 (0:00:01.112) 0:02:08.571 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:35 -0500 (0:00:01.349) 0:02:09.921 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.124) 0:02:10.045 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.097) 0:02:10.143 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.093) 0:02:10.236 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.082) 0:02:10.319 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.075) 0:02:10.394 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.083) 0:02:10.478 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.083) 0:02:10.561 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.246) 0:02:10.807 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.126) 0:02:10.934 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:36 -0500 (0:00:00.113) 0:02:11.048 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:37 -0500 (0:00:00.199) 0:02:11.247 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.872) 0:02:12.120 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.247) 0:02:12.368 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.215) 0:02:12.584 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.226) 0:02:12.810 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:39 -0500 (0:00:01.041) 0:02:13.852 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.115) 0:02:13.968 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.167) 0:02:14.135 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.117) 0:02:14.253 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.161) 0:02:14.414 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.569) 0:02:14.984 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.294) 0:02:15.278 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.250) 0:02:15.529 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:52:41 -0500 (0:00:00.121) 0:02:15.651 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.434) 0:02:16.086 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.223) 0:02:16.309 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020994", "end": "2024-12-21 07:52:42.738494", "rc": 1, "start": "2024-12-21 07:52:42.717500" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.593) 0:02:16.902 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.097) 0:02:17.000 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:52:43 -0500 (0:00:00.124) 0:02:17.124 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:52:43 -0500 (0:00:00.178) 0:02:17.303 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:52:43 -0500 (0:00:00.247) 0:02:17.550 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:52:43 -0500 (0:00:00.155) 0:02:17.706 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:52:43 -0500 (0:00:00.153) 0:02:17.860 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:52:44 -0500 (0:00:00.232) 0:02:18.092 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:52:44 -0500 (0:00:00.213) 0:02:18.306 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:52:44 -0500 (0:00:00.457) 0:02:18.763 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:52:44 -0500 (0:00:00.100) 0:02:18.863 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:52:44 -0500 (0:00:00.145) 0:02:19.009 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:52:45 -0500 (0:00:00.238) 0:02:19.247 ***** 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.045103", "end": "2024-12-21 07:52:45.642265", "rc": 1, "start": "2024-12-21 07:52:45.597162" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 December 2024 07:52:45 -0500 (0:00:00.590) 0:02:19.838 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:52:45 -0500 (0:00:00.212) 0:02:20.050 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.097) 0:02:20.147 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.150) 0:02:20.298 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.169) 0:02:20.467 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:52:46 -0500 (0:00:00.217) 0:02:20.685 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003642", "end": "2024-12-21 07:52:47.003753", "rc": 0, "start": "2024-12-21 07:52:47.000111" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.630) 0:02:21.315 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.132) 0:02:21.447 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.133) 0:02:21.581 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.259) 0:02:21.841 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.280) 0:02:22.121 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.232) 0:02:22.353 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.154) 0:02:22.508 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.173) 0:02:22.681 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.238) 0:02:22.919 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:50 -0500 (0:00:01.200) 0:02:24.120 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:51 -0500 (0:00:01.578) 0:02:25.699 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.120) 0:02:25.819 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.154) 0:02:25.974 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.216) 0:02:26.190 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.117) 0:02:26.308 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.122) 0:02:26.431 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.142) 0:02:26.574 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.156) 0:02:26.730 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.197) 0:02:26.928 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.127) 0:02:27.056 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:53 -0500 (0:00:00.128) 0:02:27.184 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:53 -0500 (0:00:00.234) 0:02:27.419 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.687) 0:02:28.107 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.123) 0:02:28.230 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.136) 0:02:28.366 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:54 -0500 (0:00:00.149) 0:02:28.516 ***** 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, d254794c-c48e-44c2-9836-5f4baf5ca0c4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.947) 0:02:29.463 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.082) 0:02:29.545 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d254794c-c48e-44c2-9836-5f4baf5ca0c4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.090) 0:02:29.636 ***** 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, d254794c-c48e-44c2-9836-5f4baf5ca0c4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d254794c-c48e-44c2-9836-5f4baf5ca0c4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.118) 0:02:29.754 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:55 -0500 (0:00:00.187) 0:02:29.941 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.554) 0:02:30.496 ***** 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, d254794c-c48e-44c2-9836-5f4baf5ca0c4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d254794c-c48e-44c2-9836-5f4baf5ca0c4" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.120) 0:02:30.617 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.333) 0:02:30.951 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.447) 0:02:31.398 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.223) 0:02:31.622 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.122) 0:02:31.744 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.125) 0:02:31.870 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:58 -0500 (0:00:01.158) 0:02:33.028 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:00 -0500 (0:00:01.695) 0:02:34.724 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:00 -0500 (0:00:00.156) 0:02:34.880 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.224) 0:02:35.105 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.235) 0:02:35.341 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.257) 0:02:35.599 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.160) 0:02:35.759 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.219) 0:02:35.979 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.133) 0:02:36.112 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.217) 0:02:36.330 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.112) 0:02:36.443 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.100) 0:02:36.544 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.134) 0:02:36.678 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.692) 0:02:37.371 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.151) 0:02:37.522 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.128) 0:02:37.650 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.113) 0:02:37.764 ***** 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, d254794c-c48e-44c2-9836-5f4baf5ca0c4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:04 -0500 (0:00:01.139) 0:02:38.903 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.204) 0:02:39.108 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d254794c-c48e-44c2-9836-5f4baf5ca0c4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.218) 0:02:39.326 ***** 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, d254794c-c48e-44c2-9836-5f4baf5ca0c4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d254794c-c48e-44c2-9836-5f4baf5ca0c4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.139) 0:02:39.466 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.121) 0:02:39.588 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.689) 0:02:40.278 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.208) 0:02:40.487 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.170) 0:02:40.657 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.102) 0:02:40.760 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.096) 0:02:40.857 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.104) 0:02:40.961 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:07 -0500 (0:00:00.989) 0:02:41.950 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:09 -0500 (0:00:01.781) 0:02:43.732 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.080) 0:02:43.813 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.103) 0:02:43.916 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.118) 0:02:44.035 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.115) 0:02:44.150 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.154) 0:02:44.304 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.172) 0:02:44.477 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.161) 0:02:44.638 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.227) 0:02:44.865 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:10 -0500 (0:00:00.118) 0:02:44.983 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.093) 0:02:45.077 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.085) 0:02:45.163 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.552) 0:02:45.715 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.179) 0:02:45.895 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:11 -0500 (0:00:00.135) 0:02:46.030 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:12 -0500 (0:00:00.174) 0:02:46.205 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:13 -0500 (0:00:01.002) 0:02:47.208 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.116) 0:02:47.325 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.124) 0:02:47.449 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.158) 0:02:47.608 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.220) 0:02:47.829 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.586) 0:02:48.415 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.243) 0:02:48.659 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.276) 0:02:48.936 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.198) 0:02:49.134 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.142) 0:02:49.277 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.112) 0:02:49.390 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.115) 0:02:49.505 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:16 -0500 (0:00:01.028) 0:02:50.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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:17 -0500 (0:00:01.313) 0:02:51.848 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.078) 0:02:51.926 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.072) 0:02:51.999 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.073) 0:02:52.073 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.085) 0:02:52.159 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.112) 0:02:52.271 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.114) 0:02:52.386 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.105) 0:02:52.491 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.186) 0:02:52.678 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.075) 0:02:52.754 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.086) 0:02:52.841 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.079) 0:02:52.920 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.526) 0:02:53.447 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.124) 0:02:53.572 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.112) 0:02:53.684 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.113) 0:02:53.798 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:20 -0500 (0:00:01.123) 0:02:54.921 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.253) 0:02:55.175 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.185) 0:02:55.360 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.117) 0:02:55.478 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.157) 0:02:55.636 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:53:22 -0500 (0:00:00.515) 0:02:56.151 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:53:22 -0500 (0:00:00.261) 0:02:56.413 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:53:22 -0500 (0:00:00.327) 0:02:56.741 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:53:22 -0500 (0:00:00.136) 0:02:56.877 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:53:23 -0500 (0:00:00.619) 0:02:57.497 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:53:23 -0500 (0:00:00.121) 0:02:57.619 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020079", "end": "2024-12-21 07:53:23.840649", "rc": 1, "start": "2024-12-21 07:53:23.820570" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:53:23 -0500 (0:00:00.415) 0:02:58.034 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.219) 0:02:58.254 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.149) 0:02:58.403 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.225) 0:02:58.629 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.158) 0:02:58.787 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.201) 0:02:58.989 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 December 2024 07:53:25 -0500 (0:00:00.149) 0:02:59.139 ***** [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.660008", "end": "2024-12-21 07:53:26.045953", "rc": 0, "start": "2024-12-21 07:53:25.385945" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 December 2024 07:53:26 -0500 (0:00:01.189) 0:03:00.329 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 December 2024 07:53:26 -0500 (0:00:00.159) 0:03:00.488 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:53:26 -0500 (0:00:00.120) 0:03:00.609 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:53:26 -0500 (0:00:00.172) 0:03:00.781 ***** included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:53:26 -0500 (0:00:00.259) 0:03:01.041 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:53:27 -0500 (0:00:00.525) 0:03:01.567 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:53:27 -0500 (0:00:00.168) 0:03:01.735 ***** 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:53:27 -0500 (0:00:00.140) 0:03:01.876 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:53:28 -0500 (0:00:00.241) 0:03:02.118 ***** 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.044031", "end": "2024-12-21 07:53:28.398357", "rc": 1, "start": "2024-12-21 07:53:28.354326" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 December 2024 07:53:28 -0500 (0:00:00.480) 0:03:02.598 ***** 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.007269", "end": "2024-12-21 07:53:28.875937", "rc": 0, "start": "2024-12-21 07:53:28.868668" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:af:f3:02:f4:fd brd ff:ff:ff:ff:ff:ff inet 10.31.41.195/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 2780sec preferred_lft 2780sec inet6 fe80::caf:f3ff:fe02:f4fd/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.195 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 December 2024 07:53:29 -0500 (0:00:00.471) 0:03:03.069 ***** 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.382207", "end": "2024-12-21 07:53:29.942084", "rc": 0, "start": "2024-12-21 07:53:29.559877" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.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.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 1305 0 --:--:-- --:--:-- --:--:-- 1309 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2253 0 --:--:-- --:--:-- --:--:-- 2255 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 21 December 2024 07:53:30 -0500 (0:00:01.009) 0:03:04.079 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.00s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.88s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.72s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-5h1/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-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.56s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gather current interface info ------------------------------------------- 1.47s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.42s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26