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-Flp/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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Thursday 03 October 2024 23:56:02 -0400 (0:00:00.023) 0:00:00.023 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Thursday 03 October 2024 23:56:03 -0400 (0:00:01.168) 0:00:01.192 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 03 October 2024 23:56:03 -0400 (0:00:00.174) 0:00:01.367 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.457) 0:00:01.824 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.557) 0:00:02.381 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.071) 0:00:02.453 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.067) 0:00:02.520 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 03 October 2024 23:56:04 -0400 (0:00:00.116) 0:00:02.637 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 03 October 2024 23:56:05 -0400 (0:00:00.506) 0:00:03.144 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 03 October 2024 23:56:06 -0400 (0:00:01.010) 0:00:04.154 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.164500", "end": "2024-10-03 23:56:06.919915", "rc": 0, "start": "2024-10-03 23:56:06.755415" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 03 October 2024 23:56:06 -0400 (0:00:00.508) 0:00:04.663 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.037) 0:00:04.700 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.042) 0:00:04.743 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 03 October 2024 23:56:07 -0400 (0:00:00.092) 0:00:04.835 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.908) 0:00:05.743 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.039) 0:00:05.783 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.090) 0:00:05.874 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.038) 0:00:05.912 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.115) 0:00:06.028 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.061) 0:00:06.089 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.072) 0:00:06.162 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003230", "end": "2024-10-03 23:56:08.788272", "rc": 0, "start": "2024-10-03 23:56:08.785042" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.396) 0:00:06.558 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:08 -0400 (0:00:00.077) 0:00:06.635 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:09 -0400 (0:00:00.050) 0:00:06.685 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:56:09 -0400 (0:00:00.086) 0:00:06.772 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006728", "end": "2024-10-03 23:56:09.384309", "rc": 1, "start": "2024-10-03 23:56:09.377581" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:09 -0400 (0:00:00.363) 0:00:07.135 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:09 -0400 (0:00:00.063) 0:00:07.199 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:09 -0400 (0:00:00.405) 0:00:07.605 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:56:10 -0400 (0:00:00.089) 0:00:07.694 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:56:10 -0400 (0:00:00.136) 0:00:07.830 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:10 -0400 (0:00:00.424) 0:00:08.255 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:10 -0400 (0:00:00.143) 0:00:08.399 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:10 -0400 (0:00:00.053) 0:00:08.453 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:10 -0400 (0:00:00.049) 0:00:08.502 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:10 -0400 (0:00:00.036) 0:00:08.539 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:12 -0400 (0:00:01.474) 0:00:10.013 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:14 -0400 (0:00:02.214) 0:00:12.227 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:14 -0400 (0:00:00.113) 0:00:12.341 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:14 -0400 (0:00:00.132) 0:00:12.473 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:14 -0400 (0:00:00.145) 0:00:12.619 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:15 -0400 (0:00:00.140) 0:00:12.759 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:15 -0400 (0:00:00.128) 0:00:12.888 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:15 -0400 (0:00:00.236) 0:00:13.124 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:15 -0400 (0:00:00.218) 0:00:13.343 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:16 -0400 (0:00:00.341) 0:00:13.684 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:16 -0400 (0:00:00.209) 0:00:13.894 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:16 -0400 (0:00:00.157) 0:00:14.051 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:16 -0400 (0:00:00.141) 0:00:14.192 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:17 -0400 (0:00:01.302) 0:00:15.495 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:17 -0400 (0:00:00.147) 0:00:15.643 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:18 -0400 (0:00:00.121) 0:00:15.764 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:18 -0400 (0:00:00.130) 0:00:15.894 ****** changed: [managed-node2] => { "_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, c054033e-59be-464b-9485-1b4978a6e457 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:19 -0400 (0:00:01.442) 0:00:17.337 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:19 -0400 (0:00:00.232) 0:00:17.570 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c054033e-59be-464b-9485-1b4978a6e457" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.122) 0:00:17.692 ****** ok: [managed-node2] => { "__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, c054033e-59be-464b-9485-1b4978a6e457\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c054033e-59be-464b-9485-1b4978a6e457" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.228) 0:00:17.920 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:20 -0400 (0:00:00.132) 0:00:18.052 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.651) 0:00:18.704 ****** ok: [managed-node2] => { "__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, c054033e-59be-464b-9485-1b4978a6e457\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c054033e-59be-464b-9485-1b4978a6e457" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.095) 0:00:18.799 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.191) 0:00:18.990 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.186) 0:00:19.177 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:56:21 -0400 (0:00:00.122) 0:00:19.299 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014179.4880092, "block_size": 4096, "blocks": 8, "ctime": 1728014179.420009, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014179.420009, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.512) 0:00:19.812 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.135) 0:00:19.948 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022848", "end": "2024-10-03 23:56:22.598022", "rc": 0, "start": "2024-10-03 23:56:22.575174" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.462) 0:00:20.410 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.122) 0:00:20.533 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:56:22 -0400 (0:00:00.110) 0:00:20.643 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.099) 0:00:20.743 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.171) 0:00:20.914 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.096) 0:00:21.011 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.071) 0:00:21.082 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.100) 0:00:21.183 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.109) 0:00:21.293 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:56:23 -0400 (0:00:00.226) 0:00:21.520 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.248) 0:00:21.768 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014179.428009, "block_size": 4096, "blocks": 0, "ctime": 1728014179.422009, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1728014179.422009, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.337) 0:00:22.106 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.091) 0:00:22.197 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.081) 0:00:22.279 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:56:24 -0400 (0:00:00.125) 0:00:22.405 ****** fatal: [managed-node2]: 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.074416", "end": "2024-10-03 23:56:25.133490", "rc": 1, "start": "2024-10-03 23:56:25.059074" } STDOUT: Connection 'statebr' (c054033e-59be-464b-9485-1b4978a6e457) successfully deleted. STDERR: (process:15034): GLib-GIO-WARNING **: 23:56:25.107: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/23 but no object proxy exists (process:15034): GLib-GIO-WARNING **: 23:56:25.109: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/41 but no object proxy exists (process:15034): GLib-GIO-WARNING **: 23:56:25.109: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/27 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.563) 0:00:22.968 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.207) 0:00:23.175 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.224) 0:00:23.400 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:25 -0400 (0:00:00.207) 0:00:23.607 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.238) 0:00:23.846 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.282) 0:00:24.128 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003214", "end": "2024-10-03 23:56:26.744250", "rc": 0, "start": "2024-10-03 23:56:26.741036" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.433) 0:00:24.562 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:26 -0400 (0:00:00.115) 0:00:24.677 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:27 -0400 (0:00:00.110) 0:00:24.787 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 03 October 2024 23:56:27 -0400 (0:00:00.213) 0:00:25.001 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006484", "end": "2024-10-03 23:56:27.599089", "rc": 1, "start": "2024-10-03 23:56:27.592605" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:27 -0400 (0:00:00.395) 0:00:25.396 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:28 -0400 (0:00:00.346) 0:00:25.743 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:28 -0400 (0:00:00.534) 0:00:26.277 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:56:28 -0400 (0:00:00.117) 0:00:26.394 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.288) 0:00:26.682 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.159) 0:00:26.842 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.235) 0:00:27.077 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.186) 0:00:27.264 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.103) 0:00:27.367 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:29 -0400 (0:00:00.122) 0:00:27.490 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:30 -0400 (0:00:00.927) 0:00:28.417 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:32 -0400 (0:00:01.511) 0:00:29.929 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.112) 0:00:30.041 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.092) 0:00:30.133 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.091) 0:00:30.225 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.072) 0:00:30.297 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.069) 0:00:30.366 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.075) 0:00:30.441 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:32 -0400 (0:00:00.084) 0:00:30.526 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.157) 0:00:30.683 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.082) 0:00:30.766 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.070) 0:00:30.836 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.106) 0:00:30.943 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.479) 0:00:31.422 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.106) 0:00:31.529 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:33 -0400 (0:00:00.086) 0:00:31.616 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:34 -0400 (0:00:00.079) 0:00:31.695 ****** changed: [managed-node2] => { "_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, 625e2e84-c8b3-4236-a793-1c9cbeaec6b8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:34 -0400 (0:00:00.875) 0:00:32.571 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:34 -0400 (0:00:00.091) 0:00:32.663 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 625e2e84-c8b3-4236-a793-1c9cbeaec6b8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.113) 0:00:32.777 ****** ok: [managed-node2] => { "__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, 625e2e84-c8b3-4236-a793-1c9cbeaec6b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 625e2e84-c8b3-4236-a793-1c9cbeaec6b8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.171) 0:00:32.949 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.121) 0:00:33.071 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.399) 0:00:33.470 ****** ok: [managed-node2] => { "__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, 625e2e84-c8b3-4236-a793-1c9cbeaec6b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 625e2e84-c8b3-4236-a793-1c9cbeaec6b8" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:56:35 -0400 (0:00:00.112) 0:00:33.583 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.265) 0:00:33.849 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.274) 0:00:34.123 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:56:36 -0400 (0:00:00.465) 0:00:34.588 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.099) 0:00:34.687 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.135) 0:00:34.822 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.102) 0:00:34.924 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014194.6680913, "block_size": 4096, "blocks": 8, "ctime": 1728014194.6680913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014194.6680913, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.416) 0:00:35.341 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:56:37 -0400 (0:00:00.183) 0:00:35.524 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021389", "end": "2024-10-03 23:56:38.205800", "rc": 0, "start": "2024-10-03 23:56:38.184411" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.586) 0:00:36.111 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.141) 0:00:36.252 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.150) 0:00:36.403 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:56:38 -0400 (0:00:00.131) 0:00:36.534 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.217) 0:00:36.752 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.212) 0:00:36.965 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.128) 0:00:37.093 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.126) 0:00:37.220 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.118) 0:00:37.338 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.136) 0:00:37.475 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:56:39 -0400 (0:00:00.125) 0:00:37.601 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:56:40 -0400 (0:00:00.242) 0:00:37.843 ****** fatal: [managed-node2]: 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.047306", "end": "2024-10-03 23:56:40.631719", "rc": 1, "start": "2024-10-03 23:56:40.584413" } STDOUT: Connection 'statebr' (625e2e84-c8b3-4236-a793-1c9cbeaec6b8) 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 03 October 2024 23:56:40 -0400 (0:00:00.683) 0:00:38.527 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:56:41 -0400 (0:00:00.197) 0:00:38.724 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:56:41 -0400 (0:00:00.118) 0:00:38.842 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:56:41 -0400 (0:00:00.321) 0:00:39.164 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:56:41 -0400 (0:00:00.207) 0:00:39.371 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:56:41 -0400 (0:00:00.195) 0:00:39.567 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003114", "end": "2024-10-03 23:56:42.207526", "rc": 0, "start": "2024-10-03 23:56:42.204412" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:56:42 -0400 (0:00:00.573) 0:00:40.141 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:56:42 -0400 (0:00:00.141) 0:00:40.283 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:56:42 -0400 (0:00:00.109) 0:00:40.392 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:56:42 -0400 (0:00:00.175) 0:00:40.568 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.205) 0:00:40.773 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.166) 0:00:40.940 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.110) 0:00:41.050 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.107) 0:00:41.157 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:43 -0400 (0:00:00.115) 0:00:41.273 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:44 -0400 (0:00:01.011) 0:00:42.284 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:45 -0400 (0:00:01.390) 0:00:43.675 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.144) 0:00:43.820 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.191) 0:00:44.011 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.254) 0:00:44.265 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.113) 0:00:44.379 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.121) 0:00:44.500 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:46 -0400 (0:00:00.127) 0:00:44.628 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.113) 0:00:44.741 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.280) 0:00:45.022 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.117) 0:00:45.140 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.229) 0:00:45.370 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:47 -0400 (0:00:00.134) 0:00:45.505 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:48 -0400 (0:00:00.706) 0:00:46.211 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:48 -0400 (0:00:00.252) 0:00:46.464 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:48 -0400 (0:00:00.174) 0:00:46.639 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:49 -0400 (0:00:00.130) 0:00:46.769 ****** changed: [managed-node2] => { "_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, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:49 -0400 (0:00:00.841) 0:00:47.610 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:50 -0400 (0:00:00.106) 0:00:47.717 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:50 -0400 (0:00:00.113) 0:00:47.830 ****** ok: [managed-node2] => { "__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, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:50 -0400 (0:00:00.133) 0:00:47.964 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:50 -0400 (0:00:00.127) 0:00:48.092 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:56:50 -0400 (0:00:00.404) 0:00:48.497 ****** ok: [managed-node2] => { "__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, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:56:50 -0400 (0:00:00.116) 0:00:48.613 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.194) 0:00:48.808 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.229) 0:00:49.037 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.260) 0:00:49.298 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.139) 0:00:49.438 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:56:51 -0400 (0:00:00.135) 0:00:49.574 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:56:52 -0400 (0:00:00.208) 0:00:49.783 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:56:53 -0400 (0:00:01.005) 0:00:50.788 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:56:54 -0400 (0:00:01.393) 0:00:52.182 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.120) 0:00:52.303 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.139) 0:00:52.442 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.108) 0:00:52.551 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:56:54 -0400 (0:00:00.105) 0:00:52.657 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.144) 0:00:52.802 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.108) 0:00:52.910 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.134) 0:00:53.045 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.185) 0:00:53.231 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.117) 0:00:53.349 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.123) 0:00:53.472 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:56:55 -0400 (0:00:00.119) 0:00:53.592 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.554) 0:00:54.146 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.153) 0:00:54.300 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:56:56 -0400 (0:00:00.254) 0:00:54.555 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.169) 0:00:54.724 ****** ok: [managed-node2] => { "_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, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:56:57 -0400 (0:00:00.929) 0:00:55.654 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.244) 0:00:55.898 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.150) 0:00:56.049 ****** ok: [managed-node2] => { "__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, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.122) 0:00:56.171 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:56:58 -0400 (0:00:00.128) 0:00:56.300 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.572) 0:00:56.873 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.416) 0:00:57.289 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:56:59 -0400 (0:00:00.189) 0:00:57.479 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014209.7631729, "block_size": 4096, "blocks": 0, "ctime": 1728014209.758173, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1728014209.758173, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.499) 0:00:57.978 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.183) 0:00:58.162 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.175) 0:00:58.337 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:57:00 -0400 (0:00:00.077) 0:00:58.414 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014209.7571728, "block_size": 4096, "blocks": 8, "ctime": 1728014209.756173, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728014209.756173, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.573) 0:00:58.988 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.117) 0:00:59.105 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022220", "end": "2024-10-03 23:57:01.798220", "rc": 0, "start": "2024-10-03 23:57:01.776000" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:57:01 -0400 (0:00:00.526) 0:00:59.632 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:57:02 -0400 (0:00:00.134) 0:00:59.767 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:02 -0400 (0:00:00.122) 0:00:59.890 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:02 -0400 (0:00:00.127) 0:01:00.017 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:02 -0400 (0:00:00.114) 0:01:00.132 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 03 October 2024 23:57:02 -0400 (0:00:00.169) 0:01:00.301 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 03 October 2024 23:57:02 -0400 (0:00:00.272) 0:01:00.574 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.226) 0:01:00.801 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.153) 0:01:00.954 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.117) 0:01:01.071 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.118) 0:01:01.190 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:03 -0400 (0:00:00.228) 0:01:01.418 ****** fatal: [managed-node2]: 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.080904", "end": "2024-10-03 23:57:04.178470", "rc": 1, "start": "2024-10-03 23:57:04.097566" } STDOUT: Connection 'statebr' (5e2bda96-5f4c-44d9-97b1-b6fbe9ca182d) 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.581) 0:01:02.000 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.228) 0:01:02.228 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.110) 0:01:02.338 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:04 -0400 (0:00:00.278) 0:01:02.617 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.350) 0:01:02.967 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.208) 0:01:03.175 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003500", "end": "2024-10-03 23:57:05.813140", "rc": 0, "start": "2024-10-03 23:57:05.809640" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:05 -0400 (0:00:00.466) 0:01:03.642 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:06 -0400 (0:00:00.182) 0:01:03.824 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:06 -0400 (0:00:00.113) 0:01:03.938 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:57:06 -0400 (0:00:00.206) 0:01:04.145 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:06 -0400 (0:00:00.226) 0:01:04.371 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:06 -0400 (0:00:00.304) 0:01:04.676 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.165) 0:01:04.841 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.104) 0:01:04.946 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:07 -0400 (0:00:00.093) 0:01:05.039 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:08 -0400 (0:00:00.997) 0:01:06.037 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:10 -0400 (0:00:01.911) 0:01:07.948 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:10 -0400 (0:00:00.158) 0:01:08.107 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:10 -0400 (0:00:00.170) 0:01:08.278 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:10 -0400 (0:00:00.124) 0:01:08.403 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:10 -0400 (0:00:00.104) 0:01:08.507 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:10 -0400 (0:00:00.122) 0:01:08.630 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:11 -0400 (0:00:00.108) 0:01:08.739 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:11 -0400 (0:00:00.101) 0:01:08.840 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:11 -0400 (0:00:00.186) 0:01:09.026 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:11 -0400 (0:00:00.143) 0:01:09.170 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:11 -0400 (0:00:00.122) 0:01:09.292 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:11 -0400 (0:00:00.138) 0:01:09.430 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.602) 0:01:10.032 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.135) 0:01:10.168 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.181) 0:01:10.349 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:12 -0400 (0:00:00.138) 0:01:10.488 ****** changed: [managed-node2] => { "_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, b2555e38-883e-465d-9b1f-e06432782c97 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:14 -0400 (0:00:01.271) 0:01:11.759 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.143) 0:01:11.903 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2555e38-883e-465d-9b1f-e06432782c97" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.113) 0:01:12.017 ****** ok: [managed-node2] => { "__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, b2555e38-883e-465d-9b1f-e06432782c97\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2555e38-883e-465d-9b1f-e06432782c97" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.122) 0:01:12.140 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.115) 0:01:12.256 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:57:14 -0400 (0:00:00.373) 0:01:12.629 ****** ok: [managed-node2] => { "__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, b2555e38-883e-465d-9b1f-e06432782c97\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2555e38-883e-465d-9b1f-e06432782c97" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.080) 0:01:12.710 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.205) 0:01:12.916 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.244) 0:01:13.160 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.130) 0:01:13.291 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.096) 0:01:13.387 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:15 -0400 (0:00:00.071) 0:01:13.458 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:16 -0400 (0:00:01.001) 0:01:14.460 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:18 -0400 (0:00:01.344) 0:01:15.805 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.152) 0:01:15.958 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.108) 0:01:16.066 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.104) 0:01:16.171 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.068) 0:01:16.239 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.087) 0:01:16.327 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.130) 0:01:16.458 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:18 -0400 (0:00:00.123) 0:01:16.581 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.158) 0:01:16.739 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.116) 0:01:16.856 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.169) 0:01:17.025 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:19 -0400 (0:00:00.144) 0:01:17.170 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.639) 0:01:17.809 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.126) 0:01:17.935 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.123) 0:01:18.059 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:20 -0400 (0:00:00.165) 0:01:18.224 ****** ok: [managed-node2] => { "_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, b2555e38-883e-465d-9b1f-e06432782c97 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.835) 0:01:19.060 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.206) 0:01:19.267 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b2555e38-883e-465d-9b1f-e06432782c97 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.196) 0:01:19.463 ****** ok: [managed-node2] => { "__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, b2555e38-883e-465d-9b1f-e06432782c97 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b2555e38-883e-465d-9b1f-e06432782c97 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:21 -0400 (0:00:00.138) 0:01:19.602 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.112) 0:01:19.715 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.376) 0:01:20.092 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.221) 0:01:20.313 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:22 -0400 (0:00:00.258) 0:01:20.572 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.315) 0:01:20.887 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.196) 0:01:21.083 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.150) 0:01:21.234 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:23 -0400 (0:00:00.104) 0:01:21.338 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:24 -0400 (0:00:00.970) 0:01:22.309 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:26 -0400 (0:00:01.558) 0:01:23.867 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.138) 0:01:24.005 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.113) 0:01:24.118 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.182) 0:01:24.300 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:26 -0400 (0:00:00.199) 0:01:24.500 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.224) 0:01:24.724 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.249) 0:01:24.974 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.248) 0:01:25.222 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.179) 0:01:25.402 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.095) 0:01:25.497 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:27 -0400 (0:00:00.107) 0:01:25.605 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.137) 0:01:25.742 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.686) 0:01:26.429 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:28 -0400 (0:00:00.219) 0:01:26.649 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.217) 0:01:26.867 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:29 -0400 (0:00:00.242) 0:01:27.109 ****** changed: [managed-node2] => { "_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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.809) 0:01:27.919 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.072) 0:01:27.991 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.074) 0:01:28.066 ****** ok: [managed-node2] => { "__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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.109) 0:01:28.176 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.115) 0:01:28.291 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:57:30 -0400 (0:00:00.337) 0:01:28.629 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.207) 0:01:28.836 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.129) 0:01:28.966 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728014233.6443026, "block_size": 4096, "blocks": 0, "ctime": 1728014233.6393025, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17765, "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": 1728014233.6393025, "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.370) 0:01:29.337 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.117) 0:01:29.454 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:57:31 -0400 (0:00:00.200) 0:01:29.655 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.119) 0:01:29.774 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.440) 0:01:30.214 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:57:32 -0400 (0:00:00.115) 0:01:30.330 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021862", "end": "2024-10-03 23:57:32.968675", "rc": 1, "start": "2024-10-03 23:57:32.946813" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.452) 0:01:30.782 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.117) 0:01:30.900 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.122) 0:01:31.023 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.118) 0:01:31.141 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.094) 0:01:31.236 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.096) 0:01:31.332 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.138) 0:01:31.470 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:57:33 -0400 (0:00:00.086) 0:01:31.557 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.120) 0:01:31.678 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.187) 0:01:31.865 ****** fatal: [managed-node2]: 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.085644", "end": "2024-10-03 23:57:34.532029", "rc": 1, "start": "2024-10-03 23:57:34.446385" } STDOUT: Connection 'statebr' (b2555e38-883e-465d-9b1f-e06432782c97) successfully deleted. STDERR: (process:18269): GLib-GIO-WARNING **: 23:57:34.501: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:18269): GLib-GIO-WARNING **: 23:57:34.504: 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.462) 0:01:32.327 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.154) 0:01:32.482 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:57:34 -0400 (0:00:00.076) 0:01:32.558 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.196) 0:01:32.754 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.197) 0:01:32.952 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.214) 0:01:33.166 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003418", "end": "2024-10-03 23:57:35.744652", "rc": 0, "start": "2024-10-03 23:57:35.741234" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.383) 0:01:33.549 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:57:35 -0400 (0:00:00.119) 0:01:33.669 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.148) 0:01:33.818 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.502) 0:01:34.320 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:36 -0400 (0:00:00.237) 0:01:34.557 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.230) 0:01:34.788 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.158) 0:01:34.947 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.129) 0:01:35.077 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:37 -0400 (0:00:00.117) 0:01:35.195 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:38 -0400 (0:00:00.933) 0:01:36.129 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:39 -0400 (0:00:01.527) 0:01:37.657 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.121) 0:01:37.778 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.166) 0:01:37.945 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.140) 0:01:38.085 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.109) 0:01:38.194 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.129) 0:01:38.324 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.161) 0:01:38.486 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:40 -0400 (0:00:00.143) 0:01:38.629 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.205) 0:01:38.835 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.194) 0:01:39.029 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.157) 0:01:39.187 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:41 -0400 (0:00:00.181) 0:01:39.368 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.609) 0:01:39.978 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.125) 0:01:40.104 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.123) 0:01:40.227 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:42 -0400 (0:00:00.107) 0:01:40.334 ****** changed: [managed-node2] => { "_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, daa4f6a6-4786-4553-85bd-aabb45697352 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:43 -0400 (0:00:01.050) 0:01:41.385 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.318) 0:01:41.703 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, daa4f6a6-4786-4553-85bd-aabb45697352" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.183) 0:01:41.887 ****** ok: [managed-node2] => { "__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, daa4f6a6-4786-4553-85bd-aabb45697352\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, daa4f6a6-4786-4553-85bd-aabb45697352" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.192) 0:01:42.079 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.108) 0:01:42.188 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:57:44 -0400 (0:00:00.401) 0:01:42.590 ****** ok: [managed-node2] => { "__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, daa4f6a6-4786-4553-85bd-aabb45697352\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, daa4f6a6-4786-4553-85bd-aabb45697352" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.133) 0:01:42.723 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.219) 0:01:42.943 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.219) 0:01:43.163 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.159) 0:01:43.322 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.141) 0:01:43.464 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:45 -0400 (0:00:00.162) 0:01:43.626 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:46 -0400 (0:00:00.924) 0:01:44.551 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:48 -0400 (0:00:01.453) 0:01:46.005 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.119) 0:01:46.124 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.111) 0:01:46.236 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.112) 0:01:46.348 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:48 -0400 (0:00:00.176) 0:01:46.525 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.218) 0:01:46.743 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.186) 0:01:46.929 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.157) 0:01:47.087 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.215) 0:01:47.303 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.113) 0:01:47.416 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:49 -0400 (0:00:00.130) 0:01:47.547 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.140) 0:01:47.687 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.714) 0:01:48.402 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:50 -0400 (0:00:00.230) 0:01:48.632 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.070) 0:01:48.703 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.069) 0:01:48.773 ****** ok: [managed-node2] => { "_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, daa4f6a6-4786-4553-85bd-aabb45697352 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:57:51 -0400 (0:00:00.847) 0:01:49.620 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.110) 0:01:49.730 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, daa4f6a6-4786-4553-85bd-aabb45697352 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.109) 0:01:49.840 ****** ok: [managed-node2] => { "__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, daa4f6a6-4786-4553-85bd-aabb45697352 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, daa4f6a6-4786-4553-85bd-aabb45697352 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.097) 0:01:49.937 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:57:52 -0400 (0:00:00.106) 0:01:50.044 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.794) 0:01:50.839 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.218) 0:01:51.058 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.217) 0:01:51.275 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.174) 0:01:51.450 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.120) 0:01:51.570 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:57:53 -0400 (0:00:00.106) 0:01:51.677 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:57:55 -0400 (0:00:01.291) 0:01:52.968 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:57:56 -0400 (0:00:01.549) 0:01:54.518 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.177) 0:01:54.695 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.174) 0:01:54.870 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.109) 0:01:54.979 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.112) 0:01:55.091 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.142) 0:01:55.234 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.122) 0:01:55.357 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.121) 0:01:55.478 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:57:57 -0400 (0:00:00.177) 0:01:55.656 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.070) 0:01:55.726 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.074) 0:01:55.801 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.111) 0:01:55.912 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.611) 0:01:56.524 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:57:58 -0400 (0:00:00.126) 0:01:56.651 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.173) 0:01:56.824 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:57:59 -0400 (0:00:00.127) 0:01:56.951 ****** changed: [managed-node2] => { "_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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.904) 0:01:57.856 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.180) 0:01:58.037 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.144) 0:01:58.181 ****** ok: [managed-node2] => { "__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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.121) 0:01:58.303 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:00 -0400 (0:00:00.156) 0:01:58.459 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.434) 0:01:58.894 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.151) 0:01:59.046 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.192) 0:01:59.239 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:01 -0400 (0:00:00.180) 0:01:59.420 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:02 -0400 (0:00:00.390) 0:01:59.810 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:02 -0400 (0:00:00.144) 0:01:59.954 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:02 -0400 (0:00:00.113) 0:02:00.068 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:03 -0400 (0:00:00.964) 0:02:01.033 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:04 -0400 (0:00:01.325) 0:02:02.358 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.115) 0:02:02.474 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:04 -0400 (0:00:00.156) 0:02:02.630 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.136) 0:02:02.767 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.138) 0:02:02.906 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.148) 0:02:03.054 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.214) 0:02:03.269 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.182) 0:02:03.452 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:05 -0400 (0:00:00.215) 0:02:03.668 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.131) 0:02:03.799 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.124) 0:02:03.923 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:06 -0400 (0:00:00.135) 0:02:04.058 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.861) 0:02:04.920 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.140) 0:02:05.060 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.114) 0:02:05.174 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:07 -0400 (0:00:00.113) 0:02:05.288 ****** changed: [managed-node2] => { "_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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:08 -0400 (0:00:01.145) 0:02:06.434 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:08 -0400 (0:00:00.185) 0:02:06.619 ****** ok: [managed-node2] => { "__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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.174) 0:02:06.794 ****** ok: [managed-node2] => { "__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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.125) 0:02:06.919 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.104) 0:02:07.023 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.326) 0:02:07.350 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.192) 0:02:07.543 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:58:09 -0400 (0:00:00.126) 0:02:07.669 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.090) 0:02:07.759 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.353) 0:02:08.113 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.094) 0:02:08.207 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021753", "end": "2024-10-03 23:58:10.784532", "rc": 1, "start": "2024-10-03 23:58:10.762779" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.357) 0:02:08.564 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:58:10 -0400 (0:00:00.070) 0:02:08.634 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.071) 0:02:08.706 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.078) 0:02:08.785 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.108) 0:02:08.893 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.103) 0:02:08.996 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.115) 0:02:09.112 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.220) 0:02:09.333 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:58:11 -0400 (0:00:00.191) 0:02:09.525 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.437) 0:02:09.963 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.119) 0:02:10.082 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.111) 0:02:10.194 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:58:12 -0400 (0:00:00.216) 0:02:10.411 ****** fatal: [managed-node2]: 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.046516", "end": "2024-10-03 23:58:13.055330", "rc": 1, "start": "2024-10-03 23:58:13.008814" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.436) 0:02:10.847 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.145) 0:02:10.993 ****** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.073) 0:02:11.066 ****** ok: [managed-node2] => (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-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.179) 0:02:11.246 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.159) 0:02:11.406 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 03 October 2024 23:58:13 -0400 (0:00:00.128) 0:02:11.534 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003133", "end": "2024-10-03 23:58:14.157840", "rc": 0, "start": "2024-10-03 23:58:14.154707" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.412) 0:02:11.946 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.072) 0:02:12.019 ****** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.123) 0:02:12.143 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.143) 0:02:12.286 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:14 -0400 (0:00:00.194) 0:02:12.481 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.219) 0:02:12.700 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.151) 0:02:12.852 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.097) 0:02:12.950 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:15 -0400 (0:00:00.087) 0:02:13.038 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:16 -0400 (0:00:00.975) 0:02:14.013 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:17 -0400 (0:00:01.608) 0:02:15.622 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.113) 0:02:15.736 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.101) 0:02:15.837 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.107) 0:02:15.944 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.079) 0:02:16.024 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.079) 0:02:16.103 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.122) 0:02:16.226 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.122) 0:02:16.349 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:18 -0400 (0:00:00.206) 0:02:16.556 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.129) 0:02:16.685 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.118) 0:02:16.804 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:19 -0400 (0:00:00.157) 0:02:16.962 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.750) 0:02:17.712 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.143) 0:02:17.856 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.115) 0:02:17.972 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:20 -0400 (0:00:00.193) 0:02:18.165 ****** changed: [managed-node2] => { "_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, a5b75b85-ab4f-411e-8b86-0771eba10764 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.978) 0:02:19.143 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.288) 0:02:19.432 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a5b75b85-ab4f-411e-8b86-0771eba10764" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.099) 0:02:19.532 ****** ok: [managed-node2] => { "__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, a5b75b85-ab4f-411e-8b86-0771eba10764\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a5b75b85-ab4f-411e-8b86-0771eba10764" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:21 -0400 (0:00:00.092) 0:02:19.624 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.123) 0:02:19.747 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.487) 0:02:20.235 ****** ok: [managed-node2] => { "__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, a5b75b85-ab4f-411e-8b86-0771eba10764\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a5b75b85-ab4f-411e-8b86-0771eba10764" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 03 October 2024 23:58:22 -0400 (0:00:00.118) 0:02:20.354 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.356) 0:02:20.711 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.394) 0:02:21.105 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.178) 0:02:21.284 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.155) 0:02:21.439 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:23 -0400 (0:00:00.112) 0:02:21.551 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:24 -0400 (0:00:01.099) 0:02:22.651 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:26 -0400 (0:00:01.352) 0:02:24.003 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:26 -0400 (0:00:00.119) 0:02:24.123 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:26 -0400 (0:00:00.111) 0:02:24.234 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:26 -0400 (0:00:00.171) 0:02:24.406 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:26 -0400 (0:00:00.161) 0:02:24.567 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.134) 0:02:24.702 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.188) 0:02:24.890 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.234) 0:02:25.124 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.264) 0:02:25.388 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:27 -0400 (0:00:00.181) 0:02:25.570 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.253) 0:02:25.824 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:28 -0400 (0:00:00.126) 0:02:25.950 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.945) 0:02:26.896 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.158) 0:02:27.055 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.121) 0:02:27.176 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:29 -0400 (0:00:00.124) 0:02:27.301 ****** ok: [managed-node2] => { "_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, a5b75b85-ab4f-411e-8b86-0771eba10764 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.752) 0:02:28.054 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.130) 0:02:28.184 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a5b75b85-ab4f-411e-8b86-0771eba10764 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.127) 0:02:28.312 ****** ok: [managed-node2] => { "__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, a5b75b85-ab4f-411e-8b86-0771eba10764 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a5b75b85-ab4f-411e-8b86-0771eba10764 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.141) 0:02:28.453 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:30 -0400 (0:00:00.149) 0:02:28.603 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.433) 0:02:29.036 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.270) 0:02:29.306 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:31 -0400 (0:00:00.368) 0:02:29.675 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.252) 0:02:29.927 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.108) 0:02:30.036 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:32 -0400 (0:00:00.118) 0:02:30.154 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:33 -0400 (0:00:01.144) 0:02:31.298 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:34 -0400 (0:00:01.330) 0:02:32.628 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.230) 0:02:32.859 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.154) 0:02:33.013 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.220) 0:02:33.234 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.229) 0:02:33.463 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:35 -0400 (0:00:00.123) 0:02:33.587 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.142) 0:02:33.730 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.121) 0:02:33.851 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.163) 0:02:34.014 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.116) 0:02:34.131 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.266) 0:02:34.397 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:36 -0400 (0:00:00.119) 0:02:34.517 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.609) 0:02:35.127 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.124) 0:02:35.251 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.102) 0:02:35.353 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:37 -0400 (0:00:00.133) 0:02:35.487 ****** changed: [managed-node2] => { "_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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:38 -0400 (0:00:01.039) 0:02:36.526 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:38 -0400 (0:00:00.141) 0:02:36.668 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.124) 0:02:36.792 ****** ok: [managed-node2] => { "__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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.122) 0:02:36.914 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.125) 0:02:37.040 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 03 October 2024 23:58:39 -0400 (0:00:00.436) 0:02:37.477 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.213) 0:02:37.690 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.189) 0:02:37.880 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.280) 0:02:38.160 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.108) 0:02:38.268 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.072) 0:02:38.341 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 03 October 2024 23:58:40 -0400 (0:00:00.080) 0:02:38.421 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 03 October 2024 23:58:41 -0400 (0:00:00.985) 0:02:39.406 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 03 October 2024 23:58:43 -0400 (0:00:01.653) 0:02:41.060 ****** ok: [managed-node2] => {} 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.101) 0:02:41.162 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.126) 0:02:41.288 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.110) 0:02:41.399 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.094) 0:02:41.493 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 03 October 2024 23:58:43 -0400 (0:00:00.171) 0:02:41.665 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.108) 0:02:41.773 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.125) 0:02:41.899 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.208) 0:02:42.107 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.142) 0:02:42.250 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.114) 0:02:42.364 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 03 October 2024 23:58:44 -0400 (0:00:00.116) 0:02:42.480 ****** ok: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.666) 0:02:43.147 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.182) 0:02:43.329 ****** skipping: [managed-node2] => { "censored": "the output 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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.115) 0:02:43.445 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 03 October 2024 23:58:45 -0400 (0:00:00.119) 0:02:43.564 ****** ok: [managed-node2] => { "_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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.895) 0:02:44.459 ****** skipping: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 03 October 2024 23:58:46 -0400 (0:00:00.147) 0:02:44.607 ****** ok: [managed-node2] => { "__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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.126) 0:02:44.733 ****** ok: [managed-node2] => { "__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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.131) 0:02:44.865 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.127) 0:02:44.992 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 03 October 2024 23:58:47 -0400 (0:00:00.408) 0:02:45.401 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.281) 0:02:45.682 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.205) 0:02:45.887 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.090) 0:02:45.978 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.342) 0:02:46.320 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 03 October 2024 23:58:48 -0400 (0:00:00.097) 0:02:46.418 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021139", "end": "2024-10-03 23:58:49.029965", "rc": 1, "start": "2024-10-03 23:58:49.008826" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.433) 0:02:46.852 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.128) 0:02:46.980 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.118) 0:02:47.099 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.111) 0:02:47.211 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.111) 0:02:47.322 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.114) 0:02:47.437 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 03 October 2024 23:58:49 -0400 (0:00:00.118) 0:02:47.556 ****** [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-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.599975", "end": "2024-10-03 23:58:50.759673", "rc": 0, "start": "2024-10-03 23:58:50.159698" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 03 October 2024 23:58:50 -0400 (0:00:01.078) 0:02:48.635 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.137) 0:02:48.772 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.179) 0:02:48.952 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.372) 0:02:49.325 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 03 October 2024 23:58:51 -0400 (0:00:00.143) 0:02:49.469 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 03 October 2024 23:58:52 -0400 (0:00:00.347) 0:02:49.817 ****** ok: [managed-node2] => { "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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 03 October 2024 23:58:52 -0400 (0:00:00.090) 0:02:49.907 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 03 October 2024 23:58:52 -0400 (0:00:00.091) 0:02:49.999 ****** included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 03 October 2024 23:58:52 -0400 (0:00:00.238) 0:02:50.237 ****** fatal: [managed-node2]: 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.046411", "end": "2024-10-03 23:58:52.872985", "rc": 1, "start": "2024-10-03 23:58:52.826574" } 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-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 03 October 2024 23:58:52 -0400 (0:00:00.403) 0:02:50.641 ****** ok: [managed-node2] => { "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.006890", "end": "2024-10-03 23:58:53.201820", "rc": 0, "start": "2024-10-03 23:58:53.194930" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:26:bd:bd:7c:05 brd ff:ff:ff:ff:ff:ff inet 10.31.11.176/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3150sec preferred_lft 3150sec inet6 fe80::1026:bdff:febd:7c05/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether e2:50:92:3b:ea:8e brd ff:ff:ff:ff:ff:ff 26: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 76:2d:96:d1:bf:54 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::742d:96ff:fed1:bf54/64 scope link valid_lft forever preferred_lft forever 37: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 4e:55:27:fc:9f:02 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.176 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 03 October 2024 23:58:53 -0400 (0:00:00.375) 0:02:51.017 ****** ok: [managed-node2] => { "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.410803", "end": "2024-10-03 23:58:54.051250", "rc": 0, "start": "2024-10-03 23:58:53.640447" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1420 0 --:--:-- --:--:-- --:--:-- 1418 % 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 1649 0 --:--:-- --:--:-- --:--:-- 1653 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Thursday 03 October 2024 23:58:54 -0400 (0:00:00.765) 0:02:51.783 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.21s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-Flp/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-Flp/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-Flp/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-Flp/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-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.29s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.17s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 1.14s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.10s /tmp/collections-Flp/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21