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-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Thursday 15 August 2024 07:02:47 -0400 (0:00:00.035) 0:00:00.035 ******* ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Thursday 15 August 2024 07:02:48 -0400 (0:00:00.998) 0:00:01.034 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 15 August 2024 07:02:48 -0400 (0:00:00.117) 0:00:01.151 ******* ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 15 August 2024 07:02:49 -0400 (0:00:00.394) 0:00:01.546 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 15 August 2024 07:02:49 -0400 (0:00:00.457) 0:00:02.003 ******* ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 15 August 2024 07:02:49 -0400 (0:00:00.109) 0:00:02.112 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 15 August 2024 07:02:49 -0400 (0:00:00.104) 0:00:02.217 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 15 August 2024 07:02:49 -0400 (0:00:00.206) 0:00:02.423 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 15 August 2024 07:02:50 -0400 (0:00:00.455) 0:00:02.878 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 15 August 2024 07:02:51 -0400 (0:00:00.675) 0:00:03.554 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.153984", "end": "2024-08-15 07:02:51.509103", "rc": 0, "start": "2024-08-15 07:02:51.355119" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 15 August 2024 07:02:51 -0400 (0:00:00.491) 0:00:04.045 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 15 August 2024 07:02:51 -0400 (0:00:00.036) 0:00:04.082 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Thursday 15 August 2024 07:02:51 -0400 (0:00:00.035) 0:00:04.118 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 15 August 2024 07:02:51 -0400 (0:00:00.069) 0:00:04.187 ******* ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 15 August 2024 07:02:52 -0400 (0:00:00.750) 0:00:04.937 ******* ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 15 August 2024 07:02:52 -0400 (0:00:00.038) 0:00:04.976 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:02:52 -0400 (0:00:00.068) 0:00:05.044 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:02:52 -0400 (0:00:00.043) 0:00:05.087 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:02:52 -0400 (0:00:00.107) 0:00:05.194 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:02:52 -0400 (0:00:00.054) 0:00:05.249 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:02:52 -0400 (0:00:00.051) 0:00:05.300 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002976", "end": "2024-08-15 07:02:53.161345", "rc": 0, "start": "2024-08-15 07:02:53.158369" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:02:53 -0400 (0:00:00.440) 0:00:05.741 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:02:53 -0400 (0:00:00.084) 0:00:05.826 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:02:53 -0400 (0:00:00.079) 0:00:05.905 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 15 August 2024 07:02:53 -0400 (0:00:00.138) 0:00:06.043 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007022", "end": "2024-08-15 07:02:53.941783", "rc": 1, "start": "2024-08-15 07:02:53.934761" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:02:54 -0400 (0:00:00.432) 0:00:06.476 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:02:54 -0400 (0:00:00.056) 0:00:06.533 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:02:54 -0400 (0:00:00.342) 0:00:06.875 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:02:54 -0400 (0:00:00.047) 0:00:06.923 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:02:54 -0400 (0:00:00.070) 0:00:06.994 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:02:54 -0400 (0:00:00.327) 0:00:07.321 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:02:55 -0400 (0:00:00.188) 0:00:07.510 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:02:55 -0400 (0:00:00.052) 0:00:07.562 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:02:55 -0400 (0:00:00.035) 0:00:07.597 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:02:55 -0400 (0:00:00.034) 0:00:07.632 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:02:56 -0400 (0:00:01.317) 0:00:08.949 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:02:58 -0400 (0:00:02.264) 0:00:11.213 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:02:58 -0400 (0:00:00.165) 0:00:11.378 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:02:59 -0400 (0:00:00.196) 0:00:11.575 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:02:59 -0400 (0:00:00.152) 0:00:11.727 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:02:59 -0400 (0:00:00.117) 0:00:11.844 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:02:59 -0400 (0:00:00.110) 0:00:11.955 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:02:59 -0400 (0:00:00.141) 0:00:12.096 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:02:59 -0400 (0:00:00.112) 0:00:12.208 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:02:59 -0400 (0:00:00.227) 0:00:12.436 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:03:00 -0400 (0:00:00.198) 0:00:12.634 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:03:00 -0400 (0:00:00.170) 0:00:12.805 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:03:00 -0400 (0:00:00.132) 0:00:12.938 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:03:01 -0400 (0:00:01.080) 0:00:14.018 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:03:01 -0400 (0:00:00.131) 0:00:14.150 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:03:01 -0400 (0:00:00.129) 0:00:14.280 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:03:01 -0400 (0:00:00.103) 0:00:14.384 ******* 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, 2f83b627-ddb6-4a7a-92cb-86316cec507f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:03:03 -0400 (0:00:01.457) 0:00:15.841 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:03:03 -0400 (0:00:00.118) 0:00:15.959 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f83b627-ddb6-4a7a-92cb-86316cec507f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:03:03 -0400 (0:00:00.106) 0:00:16.066 ******* 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, 2f83b627-ddb6-4a7a-92cb-86316cec507f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f83b627-ddb6-4a7a-92cb-86316cec507f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:03:03 -0400 (0:00:00.110) 0:00:16.177 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:03:03 -0400 (0:00:00.112) 0:00:16.289 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:03:04 -0400 (0:00:00.828) 0:00:17.117 ******* 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, 2f83b627-ddb6-4a7a-92cb-86316cec507f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f83b627-ddb6-4a7a-92cb-86316cec507f" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:03:04 -0400 (0:00:00.115) 0:00:17.232 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 07:03:04 -0400 (0:00:00.206) 0:00:17.439 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:03:05 -0400 (0:00:00.208) 0:00:17.648 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:03:05 -0400 (0:00:00.092) 0:00:17.740 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723719783.1633136, "block_size": 4096, "blocks": 8, "ctime": 1723719783.0933135, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723719783.0933135, "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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:03:05 -0400 (0:00:00.369) 0:00:18.110 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:03:05 -0400 (0:00:00.101) 0:00:18.212 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022279", "end": "2024-08-15 07:03:06.037828", "rc": 0, "start": "2024-08-15 07:03:06.015549" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:03:06 -0400 (0:00:00.389) 0:00:18.602 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:03:06 -0400 (0:00:00.074) 0:00:18.676 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:03:06 -0400 (0:00:00.085) 0:00:18.762 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:03:06 -0400 (0:00:00.170) 0:00:18.932 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:03:06 -0400 (0:00:00.165) 0:00:19.098 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 07:03:06 -0400 (0:00:00.125) 0:00:19.224 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 07:03:06 -0400 (0:00:00.123) 0:00:19.347 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 07:03:07 -0400 (0:00:00.164) 0:00:19.512 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:03:07 -0400 (0:00:00.153) 0:00:19.665 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 07:03:07 -0400 (0:00:00.232) 0:00:19.898 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:03:07 -0400 (0:00:00.213) 0:00:20.111 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723719783.0993135, "block_size": 4096, "blocks": 0, "ctime": 1723719783.0953135, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17727, "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": 1723719783.0953135, "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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 07:03:08 -0400 (0:00:00.575) 0:00:20.687 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:03:08 -0400 (0:00:00.120) 0:00:20.808 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:03:08 -0400 (0:00:00.112) 0:00:20.920 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:03:08 -0400 (0:00:00.282) 0:00:21.203 ******* 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.085291", "end": "2024-08-15 07:03:09.127879", "rc": 1, "start": "2024-08-15 07:03:09.042588" } STDOUT: Connection 'statebr' (2f83b627-ddb6-4a7a-92cb-86316cec507f) successfully deleted. STDERR: (process:11080): GLib-GIO-WARNING **: 07:03:09.108: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 but no object proxy exists (process:11080): GLib-GIO-WARNING **: 07:03:09.108: 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 15 August 2024 07:03:09 -0400 (0:00:00.548) 0:00:21.751 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:03:09 -0400 (0:00:00.324) 0:00:22.075 ******* ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:03:09 -0400 (0:00:00.116) 0:00:22.192 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:03:09 -0400 (0:00:00.189) 0:00:22.381 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:03:10 -0400 (0:00:00.153) 0:00:22.535 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:03:10 -0400 (0:00:00.192) 0:00:22.727 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004234", "end": "2024-08-15 07:03:11.514944", "rc": 0, "start": "2024-08-15 07:03:10.510710" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:03:11 -0400 (0:00:01.420) 0:00:24.148 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:03:11 -0400 (0:00:00.106) 0:00:24.254 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:03:11 -0400 (0:00:00.095) 0:00:24.349 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Thursday 15 August 2024 07:03:12 -0400 (0:00:00.185) 0:00:24.535 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006406", "end": "2024-08-15 07:03:12.355058", "rc": 1, "start": "2024-08-15 07:03:12.348652" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:03:12 -0400 (0:00:00.431) 0:00:24.966 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:03:12 -0400 (0:00:00.190) 0:00:25.157 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:03:13 -0400 (0:00:00.507) 0:00:25.665 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:03:13 -0400 (0:00:00.112) 0:00:25.777 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 15 August 2024 07:03:13 -0400 (0:00:00.235) 0:00:26.013 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:03:13 -0400 (0:00:00.220) 0:00:26.233 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:03:13 -0400 (0:00:00.173) 0:00:26.407 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:03:14 -0400 (0:00:00.085) 0:00:26.492 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:03:14 -0400 (0:00:00.096) 0:00:26.589 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:03:14 -0400 (0:00:00.111) 0:00:26.700 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:03:15 -0400 (0:00:00.900) 0:00:27.601 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:03:16 -0400 (0:00:01.835) 0:00:29.437 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:03:17 -0400 (0:00:00.201) 0:00:29.639 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:03:17 -0400 (0:00:00.208) 0:00:29.848 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:03:17 -0400 (0:00:00.120) 0:00:29.968 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:03:17 -0400 (0:00:00.146) 0:00:30.115 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:03:17 -0400 (0:00:00.128) 0:00:30.244 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:03:17 -0400 (0:00:00.107) 0:00:30.352 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:03:17 -0400 (0:00:00.112) 0:00:30.464 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:03:18 -0400 (0:00:00.192) 0:00:30.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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:03:18 -0400 (0:00:00.119) 0:00:30.776 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:03:18 -0400 (0:00:00.111) 0:00:30.887 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:03:18 -0400 (0:00:00.092) 0:00:30.980 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:03:19 -0400 (0:00:00.561) 0:00:31.541 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:03:19 -0400 (0:00:00.131) 0:00:31.672 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:03:19 -0400 (0:00:00.129) 0:00:31.802 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:03:19 -0400 (0:00:00.115) 0:00:31.917 ******* 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, d4c2fcc7-b5ad-443e-b3d8-e4cdff7e4c38 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:03:20 -0400 (0:00:01.089) 0:00:33.007 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:03:20 -0400 (0:00:00.107) 0:00:33.114 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4c2fcc7-b5ad-443e-b3d8-e4cdff7e4c38" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:03:20 -0400 (0:00:00.162) 0:00:33.277 ******* 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, d4c2fcc7-b5ad-443e-b3d8-e4cdff7e4c38\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4c2fcc7-b5ad-443e-b3d8-e4cdff7e4c38" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:03:20 -0400 (0:00:00.165) 0:00:33.442 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:03:21 -0400 (0:00:00.117) 0:00:33.560 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 15 August 2024 07:03:21 -0400 (0:00:00.403) 0:00:33.963 ******* 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, d4c2fcc7-b5ad-443e-b3d8-e4cdff7e4c38\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d4c2fcc7-b5ad-443e-b3d8-e4cdff7e4c38" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:03:21 -0400 (0:00:00.121) 0:00:34.085 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:03:21 -0400 (0:00:00.243) 0:00:34.329 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:03:22 -0400 (0:00:00.185) 0:00:34.514 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:03:22 -0400 (0:00:00.487) 0:00:35.001 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 07:03:22 -0400 (0:00:00.073) 0:00:35.075 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:03:22 -0400 (0:00:00.198) 0:00:35.274 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:03:22 -0400 (0:00:00.144) 0:00:35.418 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723719800.3463094, "block_size": 4096, "blocks": 8, "ctime": 1723719800.3453095, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723719800.3453095, "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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:03:23 -0400 (0:00:00.521) 0:00:35.959 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:03:23 -0400 (0:00:00.138) 0:00:36.097 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019665", "end": "2024-08-15 07:03:23.917920", "rc": 0, "start": "2024-08-15 07:03:23.898255" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:03:24 -0400 (0:00:00.471) 0:00:36.569 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:03:24 -0400 (0:00:00.151) 0:00:36.721 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:03:24 -0400 (0:00:00.131) 0:00:36.852 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:03:24 -0400 (0:00:00.103) 0:00:36.956 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:03:24 -0400 (0:00:00.090) 0:00:37.046 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 07:03:24 -0400 (0:00:00.115) 0:00:37.161 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 07:03:24 -0400 (0:00:00.123) 0:00:37.285 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 07:03:25 -0400 (0:00:00.189) 0:00:37.474 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:03:25 -0400 (0:00:00.129) 0:00:37.604 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:03:25 -0400 (0:00:00.116) 0:00:37.720 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:03:25 -0400 (0:00:00.118) 0:00:37.839 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:03:25 -0400 (0:00:00.242) 0:00:38.081 ******* 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.047779", "end": "2024-08-15 07:03:25.928040", "rc": 1, "start": "2024-08-15 07:03:25.880261" } STDOUT: Connection 'statebr' (d4c2fcc7-b5ad-443e-b3d8-e4cdff7e4c38) 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 15 August 2024 07:03:26 -0400 (0:00:00.428) 0:00:38.509 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:03:26 -0400 (0:00:00.320) 0:00:38.830 ******* ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:03:26 -0400 (0:00:00.127) 0:00:38.957 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:03:26 -0400 (0:00:00.206) 0:00:39.164 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:03:26 -0400 (0:00:00.199) 0:00:39.363 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:03:27 -0400 (0:00:00.249) 0:00:39.613 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002851", "end": "2024-08-15 07:03:27.499269", "rc": 0, "start": "2024-08-15 07:03:27.496418" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:03:27 -0400 (0:00:00.446) 0:00:40.059 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:03:27 -0400 (0:00:00.096) 0:00:40.156 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:03:27 -0400 (0:00:00.108) 0:00:40.264 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:03:27 -0400 (0:00:00.182) 0:00:40.447 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:03:28 -0400 (0:00:00.196) 0:00:40.643 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:03:28 -0400 (0:00:00.168) 0:00:40.812 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:03:28 -0400 (0:00:00.090) 0:00:40.902 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:03:28 -0400 (0:00:00.068) 0:00:40.971 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:03:28 -0400 (0:00:00.129) 0:00:41.100 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:03:29 -0400 (0:00:00.968) 0:00:42.069 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:03:31 -0400 (0:00:01.426) 0:00:43.496 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:03:31 -0400 (0:00:00.128) 0:00:43.624 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:03:31 -0400 (0:00:00.159) 0:00:43.783 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:03:31 -0400 (0:00:00.132) 0:00:43.916 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:03:31 -0400 (0:00:00.109) 0:00:44.025 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:03:31 -0400 (0:00:00.124) 0:00:44.149 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:03:31 -0400 (0:00:00.119) 0:00:44.269 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:03:31 -0400 (0:00:00.114) 0:00:44.384 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:03:32 -0400 (0:00:00.181) 0:00:44.565 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:03:32 -0400 (0:00:00.269) 0:00:44.835 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:03:32 -0400 (0:00:00.150) 0:00:44.986 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:03:32 -0400 (0:00:00.130) 0:00:45.117 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:03:33 -0400 (0:00:00.562) 0:00:45.679 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:03:33 -0400 (0:00:00.077) 0:00:45.757 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:03:33 -0400 (0:00:00.069) 0:00:45.826 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:03:33 -0400 (0:00:00.095) 0:00:45.922 ******* 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, 696e9ef6-32d9-45ff-8856-d62bb2692cbf TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:03:34 -0400 (0:00:00.945) 0:00:46.868 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:03:34 -0400 (0:00:00.141) 0:00:47.009 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 696e9ef6-32d9-45ff-8856-d62bb2692cbf" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:03:34 -0400 (0:00:00.232) 0:00:47.241 ******* 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, 696e9ef6-32d9-45ff-8856-d62bb2692cbf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 696e9ef6-32d9-45ff-8856-d62bb2692cbf" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:03:34 -0400 (0:00:00.194) 0:00:47.436 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:03:35 -0400 (0:00:00.130) 0:00:47.566 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:03:35 -0400 (0:00:00.397) 0:00:47.964 ******* 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, 696e9ef6-32d9-45ff-8856-d62bb2692cbf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 696e9ef6-32d9-45ff-8856-d62bb2692cbf" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:03:35 -0400 (0:00:00.151) 0:00:48.115 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 07:03:35 -0400 (0:00:00.209) 0:00:48.325 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:03:36 -0400 (0:00:00.218) 0:00:48.543 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:03:36 -0400 (0:00:00.196) 0:00:48.739 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:03:36 -0400 (0:00:00.120) 0:00:48.859 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:03:36 -0400 (0:00:00.073) 0:00:48.933 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:03:36 -0400 (0:00:00.077) 0:00:49.010 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:03:37 -0400 (0:00:00.938) 0:00:49.949 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:03:38 -0400 (0:00:01.463) 0:00:51.413 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:03:39 -0400 (0:00:00.114) 0:00:51.528 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:03:39 -0400 (0:00:00.144) 0:00:51.672 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:03:39 -0400 (0:00:00.124) 0:00:51.797 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:03:39 -0400 (0:00:00.202) 0:00:52.000 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:03:39 -0400 (0:00:00.123) 0:00:52.124 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:03:39 -0400 (0:00:00.110) 0:00:52.234 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:03:39 -0400 (0:00:00.129) 0:00:52.364 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:03:40 -0400 (0:00:00.215) 0:00:52.580 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:03:40 -0400 (0:00:00.224) 0:00:52.804 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:03:40 -0400 (0:00:00.203) 0:00:53.008 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:03:40 -0400 (0:00:00.159) 0:00:53.167 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:03:41 -0400 (0:00:00.605) 0:00:53.772 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:03:41 -0400 (0:00:00.125) 0:00:53.897 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:03:41 -0400 (0:00:00.092) 0:00:53.990 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:03:41 -0400 (0:00:00.084) 0:00:54.074 ******* 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, 696e9ef6-32d9-45ff-8856-d62bb2692cbf skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:03:42 -0400 (0:00:00.952) 0:00:55.027 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:03:42 -0400 (0:00:00.107) 0:00:55.134 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 696e9ef6-32d9-45ff-8856-d62bb2692cbf skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:03:42 -0400 (0:00:00.147) 0:00:55.282 ******* 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, 696e9ef6-32d9-45ff-8856-d62bb2692cbf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 696e9ef6-32d9-45ff-8856-d62bb2692cbf skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:03:42 -0400 (0:00:00.119) 0:00:55.401 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:03:43 -0400 (0:00:00.120) 0:00:55.521 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:03:43 -0400 (0:00:00.734) 0:00:56.256 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 07:03:43 -0400 (0:00:00.198) 0:00:56.455 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:03:44 -0400 (0:00:00.198) 0:00:56.653 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723719814.0703063, "block_size": 4096, "blocks": 0, "ctime": 1723719814.066306, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17727, "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": 1723719814.066306, "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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 07:03:44 -0400 (0:00:00.707) 0:00:57.361 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 07:03:45 -0400 (0:00:00.122) 0:00:57.484 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:03:45 -0400 (0:00:00.206) 0:00:57.690 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:03:45 -0400 (0:00:00.173) 0:00:57.864 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723719814.0653062, "block_size": 4096, "blocks": 8, "ctime": 1723719814.0643063, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723719814.0643063, "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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:03:45 -0400 (0:00:00.444) 0:00:58.308 ******* ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:03:45 -0400 (0:00:00.115) 0:00:58.424 ******* ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022561", "end": "2024-08-15 07:03:46.354839", "rc": 0, "start": "2024-08-15 07:03:46.332278" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:03:46 -0400 (0:00:00.544) 0:00:58.969 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:03:46 -0400 (0:00:00.130) 0:00:59.099 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:03:46 -0400 (0:00:00.141) 0:00:59.241 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:03:46 -0400 (0:00:00.162) 0:00:59.403 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:03:47 -0400 (0:00:00.157) 0:00:59.561 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 07:03:47 -0400 (0:00:00.187) 0:00:59.749 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 07:03:47 -0400 (0:00:00.143) 0:00:59.892 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 07:03:47 -0400 (0:00:00.129) 0:01:00.022 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:03:47 -0400 (0:00:00.111) 0:01:00.133 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:03:47 -0400 (0:00:00.082) 0:01:00.215 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:03:47 -0400 (0:00:00.088) 0:01:00.304 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:03:47 -0400 (0:00:00.131) 0:01:00.436 ******* 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.083157", "end": "2024-08-15 07:03:48.291971", "rc": 1, "start": "2024-08-15 07:03:48.208814" } STDOUT: Connection 'statebr' (696e9ef6-32d9-45ff-8856-d62bb2692cbf) successfully deleted. STDERR: (process:12887): GLib-GIO-WARNING **: 07:03:48.271: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 but no object proxy exists (process:12887): GLib-GIO-WARNING **: 07:03:48.271: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/39 but no object proxy exists (process:12887): GLib-GIO-WARNING **: 07:03:48.271: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/28 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 15 August 2024 07:03:48 -0400 (0:00:00.432) 0:01:00.868 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:03:48 -0400 (0:00:00.212) 0:01:01.081 ******* ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:03:48 -0400 (0:00:00.086) 0:01:01.167 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:03:48 -0400 (0:00:00.142) 0:01:01.310 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:03:48 -0400 (0:00:00.146) 0:01:01.457 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:03:49 -0400 (0:00:00.181) 0:01:01.638 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003242", "end": "2024-08-15 07:03:49.436407", "rc": 0, "start": "2024-08-15 07:03:49.433165" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:03:49 -0400 (0:00:00.602) 0:01:02.240 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:03:49 -0400 (0:00:00.222) 0:01:02.463 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:03:50 -0400 (0:00:00.129) 0:01:02.592 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:03:50 -0400 (0:00:00.357) 0:01:02.950 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:03:50 -0400 (0:00:00.365) 0:01:03.315 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:03:51 -0400 (0:00:00.241) 0:01:03.556 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:03:51 -0400 (0:00:00.151) 0:01:03.708 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:03:51 -0400 (0:00:00.178) 0:01:03.886 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:03:51 -0400 (0:00:00.118) 0:01:04.005 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:03:52 -0400 (0:00:01.046) 0:01:05.051 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:03:54 -0400 (0:00:01.639) 0:01:06.691 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:03:54 -0400 (0:00:00.114) 0:01:06.805 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:03:54 -0400 (0:00:00.184) 0:01:06.990 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:03:54 -0400 (0:00:00.153) 0:01:07.143 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:03:54 -0400 (0:00:00.123) 0:01:07.267 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:03:54 -0400 (0:00:00.116) 0:01:07.383 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:03:55 -0400 (0:00:00.168) 0:01:07.551 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:03:55 -0400 (0:00:00.122) 0:01:07.674 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:03:55 -0400 (0:00:00.210) 0:01:07.885 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:03:55 -0400 (0:00:00.157) 0:01:08.043 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:03:55 -0400 (0:00:00.232) 0:01:08.276 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:03:56 -0400 (0:00:00.207) 0:01:08.483 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:03:56 -0400 (0:00:00.583) 0:01:09.067 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:03:56 -0400 (0:00:00.105) 0:01:09.173 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:03:56 -0400 (0:00:00.110) 0:01:09.283 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:03:57 -0400 (0:00:00.225) 0:01:09.509 ******* 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, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:03:57 -0400 (0:00:00.825) 0:01:10.335 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:03:57 -0400 (0:00:00.109) 0:01:10.444 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:03:58 -0400 (0:00:00.112) 0:01:10.557 ******* 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, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:03:58 -0400 (0:00:00.116) 0:01:10.673 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:03:58 -0400 (0:00:00.136) 0:01:10.810 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:03:58 -0400 (0:00:00.485) 0:01:11.295 ******* 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, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 07:03:58 -0400 (0:00:00.163) 0:01:11.459 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:03:59 -0400 (0:00:00.312) 0:01:11.772 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:03:59 -0400 (0:00:00.331) 0:01:12.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 : Check if system is ostree] *********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:03:59 -0400 (0:00:00.165) 0:01:12.270 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:03:59 -0400 (0:00:00.122) 0:01:12.393 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:00 -0400 (0:00:00.107) 0:01:12.500 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:01 -0400 (0:00:01.222) 0:01:13.723 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:02 -0400 (0:00:01.296) 0:01:15.019 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.136) 0:01:15.155 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.111) 0:01:15.267 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:02 -0400 (0:00:00.127) 0:01:15.395 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.130) 0:01:15.526 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.172) 0:01:15.699 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.143) 0:01:15.842 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.256) 0:01:16.098 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:03 -0400 (0:00:00.332) 0:01:16.431 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.115) 0:01:16.546 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.111) 0:01:16.658 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.220) 0:01:16.879 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:04 -0400 (0:00:00.579) 0:01:17.458 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:05 -0400 (0:00:00.138) 0:01:17.597 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:05 -0400 (0:00:00.166) 0:01:17.763 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:05 -0400 (0:00:00.118) 0:01:17.881 ******* 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, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:06 -0400 (0:00:00.775) 0:01:18.657 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:06 -0400 (0:00:00.112) 0:01:18.769 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:06 -0400 (0:00:00.122) 0:01:18.891 ******* 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, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a3cfb8a-1942-4e00-8796-72a48ba7eb71 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:06 -0400 (0:00:00.161) 0:01:19.053 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:06 -0400 (0:00:00.158) 0:01:19.211 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:04:07 -0400 (0:00:00.419) 0:01:19.630 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 15 August 2024 07:04:07 -0400 (0:00:00.227) 0:01:19.858 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:07 -0400 (0:00:00.251) 0:01:20.110 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:07 -0400 (0:00:00.327) 0:01:20.437 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.161) 0:01:20.599 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.111) 0:01:20.711 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:08 -0400 (0:00:00.115) 0:01:20.826 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:09 -0400 (0:00:00.948) 0:01:21.775 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:10 -0400 (0:00:01.531) 0:01:23.307 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.179) 0:01:23.486 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.134) 0:01:23.621 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.134) 0:01:23.755 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.125) 0:01:23.880 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.110) 0:01:23.991 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.194) 0:01:24.186 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.130) 0:01:24.316 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:11 -0400 (0:00:00.138) 0:01:24.454 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.086) 0:01:24.541 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.090) 0:01:24.631 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.092) 0:01:24.724 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.533) 0:01:25.257 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.095) 0:01:25.352 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:12 -0400 (0:00:00.081) 0:01:25.434 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:13 -0400 (0:00:00.083) 0:01:25.517 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:13 -0400 (0:00:00.795) 0:01:26.313 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.202) 0:01:26.515 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.211) 0:01:26.726 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.205) 0:01:26.932 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:14 -0400 (0:00:00.148) 0:01:27.081 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:04:15 -0400 (0:00:00.428) 0:01:27.510 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 07:04:15 -0400 (0:00:00.336) 0:01:27.847 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:04:15 -0400 (0:00:00.325) 0:01:28.172 ******* ok: [managed_node2] => { "changed": false, "stat": { "atime": 1723719837.6773007, "block_size": 4096, "blocks": 0, "ctime": 1723719837.6733007, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17884, "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": 1723719837.6733007, "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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.488) 0:01:28.661 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.092) 0:01:28.754 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.184) 0:01:28.938 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.091) 0:01:29.030 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:04:16 -0400 (0:00:00.390) 0:01:29.420 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.108) 0:01:29.529 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021149", "end": "2024-08-15 07:04:17.450395", "rc": 1, "start": "2024-08-15 07:04:17.429246" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.527) 0:01:30.056 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.148) 0:01:30.205 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:04:17 -0400 (0:00:00.214) 0:01:30.419 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.156) 0:01:30.576 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.210) 0:01:30.786 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.169) 0:01:30.956 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.217) 0:01:31.173 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.128) 0:01:31.302 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:04:18 -0400 (0:00:00.135) 0:01:31.437 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:04:19 -0400 (0:00:00.241) 0:01:31.679 ******* 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.084424", "end": "2024-08-15 07:04:19.682173", "rc": 1, "start": "2024-08-15 07:04:19.597749" } STDOUT: Connection 'statebr' (4a3cfb8a-1942-4e00-8796-72a48ba7eb71) successfully deleted. STDERR: (process:14315): GLib-GIO-WARNING **: 07:04:19.654: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/22 but no object proxy exists (process:14315): GLib-GIO-WARNING **: 07:04:19.656: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/41 but no object proxy exists (process:14315): GLib-GIO-WARNING **: 07:04:19.656: 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 15 August 2024 07:04:19 -0400 (0:00:00.746) 0:01:32.425 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:04:20 -0400 (0:00:00.264) 0:01:32.690 ******* ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:04:20 -0400 (0:00:00.122) 0:01:32.813 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:04:20 -0400 (0:00:00.174) 0:01:32.987 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:04:20 -0400 (0:00:00.179) 0:01:33.166 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:04:20 -0400 (0:00:00.141) 0:01:33.308 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003995", "end": "2024-08-15 07:04:21.122722", "rc": 0, "start": "2024-08-15 07:04:21.118727" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:04:21 -0400 (0:00:00.477) 0:01:33.785 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:04:21 -0400 (0:00:00.121) 0:01:33.907 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:04:21 -0400 (0:00:00.171) 0:01:34.078 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:04:21 -0400 (0:00:00.252) 0:01:34.331 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:21 -0400 (0:00:00.127) 0:01:34.458 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.140) 0:01:34.599 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.089) 0:01:34.688 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.070) 0:01:34.758 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:22 -0400 (0:00:00.079) 0:01:34.838 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:23 -0400 (0:00:00.916) 0:01:35.755 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:24 -0400 (0:00:01.391) 0:01:37.146 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:24 -0400 (0:00:00.105) 0:01:37.251 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:24 -0400 (0:00:00.110) 0:01:37.362 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.115) 0:01:37.477 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.104) 0:01:37.581 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.094) 0:01:37.676 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.085) 0:01:37.762 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.076) 0:01:37.838 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.127) 0:01:37.966 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.071) 0:01:38.037 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.082) 0:01:38.120 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:25 -0400 (0:00:00.128) 0:01:38.249 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:26 -0400 (0:00:00.536) 0:01:38.785 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:26 -0400 (0:00:00.083) 0:01:38.869 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:26 -0400 (0:00:00.106) 0:01:38.975 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:26 -0400 (0:00:00.116) 0:01:39.092 ******* 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, a9ebc136-2d2c-4efe-a823-d248bc863f0b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.942) 0:01:40.034 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.082) 0:01:40.116 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9ebc136-2d2c-4efe-a823-d248bc863f0b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.075) 0:01:40.192 ******* 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, a9ebc136-2d2c-4efe-a823-d248bc863f0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9ebc136-2d2c-4efe-a823-d248bc863f0b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.075) 0:01:40.268 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:27 -0400 (0:00:00.079) 0:01:40.348 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.426) 0:01:40.774 ******* 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, a9ebc136-2d2c-4efe-a823-d248bc863f0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a9ebc136-2d2c-4efe-a823-d248bc863f0b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.229) 0:01:41.003 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.227) 0:01:41.231 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:28 -0400 (0:00:00.232) 0:01:41.463 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:29 -0400 (0:00:00.128) 0:01:41.591 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:29 -0400 (0:00:00.078) 0:01:41.670 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:29 -0400 (0:00:00.082) 0:01:41.753 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:30 -0400 (0:00:01.111) 0:01:42.864 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:32 -0400 (0:00:01.623) 0:01:44.488 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:32 -0400 (0:00:00.142) 0:01:44.630 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:32 -0400 (0:00:00.124) 0:01:44.754 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:32 -0400 (0:00:00.139) 0:01:44.894 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:32 -0400 (0:00:00.109) 0:01:45.003 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:32 -0400 (0:00:00.085) 0:01:45.089 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:32 -0400 (0:00:00.119) 0:01:45.208 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:32 -0400 (0:00:00.199) 0:01:45.408 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:33 -0400 (0:00:00.265) 0:01:45.673 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:33 -0400 (0:00:00.123) 0:01:45.796 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:33 -0400 (0:00:00.085) 0:01:45.882 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:33 -0400 (0:00:00.104) 0:01:45.986 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.785) 0:01:46.772 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.110) 0:01:46.883 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.173) 0:01:47.056 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:34 -0400 (0:00:00.148) 0:01:47.205 ******* 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, a9ebc136-2d2c-4efe-a823-d248bc863f0b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:35 -0400 (0:00:00.824) 0:01:48.029 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:35 -0400 (0:00:00.171) 0:01:48.201 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a9ebc136-2d2c-4efe-a823-d248bc863f0b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:35 -0400 (0:00:00.206) 0:01:48.407 ******* 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, a9ebc136-2d2c-4efe-a823-d248bc863f0b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a9ebc136-2d2c-4efe-a823-d248bc863f0b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:36 -0400 (0:00:00.195) 0:01:48.603 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:36 -0400 (0:00:00.229) 0:01:48.832 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Thursday 15 August 2024 07:04:36 -0400 (0:00:00.489) 0:01:49.322 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.194) 0:01:49.516 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.171) 0:01:49.688 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.107) 0:01:49.795 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.189) 0:01:49.984 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:37 -0400 (0:00:00.150) 0:01:50.135 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:38 -0400 (0:00:01.035) 0:01:51.171 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:40 -0400 (0:00:01.532) 0:01:52.703 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:40 -0400 (0:00:00.122) 0:01:52.825 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:40 -0400 (0:00:00.201) 0:01:53.027 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:40 -0400 (0:00:00.187) 0:01:53.215 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:40 -0400 (0:00:00.222) 0:01:53.437 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.132) 0:01:53.569 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.134) 0:01:53.704 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.120) 0:01:53.825 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.188) 0:01:54.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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.147) 0:01:54.161 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:41 -0400 (0:00:00.197) 0:01:54.359 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.140) 0:01:54.500 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.633) 0:01:55.133 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.097) 0:01:55.231 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.076) 0:01:55.307 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:42 -0400 (0:00:00.091) 0:01:55.398 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:43 -0400 (0:00:00.833) 0:01:56.232 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:43 -0400 (0:00:00.073) 0:01:56.305 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:43 -0400 (0:00:00.121) 0:01:56.427 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:44 -0400 (0:00:00.128) 0:01:56.555 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:44 -0400 (0:00:00.118) 0:01:56.673 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:04:44 -0400 (0:00:00.753) 0:01:57.426 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.347) 0:01:57.774 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.255) 0:01:58.029 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.227) 0:01:58.257 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:04:45 -0400 (0:00:00.148) 0:01:58.405 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.221) 0:01:58.626 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:04:46 -0400 (0:00:00.114) 0:01:58.741 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:04:47 -0400 (0:00:00.921) 0:01:59.663 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:04:48 -0400 (0:00:01.568) 0:02:01.231 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:04:48 -0400 (0:00:00.162) 0:02:01.394 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.115) 0:02:01.509 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.134) 0:02:01.644 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.119) 0:02:01.764 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.154) 0:02:01.919 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.151) 0:02:02.070 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:04:49 -0400 (0:00:00.213) 0:02:02.284 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:04:50 -0400 (0:00:00.439) 0:02:02.723 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:04:50 -0400 (0:00:00.139) 0:02:02.863 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:04:50 -0400 (0:00:00.160) 0:02:03.023 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:04:50 -0400 (0:00:00.152) 0:02:03.176 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:04:51 -0400 (0:00:00.575) 0:02:03.752 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:04:51 -0400 (0:00:00.077) 0:02:03.829 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:04:51 -0400 (0:00:00.072) 0:02:03.902 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:04:51 -0400 (0:00:00.095) 0:02:03.997 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.872) 0:02:04.870 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.073) 0:02:04.943 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.104) 0:02:05.047 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.094) 0:02:05.142 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:04:52 -0400 (0:00:00.105) 0:02:05.247 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:04:53 -0400 (0:00:00.572) 0:02:05.819 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 07:04:53 -0400 (0:00:00.338) 0:02:06.158 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:04:54 -0400 (0:00:00.496) 0:02:06.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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:04:54 -0400 (0:00:00.156) 0:02:06.811 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.735) 0:02:07.547 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.146) 0:02:07.693 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021000", "end": "2024-08-15 07:04:55.554318", "rc": 1, "start": "2024-08-15 07:04:55.533318" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.427) 0:02:08.121 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.075) 0:02:08.196 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.123) 0:02:08.320 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:04:55 -0400 (0:00:00.105) 0:02:08.425 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:04:56 -0400 (0:00:00.126) 0:02:08.552 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 07:04:56 -0400 (0:00:00.127) 0:02:08.679 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:04:56 -0400 (0:00:00.100) 0:02:08.779 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:04:56 -0400 (0:00:00.251) 0:02:09.031 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:04:56 -0400 (0:00:00.194) 0:02:09.225 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:04:57 -0400 (0:00:00.359) 0:02:09.585 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:04:57 -0400 (0:00:00.245) 0:02:09.830 ******* ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:04:57 -0400 (0:00:00.264) 0:02:10.095 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:04:57 -0400 (0:00:00.372) 0:02:10.468 ******* 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.042957", "end": "2024-08-15 07:04:58.393102", "rc": 1, "start": "2024-08-15 07:04:58.350145" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 15 August 2024 07:04:58 -0400 (0:00:00.611) 0:02:11.080 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.417) 0:02:11.498 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.192) 0:02:11.690 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.213) 0:02:11.904 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.232) 0:02:12.137 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 07:04:59 -0400 (0:00:00.194) 0:02:12.331 ******* ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003143", "end": "2024-08-15 07:05:00.253157", "rc": 0, "start": "2024-08-15 07:05:00.250014" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 07:05:00 -0400 (0:00:00.491) 0:02:12.822 ******* ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 07:05:00 -0400 (0:00:00.074) 0:02:12.897 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Thursday 15 August 2024 07:05:00 -0400 (0:00:00.101) 0:02:12.998 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Thursday 15 August 2024 07:05:00 -0400 (0:00:00.284) 0:02:13.283 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.210) 0:02:13.493 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.242) 0:02:13.736 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.165) 0:02:13.901 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.115) 0:02:14.017 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:01 -0400 (0:00:00.087) 0:02:14.104 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:02 -0400 (0:00:00.963) 0:02:15.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 : Print network provider] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:04 -0400 (0:00:01.439) 0:02:16.507 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.076) 0:02:16.584 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.074) 0:02:16.659 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.101) 0:02:16.760 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.121) 0:02:16.882 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.101) 0:02:16.983 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.100) 0:02:17.084 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.077) 0:02:17.161 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.173) 0:02:17.335 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:04 -0400 (0:00:00.112) 0:02:17.448 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:05 -0400 (0:00:00.107) 0:02:17.556 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:05 -0400 (0:00:00.101) 0:02:17.657 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:05 -0400 (0:00:00.539) 0:02:18.196 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:05 -0400 (0:00:00.126) 0:02:18.323 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:05 -0400 (0:00:00.103) 0:02:18.426 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.092) 0:02:18.519 ******* 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, 20dc34ec-629f-492b-88c9-2246da4fc257 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:06 -0400 (0:00:00.902) 0:02:19.422 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.118) 0:02:19.540 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dc34ec-629f-492b-88c9-2246da4fc257" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.112) 0:02:19.653 ******* 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, 20dc34ec-629f-492b-88c9-2246da4fc257\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dc34ec-629f-492b-88c9-2246da4fc257" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.115) 0:02:19.769 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.087) 0:02:19.856 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.336) 0:02:20.192 ******* 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, 20dc34ec-629f-492b-88c9-2246da4fc257\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20dc34ec-629f-492b-88c9-2246da4fc257" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.077) 0:02:20.269 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:07 -0400 (0:00:00.125) 0:02:20.395 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:08 -0400 (0:00:00.213) 0:02:20.608 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:08 -0400 (0:00:00.197) 0:02:20.806 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:08 -0400 (0:00:00.157) 0:02:20.963 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:08 -0400 (0:00:00.168) 0:02:21.132 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:09 -0400 (0:00:01.189) 0:02:22.321 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:11 -0400 (0:00:01.441) 0:02:23.763 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.134) 0:02:23.898 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.115) 0:02:24.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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.195) 0:02:24.209 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.142) 0:02:24.351 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:11 -0400 (0:00:00.107) 0:02:24.459 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.102) 0:02:24.561 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.087) 0:02:24.648 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.189) 0:02:24.838 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.132) 0:02:24.970 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.118) 0:02:25.089 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:12 -0400 (0:00:00.108) 0:02:25.198 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.676) 0:02:25.874 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.185) 0:02:26.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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.127) 0:02:26.188 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:13 -0400 (0:00:00.121) 0:02:26.309 ******* 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, 20dc34ec-629f-492b-88c9-2246da4fc257 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:14 -0400 (0:00:01.037) 0:02:27.346 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:15 -0400 (0:00:00.139) 0:02:27.485 ******* ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20dc34ec-629f-492b-88c9-2246da4fc257 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:15 -0400 (0:00:00.150) 0:02:27.636 ******* 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, 20dc34ec-629f-492b-88c9-2246da4fc257 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20dc34ec-629f-492b-88c9-2246da4fc257 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:15 -0400 (0:00:00.149) 0:02:27.786 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:15 -0400 (0:00:00.109) 0:02:27.895 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 07:05:15 -0400 (0:00:00.436) 0:02:28.332 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:16 -0400 (0:00:00.265) 0:02:28.597 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:16 -0400 (0:00:00.263) 0:02:28.861 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:16 -0400 (0:00:00.208) 0:02:29.069 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:16 -0400 (0:00:00.111) 0:02:29.181 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:16 -0400 (0:00:00.122) 0:02:29.303 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:18 -0400 (0:00:01.243) 0:02:30.547 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:19 -0400 (0:00:01.319) 0:02:31.866 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:19 -0400 (0:00:00.125) 0:02:31.992 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:19 -0400 (0:00:00.181) 0:02:32.173 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:19 -0400 (0:00:00.237) 0:02:32.411 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.212) 0:02:32.623 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.139) 0:02:32.763 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.121) 0:02:32.884 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.173) 0:02:33.057 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.183) 0:02:33.241 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:20 -0400 (0:00:00.142) 0:02:33.383 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:21 -0400 (0:00:00.303) 0:02:33.686 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:21 -0400 (0:00:00.197) 0:02:33.884 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:22 -0400 (0:00:00.639) 0:02:34.523 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:22 -0400 (0:00:00.140) 0:02:34.663 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:22 -0400 (0:00:00.084) 0:02:34.748 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:22 -0400 (0:00:00.072) 0:02:34.821 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:23 -0400 (0:00:00.900) 0:02:35.722 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:23 -0400 (0:00:00.096) 0:02:35.819 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:23 -0400 (0:00:00.096) 0:02:35.915 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:23 -0400 (0:00:00.082) 0:02:35.997 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:23 -0400 (0:00:00.070) 0:02:36.068 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.585) 0:02:36.654 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.219) 0:02:36.874 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 07:05:24 -0400 (0:00:00.316) 0:02:37.190 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.333) 0:02:37.523 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.153) 0:02:37.676 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.181) 0:02:37.858 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 07:05:25 -0400 (0:00:00.116) 0:02:37.975 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 07:05:26 -0400 (0:00:01.194) 0:02:39.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 : Print network provider] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 07:05:28 -0400 (0:00:01.500) 0:02:40.670 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 07:05:28 -0400 (0:00:00.122) 0:02:40.793 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 07:05:28 -0400 (0:00:00.129) 0:02:40.922 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 07:05:28 -0400 (0:00:00.116) 0:02:41.039 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 07:05:28 -0400 (0:00:00.104) 0:02:41.144 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 07:05:28 -0400 (0:00:00.118) 0:02:41.262 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 07:05:29 -0400 (0:00:00.249) 0:02:41.512 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 07:05:29 -0400 (0:00:00.250) 0:02:41.762 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 07:05:29 -0400 (0:00:00.203) 0:02:41.966 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 07:05:29 -0400 (0:00:00.251) 0:02:42.217 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 07:05:29 -0400 (0:00:00.206) 0:02:42.424 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.129) 0:02:42.553 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.641) 0:02:43.195 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.093) 0:02:43.289 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.075) 0:02:43.364 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 07:05:30 -0400 (0:00:00.070) 0:02:43.435 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.709) 0:02:44.145 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.070) 0:02:44.215 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.071) 0:02:44.286 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.084) 0:02:44.371 ******* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 07:05:31 -0400 (0:00:00.072) 0:02:44.443 ******* ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Thursday 15 August 2024 07:05:32 -0400 (0:00:00.542) 0:02:44.986 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Thursday 15 August 2024 07:05:32 -0400 (0:00:00.449) 0:02:45.435 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.356) 0:02:45.792 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 07:05:33 -0400 (0:00:00.168) 0:02:45.960 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 07:05:34 -0400 (0:00:00.733) 0:02:46.693 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 07:05:34 -0400 (0:00:00.107) 0:02:46.801 ******* fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022348", "end": "2024-08-15 07:05:34.715197", "rc": 1, "start": "2024-08-15 07:05:34.692849" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 07:05:34 -0400 (0:00:00.492) 0:02:47.293 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 07:05:34 -0400 (0:00:00.089) 0:02:47.383 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 07:05:35 -0400 (0:00:00.108) 0:02:47.491 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 07:05:35 -0400 (0:00:00.115) 0:02:47.606 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 07:05:35 -0400 (0:00:00.120) 0:02:47.726 ******* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Thursday 15 August 2024 07:05:35 -0400 (0:00:00.116) 0:02:47.843 ******* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 15 August 2024 07:05:35 -0400 (0:00:00.135) 0:02:47.978 ******* [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.592900", "end": "2024-08-15 07:05:36.482919", "rc": 0, "start": "2024-08-15 07:05:35.890019" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 15 August 2024 07:05:36 -0400 (0:00:01.157) 0:02:49.136 ******* ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 15 August 2024 07:05:36 -0400 (0:00:00.281) 0:02:49.417 ******* ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.135) 0:02:49.553 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.203) 0:02:49.756 ******* included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.131) 0:02:49.888 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Thursday 15 August 2024 07:05:37 -0400 (0:00:00.491) 0:02:50.379 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Thursday 15 August 2024 07:05:38 -0400 (0:00:00.123) 0:02:50.503 ******* 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Thursday 15 August 2024 07:05:38 -0400 (0:00:00.136) 0:02:50.640 ******* included: /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 15 August 2024 07:05:38 -0400 (0:00:00.281) 0:02:50.921 ******* 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.045131", "end": "2024-08-15 07:05:38.772594", "rc": 1, "start": "2024-08-15 07:05:38.727463" } 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 15 August 2024 07:05:38 -0400 (0:00:00.416) 0:02:51.338 ******* 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.007030", "end": "2024-08-15 07:05:39.138094", "rc": 0, "start": "2024-08-15 07:05:39.131064" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:18:b2:80:15:c1 brd ff:ff:ff:ff:ff:ff inet 10.31.42.139/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3236sec preferred_lft 3236sec inet6 fe80::c18:b2ff:fe80:15c1/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 3e:3c:b6:56:24:a3 brd ff:ff:ff:ff:ff:ff 19: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 42:56:b1:10:29:39 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 32: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 42:b7:35:7b:9b:eb brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.139 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 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-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 15 August 2024 07:05:39 -0400 (0:00:00.414) 0:02:51.752 ******* 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.389264", "end": "2024-08-15 07:05:40.072562", "rc": 0, "start": "2024-08-15 07:05:39.683298" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2620:52:3:1:dead:beef:cafe:fed6 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 2284 0 --:--:-- --:--:-- --:--:-- 2276 % 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 1235 0 --:--:-- --:--:-- --:--:-- 1238 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 15 August 2024 07:05:40 -0400 (0:00:00.838) 0:02:52.591 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.26s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-6jK/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-6jK/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-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.42s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.32s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.24s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.22s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.19s /tmp/collections-6jK/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21