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_initscripts.yml ***************************************** 2 plays in /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Wednesday 22 January 2025 22:20:34 -0500 (0:00:00.030) 0:00:00.030 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Wednesday 22 January 2025 22:20:35 -0500 (0:00:01.153) 0:00:01.184 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 22 January 2025 22:20:35 -0500 (0:00:00.273) 0:00:01.457 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 22 January 2025 22:20:36 -0500 (0:00:00.712) 0:00:02.169 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 22 January 2025 22:20:37 -0500 (0:00:00.780) 0:00:02.950 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 22 January 2025 22:20:37 -0500 (0:00:00.069) 0:00:03.019 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 22 January 2025 22:20:37 -0500 (0:00:00.065) 0:00:03.084 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 22 January 2025 22:20:37 -0500 (0:00:00.117) 0:00:03.201 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 22 January 2025 22:20:38 -0500 (0:00:00.767) 0:00:03.969 ***** ok: [managed-node1] => { "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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 22 January 2025 22:20:39 -0500 (0:00:00.978) 0:00:04.948 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.157811", "end": "2025-01-22 22:20:39.628683", "rc": 0, "start": "2025-01-22 22:20:39.470872" } 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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 22 January 2025 22:20:39 -0500 (0:00:00.488) 0:00:05.436 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 22 January 2025 22:20:39 -0500 (0:00:00.037) 0:00:05.474 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Wednesday 22 January 2025 22:20:39 -0500 (0:00:00.027) 0:00:05.501 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 22 January 2025 22:20:39 -0500 (0:00:00.033) 0:00:05.535 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 22 January 2025 22:20:40 -0500 (0:00:00.592) 0:00:06.127 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 22 January 2025 22:20:40 -0500 (0:00:00.069) 0:00:06.196 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:20:40 -0500 (0:00:00.112) 0:00:06.309 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:20:40 -0500 (0:00:00.041) 0:00:06.350 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:20:40 -0500 (0:00:00.130) 0:00:06.481 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:20:40 -0500 (0:00:00.057) 0:00:06.539 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:20:40 -0500 (0:00:00.062) 0:00:06.601 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003812", "end": "2025-01-22 22:20:42.143535", "rc": 0, "start": "2025-01-22 22:20:41.139723" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:20:42 -0500 (0:00:01.344) 0:00:07.945 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:20:42 -0500 (0:00:00.041) 0:00:07.987 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:20:42 -0500 (0:00:00.059) 0:00:08.047 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 22:20:42 -0500 (0:00:00.158) 0:00:08.205 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006300", "end": "2025-01-22 22:20:42.790439", "rc": 1, "start": "2025-01-22 22:20:42.784139" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:20:42 -0500 (0:00:00.390) 0:00:08.596 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:20:42 -0500 (0:00:00.056) 0:00:08.652 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:20:43 -0500 (0:00:00.323) 0:00:08.975 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:20:43 -0500 (0:00:00.034) 0:00:09.010 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:20:43 -0500 (0:00:00.047) 0:00:09.057 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:20:43 -0500 (0:00:00.152) 0:00:09.210 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:20:43 -0500 (0:00:00.056) 0:00:09.266 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:20:43 -0500 (0:00:00.027) 0:00:09.294 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:20:43 -0500 (0:00:00.030) 0:00:09.324 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:20:43 -0500 (0:00:00.036) 0:00:09.361 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:20:44 -0500 (0:00:01.055) 0:00:10.416 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:20:46 -0500 (0:00:02.022) 0:00:12.439 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:20:46 -0500 (0:00:00.153) 0:00:12.593 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:20:46 -0500 (0:00:00.115) 0:00:12.708 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:20:47 -0500 (0:00:00.119) 0:00:12.828 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:20:47 -0500 (0:00:00.113) 0:00:12.942 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:20:47 -0500 (0:00:00.075) 0:00:13.017 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:20:47 -0500 (0:00:00.179) 0:00:13.196 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:20:47 -0500 (0:00:00.224) 0:00:13.421 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:20:47 -0500 (0:00:00.234) 0:00:13.656 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:20:48 -0500 (0:00:00.116) 0:00:13.772 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:20:48 -0500 (0:00:00.111) 0:00:13.884 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:20:48 -0500 (0:00:00.148) 0:00:14.032 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:20:48 -0500 (0:00:00.121) 0:00:14.153 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:20:48 -0500 (0:00:00.105) 0:00:14.258 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:20:49 -0500 (0:00:01.048) 0:00:15.307 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmp9cH3SU" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:20:50 -0500 (0:00:00.454) 0:00:15.761 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:20:51 -0500 (0:00:01.304) 0:00:17.066 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:20:51 -0500 (0:00:00.126) 0:00:17.192 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:20:51 -0500 (0:00:00.125) 0:00:17.317 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:20:51 -0500 (0:00:00.109) 0:00:17.426 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:20:51 -0500 (0:00:00.073) 0:00:17.500 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:20:52 -0500 (0:00:00.506) 0:00:18.006 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:20:52 -0500 (0:00:00.075) 0:00:18.082 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:20:52 -0500 (0:00:00.215) 0:00:18.297 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:20:52 -0500 (0:00:00.227) 0:00:18.525 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:20:52 -0500 (0:00:00.147) 0:00:18.672 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737602451.12535, "block_size": 4096, "blocks": 8, "ctime": 1737602451.12535, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22484, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737602451.12535, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:20:53 -0500 (0:00:00.610) 0:00:19.283 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:20:53 -0500 (0:00:00.124) 0:00:19.407 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020168", "end": "2025-01-22 22:20:54.160529", "rc": 1, "start": "2025-01-22 22:20:54.140361" } 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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:20:54 -0500 (0:00:00.596) 0:00:20.004 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:20:54 -0500 (0:00:00.162) 0:00:20.166 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003245", "end": "2025-01-22 22:20:54.774770", "rc": 0, "start": "2025-01-22 22:20:54.771525" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:20:54 -0500 (0:00:00.519) 0:00:20.686 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:20:55 -0500 (0:00:00.162) 0:00:20.848 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003044", "end": "2025-01-22 22:20:55.445422", "rc": 0, "start": "2025-01-22 22:20:55.442378" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:20:55 -0500 (0:00:00.465) 0:00:21.314 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:20:55 -0500 (0:00:00.144) 0:00:21.458 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:20:55 -0500 (0:00:00.117) 0:00:21.576 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:20:55 -0500 (0:00:00.083) 0:00:21.659 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:20:55 -0500 (0:00:00.077) 0:00:21.737 ***** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:20:56 -0500 (0:00:00.116) 0:00:21.853 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:20:56 -0500 (0:00:00.118) 0:00:21.972 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:20:56 -0500 (0:00:00.176) 0:00:22.148 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039514", "end": "2025-01-22 22:20:56.690319", "rc": 1, "start": "2025-01-22 22:20:56.650805" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 22 January 2025 22:20:56 -0500 (0:00:00.437) 0:00:22.586 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:20:57 -0500 (0:00:00.231) 0:00:22.817 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:20:57 -0500 (0:00:00.121) 0:00:22.939 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:20:57 -0500 (0:00:00.393) 0:00:23.332 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:20:57 -0500 (0:00:00.198) 0:00:23.531 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:20:58 -0500 (0:00:00.228) 0:00:23.759 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004056", "end": "2025-01-22 22:20:59.304706", "rc": 0, "start": "2025-01-22 22:20:58.300650" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:20:59 -0500 (0:00:01.404) 0:00:25.164 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:20:59 -0500 (0:00:00.073) 0:00:25.238 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:20:59 -0500 (0:00:00.073) 0:00:25.311 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 22:20:59 -0500 (0:00:00.169) 0:00:25.481 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006626", "end": "2025-01-22 22:21:00.036530", "rc": 1, "start": "2025-01-22 22:21:00.029904" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:21:00 -0500 (0:00:00.442) 0:00:25.924 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:21:00 -0500 (0:00:00.376) 0:00:26.300 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:21:01 -0500 (0:00:00.737) 0:00:27.037 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:21:01 -0500 (0:00:00.348) 0:00:27.386 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 22 January 2025 22:21:01 -0500 (0:00:00.216) 0:00:27.602 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:02 -0500 (0:00:00.262) 0:00:27.865 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:02 -0500 (0:00:00.424) 0:00:28.289 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:02 -0500 (0:00:00.185) 0:00:28.474 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:02 -0500 (0:00:00.118) 0:00:28.593 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:02 -0500 (0:00:00.109) 0:00:28.703 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:21:04 -0500 (0:00:01.102) 0:00:29.806 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:21:05 -0500 (0:00:01.518) 0:00:31.324 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:21:05 -0500 (0:00:00.118) 0:00:31.443 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:21:05 -0500 (0:00:00.112) 0:00:31.556 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:21:05 -0500 (0:00:00.110) 0:00:31.666 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:21:06 -0500 (0:00:00.113) 0:00:31.780 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:21:06 -0500 (0:00:00.110) 0:00:31.890 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:21:06 -0500 (0:00:00.128) 0:00:32.018 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:21:06 -0500 (0:00:00.130) 0:00:32.148 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:21:06 -0500 (0:00:00.197) 0:00:32.346 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:21:06 -0500 (0:00:00.115) 0:00:32.461 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:21:06 -0500 (0:00:00.090) 0:00:32.552 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:21:06 -0500 (0:00:00.118) 0:00:32.670 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:21:07 -0500 (0:00:00.112) 0:00:32.783 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:21:07 -0500 (0:00:00.116) 0:00:32.899 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:21:07 -0500 (0:00:00.608) 0:00:33.508 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmprABXsM" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:21:08 -0500 (0:00:00.474) 0:00:33.982 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:21:09 -0500 (0:00:00.924) 0:00:34.906 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:21:09 -0500 (0:00:00.114) 0:00:35.021 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:21:09 -0500 (0:00:00.119) 0:00:35.140 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:21:09 -0500 (0:00:00.173) 0:00:35.314 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:21:09 -0500 (0:00:00.196) 0:00:35.511 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 22 January 2025 22:21:10 -0500 (0:00:00.509) 0:00:36.020 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:21:10 -0500 (0:00:00.136) 0:00:36.157 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:21:10 -0500 (0:00:00.294) 0:00:36.451 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:21:10 -0500 (0:00:00.255) 0:00:36.707 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:21:11 -0500 (0:00:00.473) 0:00:37.181 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:21:11 -0500 (0:00:00.120) 0:00:37.301 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:21:11 -0500 (0:00:00.168) 0:00:37.469 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:21:11 -0500 (0:00:00.133) 0:00:37.603 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737602468.8474877, "block_size": 4096, "blocks": 8, "ctime": 1737602468.8474877, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22484, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737602468.8474877, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:21:12 -0500 (0:00:00.624) 0:00:38.227 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:21:12 -0500 (0:00:00.229) 0:00:38.456 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020233", "end": "2025-01-22 22:21:13.088596", "rc": 1, "start": "2025-01-22 22:21:13.068363" } 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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:21:13 -0500 (0:00:00.548) 0:00:39.005 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:21:13 -0500 (0:00:00.143) 0:00:39.148 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003308", "end": "2025-01-22 22:21:13.817617", "rc": 0, "start": "2025-01-22 22:21:13.814309" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:21:13 -0500 (0:00:00.592) 0:00:39.741 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:21:14 -0500 (0:00:00.130) 0:00:39.871 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003175", "end": "2025-01-22 22:21:14.433452", "rc": 0, "start": "2025-01-22 22:21:14.430277" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:21:14 -0500 (0:00:00.558) 0:00:40.430 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:21:14 -0500 (0:00:00.223) 0:00:40.654 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:21:15 -0500 (0:00:00.136) 0:00:40.790 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:21:15 -0500 (0:00:00.107) 0:00:40.898 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:21:15 -0500 (0:00:00.084) 0:00:40.983 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:21:15 -0500 (0:00:00.098) 0:00:41.082 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:21:15 -0500 (0:00:00.118) 0:00:41.200 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:21:15 -0500 (0:00:00.319) 0:00:41.519 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040557", "end": "2025-01-22 22:21:16.138897", "rc": 1, "start": "2025-01-22 22:21:16.098340" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 22 January 2025 22:21:16 -0500 (0:00:00.591) 0:00:42.110 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:21:16 -0500 (0:00:00.258) 0:00:42.369 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:21:16 -0500 (0:00:00.218) 0:00:42.587 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:21:17 -0500 (0:00:00.235) 0:00:42.822 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:21:17 -0500 (0:00:00.263) 0:00:43.086 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:21:17 -0500 (0:00:00.209) 0:00:43.295 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003686", "end": "2025-01-22 22:21:17.853660", "rc": 0, "start": "2025-01-22 22:21:17.849974" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:21:17 -0500 (0:00:00.441) 0:00:43.737 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:21:18 -0500 (0:00:00.159) 0:00:43.896 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:21:18 -0500 (0:00:00.141) 0:00:44.037 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:21:18 -0500 (0:00:00.283) 0:00:44.321 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:18 -0500 (0:00:00.243) 0:00:44.565 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:18 -0500 (0:00:00.171) 0:00:44.736 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:19 -0500 (0:00:00.091) 0:00:44.828 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:19 -0500 (0:00:00.088) 0:00:44.916 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:19 -0500 (0:00:00.112) 0:00:45.029 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:21:20 -0500 (0:00:01.243) 0:00:46.272 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:21:22 -0500 (0:00:01.566) 0:00:47.838 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:21:22 -0500 (0:00:00.163) 0:00:48.001 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:21:22 -0500 (0:00:00.107) 0:00:48.109 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:21:22 -0500 (0:00:00.096) 0:00:48.206 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:21:22 -0500 (0:00:00.129) 0:00:48.335 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:21:22 -0500 (0:00:00.111) 0:00:48.447 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:21:22 -0500 (0:00:00.124) 0:00:48.571 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:21:22 -0500 (0:00:00.084) 0:00:48.656 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:21:23 -0500 (0:00:00.174) 0:00:48.831 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:21:23 -0500 (0:00:00.120) 0:00:48.951 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:21:23 -0500 (0:00:00.148) 0:00:49.100 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:21:23 -0500 (0:00:00.221) 0:00:49.321 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:21:23 -0500 (0:00:00.119) 0:00:49.441 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:21:23 -0500 (0:00:00.086) 0:00:49.528 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:21:24 -0500 (0:00:00.545) 0:00:50.073 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpkBxVZI" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:21:24 -0500 (0:00:00.531) 0:00:50.605 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:21:26 -0500 (0:00:01.193) 0:00:51.798 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:21:26 -0500 (0:00:00.114) 0:00:51.912 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:21:26 -0500 (0:00:00.155) 0:00:52.068 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:21:26 -0500 (0:00:00.123) 0:00:52.192 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:21:26 -0500 (0:00:00.204) 0:00:52.397 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.485) 0:00:52.882 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.106) 0:00:52.988 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.213) 0:00:53.202 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:27 -0500 (0:00:00.265) 0:00:53.468 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.534) 0:00:54.002 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.143) 0:00:54.146 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.089) 0:00:54.236 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:28 -0500 (0:00:00.098) 0:00:54.334 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:21:29 -0500 (0:00:01.027) 0:00:55.362 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:21:30 -0500 (0:00:01.376) 0:00:56.739 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:21:31 -0500 (0:00:00.078) 0:00:56.817 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:21:31 -0500 (0:00:00.094) 0:00:56.911 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:21:31 -0500 (0:00:00.120) 0:00:57.031 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:21:31 -0500 (0:00:00.112) 0:00:57.144 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:21:31 -0500 (0:00:00.111) 0:00:57.256 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:21:31 -0500 (0:00:00.184) 0:00:57.441 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:21:31 -0500 (0:00:00.101) 0:00:57.542 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:21:31 -0500 (0:00:00.129) 0:00:57.672 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.091) 0:00:57.763 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.074) 0:00:57.838 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.080) 0:00:57.918 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.070) 0:00:57.989 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:21:32 -0500 (0:00:00.107) 0:00:58.096 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.756) 0:00:58.852 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpwx095g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:21:33 -0500 (0:00:00.840) 0:00:59.692 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:21:35 -0500 (0:00:01.297) 0:01:00.990 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:21:35 -0500 (0:00:00.123) 0:01:01.114 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:21:35 -0500 (0:00:00.159) 0:01:01.274 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:21:35 -0500 (0:00:00.144) 0:01:01.418 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:21:35 -0500 (0:00:00.146) 0:01:01.565 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:21:36 -0500 (0:00:00.411) 0:01:01.976 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:21:36 -0500 (0:00:00.373) 0:01:02.350 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:21:36 -0500 (0:00:00.380) 0:01:02.731 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737602494.9396877, "block_size": 4096, "blocks": 0, "ctime": 1737602494.9386878, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "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": 1737602494.9386878, "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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.488) 0:01:03.220 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.129) 0:01:03.349 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:21:37 -0500 (0:00:00.291) 0:01:03.640 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.217) 0:01:03.857 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737602494.7866867, "block_size": 4096, "blocks": 8, "ctime": 1737602485.8316197, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9254, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737602485.8316197, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.470) 0:01:04.328 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:21:38 -0500 (0:00:00.120) 0:01:04.449 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020143", "end": "2025-01-22 22:21:39.008367", "rc": 1, "start": "2025-01-22 22:21:38.988224" } 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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.395) 0:01:04.845 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.085) 0:01:04.930 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002729", "end": "2025-01-22 22:21:39.477930", "rc": 0, "start": "2025-01-22 22:21:39.475201" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.423) 0:01:05.353 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:21:39 -0500 (0:00:00.105) 0:01:05.459 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002856", "end": "2025-01-22 22:21:40.009758", "rc": 0, "start": "2025-01-22 22:21:40.006902" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.461) 0:01:05.921 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.085) 0:01:06.007 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.103) 0:01:06.110 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.125) 0:01:06.236 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.147) 0:01:06.383 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.138) 0:01:06.522 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:21:40 -0500 (0:00:00.155) 0:01:06.677 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.261) 0:01:06.939 ***** ok: [managed-node1] => { "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.046133", "end": "2025-01-22 22:21:41.587777", "rc": 0, "start": "2025-01-22 22:21:41.541644" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.548) 0:01:07.487 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:21:41 -0500 (0:00:00.215) 0:01:07.703 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:21:42 -0500 (0:00:00.135) 0:01:07.845 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:21:42 -0500 (0:00:00.214) 0:01:08.060 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:21:42 -0500 (0:00:00.213) 0:01:08.273 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:21:42 -0500 (0:00:00.207) 0:01:08.480 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003954", "end": "2025-01-22 22:21:44.027696", "rc": 0, "start": "2025-01-22 22:21:43.023742" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:21:44 -0500 (0:00:01.469) 0:01:09.949 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:21:44 -0500 (0:00:00.118) 0:01:10.068 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:21:44 -0500 (0:00:00.153) 0:01:10.222 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:21:44 -0500 (0:00:00.255) 0:01:10.478 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:44 -0500 (0:00:00.230) 0:01:10.709 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.286) 0:01:10.995 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.137) 0:01:11.133 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.194) 0:01:11.327 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:45 -0500 (0:00:00.126) 0:01:11.454 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:21:46 -0500 (0:00:01.099) 0:01:12.553 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:21:48 -0500 (0:00:01.866) 0:01:14.420 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:21:48 -0500 (0:00:00.190) 0:01:14.610 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.202) 0:01:14.813 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.161) 0:01:14.974 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.144) 0:01:15.119 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.151) 0:01:15.270 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.156) 0:01:15.426 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:21:49 -0500 (0:00:00.126) 0:01:15.553 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.199) 0:01:15.752 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.223) 0:01:15.976 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.235) 0:01:16.212 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.236) 0:01:16.449 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:21:50 -0500 (0:00:00.161) 0:01:16.610 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:21:51 -0500 (0:00:00.361) 0:01:16.972 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:21:52 -0500 (0:00:00.796) 0:01:17.768 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmp9UEPa9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:21:52 -0500 (0:00:00.616) 0:01:18.385 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:21:53 -0500 (0:00:00.967) 0:01:19.352 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:21:53 -0500 (0:00:00.090) 0:01:19.443 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:21:53 -0500 (0:00:00.075) 0:01:19.519 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:21:53 -0500 (0:00:00.078) 0:01:19.598 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:21:53 -0500 (0:00:00.071) 0:01:19.670 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:21:54 -0500 (0:00:00.376) 0:01:20.046 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:21:54 -0500 (0:00:00.077) 0:01:20.124 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:21:54 -0500 (0:00:00.131) 0:01:20.255 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:21:54 -0500 (0:00:00.145) 0:01:20.401 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:21:54 -0500 (0:00:00.102) 0:01:20.503 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:21:54 -0500 (0:00:00.129) 0:01:20.632 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:21:54 -0500 (0:00:00.072) 0:01:20.705 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:21:55 -0500 (0:00:00.931) 0:01:21.637 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:21:57 -0500 (0:00:01.346) 0:01:22.984 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.128) 0:01:23.112 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.114) 0:01:23.227 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.125) 0:01:23.353 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.094) 0:01:23.447 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.090) 0:01:23.538 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:21:57 -0500 (0:00:00.167) 0:01:23.705 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.085) 0:01:23.791 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.178) 0:01:23.969 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.113) 0:01:24.083 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.114) 0:01:24.198 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.118) 0:01:24.316 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.110) 0:01:24.426 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:21:58 -0500 (0:00:00.092) 0:01:24.518 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.542) 0:01:25.061 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpNNeD68" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:21:59 -0500 (0:00:00.442) 0:01:25.504 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:00 -0500 (0:00:00.923) 0:01:26.428 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:00 -0500 (0:00:00.145) 0:01:26.574 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:00 -0500 (0:00:00.157) 0:01:26.731 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:01 -0500 (0:00:00.152) 0:01:26.884 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:01 -0500 (0:00:00.126) 0:01:27.010 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:22:01 -0500 (0:00:00.399) 0:01:27.409 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 22:22:01 -0500 (0:00:00.233) 0:01:27.643 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.260) 0:01:27.904 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.237) 0:01:28.141 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.145) 0:01:28.286 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.228) 0:01:28.515 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:02 -0500 (0:00:00.169) 0:01:28.684 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:04 -0500 (0:00:01.112) 0:01:29.796 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:05 -0500 (0:00:01.632) 0:01:31.429 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:05 -0500 (0:00:00.199) 0:01:31.628 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.128) 0:01:31.756 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.118) 0:01:31.874 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.156) 0:01:32.030 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.177) 0:01:32.207 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.153) 0:01:32.361 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.132) 0:01:32.493 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:06 -0500 (0:00:00.200) 0:01:32.694 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.105) 0:01:32.799 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.111) 0:01:32.911 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.169) 0:01:33.080 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.152) 0:01:33.233 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:07 -0500 (0:00:00.132) 0:01:33.365 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:08 -0500 (0:00:00.944) 0:01:34.310 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmp8IPubi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:08 -0500 (0:00:00.360) 0:01:34.670 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.796) 0:01:35.467 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.131) 0:01:35.598 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:09 -0500 (0:00:00.077) 0:01:35.675 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:10 -0500 (0:00:00.078) 0:01:35.754 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:10 -0500 (0:00:00.071) 0:01:35.826 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:22:10 -0500 (0:00:00.329) 0:01:36.156 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:22:10 -0500 (0:00:00.371) 0:01:36.528 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:22:11 -0500 (0:00:00.349) 0:01:36.877 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737602520.485876, "block_size": 4096, "blocks": 0, "ctime": 1737602520.4848762, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "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": 1737602520.4848762, "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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:22:11 -0500 (0:00:00.727) 0:01:37.605 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:22:12 -0500 (0:00:00.196) 0:01:37.801 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:22:12 -0500 (0:00:00.329) 0:01:38.131 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:22:12 -0500 (0:00:00.241) 0:01:38.372 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.600) 0:01:38.972 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.166) 0:01:39.139 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019789", "end": "2025-01-22 22:22:13.732192", "rc": 1, "start": "2025-01-22 22:22:13.712403" } 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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:22:13 -0500 (0:00:00.561) 0:01:39.700 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.217) 0:01:39.917 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.086) 0:01:40.004 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.077) 0:01:40.082 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.105) 0:01:40.187 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.184) 0:01:40.372 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.195) 0:01:40.567 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:22:14 -0500 (0:00:00.119) 0:01:40.687 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:22:15 -0500 (0:00:00.174) 0:01:40.861 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:22:15 -0500 (0:00:00.208) 0:01:41.069 ***** ok: [managed-node1] => { "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.046359", "end": "2025-01-22 22:22:15.638781", "rc": 0, "start": "2025-01-22 22:22:15.592422" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 22 January 2025 22:22:15 -0500 (0:00:00.586) 0:01:41.656 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.360) 0:01:42.016 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.134) 0:01:42.151 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.239) 0:01:42.390 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:22:16 -0500 (0:00:00.227) 0:01:42.618 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:22:17 -0500 (0:00:00.398) 0:01:43.016 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002943", "end": "2025-01-22 22:22:17.620893", "rc": 0, "start": "2025-01-22 22:22:17.617950" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:22:17 -0500 (0:00:00.486) 0:01:43.503 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:22:17 -0500 (0:00:00.117) 0:01:43.621 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:22:17 -0500 (0:00:00.101) 0:01:43.722 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:22:18 -0500 (0:00:00.185) 0:01:43.907 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:18 -0500 (0:00:00.230) 0:01:44.138 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:18 -0500 (0:00:00.240) 0:01:44.378 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:18 -0500 (0:00:00.160) 0:01:44.539 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:18 -0500 (0:00:00.106) 0:01:44.646 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:18 -0500 (0:00:00.086) 0:01:44.733 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:19 -0500 (0:00:00.918) 0:01:45.651 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:21 -0500 (0:00:01.661) 0:01:47.313 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.142) 0:01:47.455 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:21 -0500 (0:00:00.140) 0:01:47.596 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.178) 0:01:47.774 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.122) 0:01:47.896 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.136) 0:01:48.033 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.106) 0:01:48.140 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.091) 0:01:48.231 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.215) 0:01:48.447 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:22 -0500 (0:00:00.222) 0:01:48.669 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:23 -0500 (0:00:00.117) 0:01:48.787 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:23 -0500 (0:00:00.125) 0:01:48.913 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:23 -0500 (0:00:00.188) 0:01:49.102 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:23 -0500 (0:00:00.135) 0:01:49.237 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:24 -0500 (0:00:00.542) 0:01:49.780 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpF4MP8y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:24 -0500 (0:00:00.564) 0:01:50.344 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:25 -0500 (0:00:00.704) 0:01:51.049 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:25 -0500 (0:00:00.137) 0:01:51.187 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:25 -0500 (0:00:00.115) 0:01:51.302 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:25 -0500 (0:00:00.119) 0:01:51.422 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:25 -0500 (0:00:00.152) 0:01:51.575 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.496) 0:01:52.072 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.232) 0:01:52.304 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:26 -0500 (0:00:00.205) 0:01:52.509 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:27 -0500 (0:00:00.253) 0:01:52.762 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:27 -0500 (0:00:00.261) 0:01:53.024 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:27 -0500 (0:00:00.207) 0:01:53.232 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:27 -0500 (0:00:00.169) 0:01:53.412 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:28 -0500 (0:00:01.121) 0:01:54.534 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:30 -0500 (0:00:01.593) 0:01:56.127 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.201) 0:01:56.329 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.122) 0:01:56.451 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.154) 0:01:56.606 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:30 -0500 (0:00:00.136) 0:01:56.742 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.149) 0:01:56.892 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.154) 0:01:57.047 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.120) 0:01:57.168 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.185) 0:01:57.353 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.119) 0:01:57.472 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:31 -0500 (0:00:00.112) 0:01:57.585 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.199) 0:01:57.784 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.116) 0:01:57.900 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:32 -0500 (0:00:00.118) 0:01:58.019 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:33 -0500 (0:00:00.767) 0:01:58.786 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmp08MYEf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:33 -0500 (0:00:00.551) 0:01:59.338 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:34 -0500 (0:00:00.927) 0:02:00.265 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:34 -0500 (0:00:00.072) 0:02:00.337 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:34 -0500 (0:00:00.080) 0:02:00.418 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:34 -0500 (0:00:00.078) 0:02:00.496 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:34 -0500 (0:00:00.085) 0:02:00.581 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.384) 0:02:00.966 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.133) 0:02:01.099 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.160) 0:02:01.260 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.205) 0:02:01.466 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.074) 0:02:01.540 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:35 -0500 (0:00:00.073) 0:02:01.613 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:36 -0500 (0:00:00.929) 0:02:02.542 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:38 -0500 (0:00:01.323) 0:02:03.866 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.118) 0:02:03.985 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.117) 0:02:04.102 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.108) 0:02:04.211 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.105) 0:02:04.317 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.125) 0:02:04.443 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.080) 0:02:04.523 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:38 -0500 (0:00:00.078) 0:02:04.602 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.171) 0:02:04.773 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.112) 0:02:04.886 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.116) 0:02:05.002 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.121) 0:02:05.124 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.111) 0:02:05.236 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:39 -0500 (0:00:00.101) 0:02:05.337 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:40 -0500 (0:00:00.533) 0:02:05.871 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpahjr9Q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:40 -0500 (0:00:00.427) 0:02:06.298 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:41 -0500 (0:00:00.920) 0:02:07.219 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:41 -0500 (0:00:00.079) 0:02:07.298 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:41 -0500 (0:00:00.089) 0:02:07.388 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:41 -0500 (0:00:00.155) 0:02:07.543 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:41 -0500 (0:00:00.182) 0:02:07.725 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.550) 0:02:08.275 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.176) 0:02:08.451 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:42 -0500 (0:00:00.253) 0:02:08.705 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:43 -0500 (0:00:00.270) 0:02:08.976 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:43 -0500 (0:00:00.235) 0:02:09.211 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:43 -0500 (0:00:00.202) 0:02:09.414 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:43 -0500 (0:00:00.119) 0:02:09.534 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:44 -0500 (0:00:01.022) 0:02:10.556 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:22:46 -0500 (0:00:01.831) 0:02:12.388 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:22:46 -0500 (0:00:00.124) 0:02:12.512 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:22:46 -0500 (0:00:00.125) 0:02:12.638 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:22:47 -0500 (0:00:00.153) 0:02:12.791 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:22:47 -0500 (0:00:00.133) 0:02:12.925 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:22:47 -0500 (0:00:00.116) 0:02:13.042 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:22:47 -0500 (0:00:00.122) 0:02:13.165 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:22:47 -0500 (0:00:00.199) 0:02:13.364 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:22:47 -0500 (0:00:00.217) 0:02:13.581 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:22:47 -0500 (0:00:00.094) 0:02:13.675 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:22:48 -0500 (0:00:00.086) 0:02:13.761 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:22:48 -0500 (0:00:00.157) 0:02:13.919 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:22:48 -0500 (0:00:00.185) 0:02:14.105 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:22:48 -0500 (0:00:00.214) 0:02:14.320 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.908) 0:02:15.228 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpqM9bMI" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:22:49 -0500 (0:00:00.377) 0:02:15.606 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.799) 0:02:16.405 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.080) 0:02:16.485 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.079) 0:02:16.564 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.081) 0:02:16.646 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:22:50 -0500 (0:00:00.072) 0:02:16.718 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.327) 0:02:17.046 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.188) 0:02:17.235 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.211) 0:02:17.446 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:22:51 -0500 (0:00:00.167) 0:02:17.614 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:22:52 -0500 (0:00:00.713) 0:02:18.328 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:22:52 -0500 (0:00:00.112) 0:02:18.441 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020712", "end": "2025-01-22 22:22:53.170638", "rc": 1, "start": "2025-01-22 22:22:53.149926" } 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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:22:53 -0500 (0:00:00.712) 0:02:19.154 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:22:53 -0500 (0:00:00.226) 0:02:19.380 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:22:53 -0500 (0:00:00.195) 0:02:19.575 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:22:53 -0500 (0:00:00.146) 0:02:19.722 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:22:54 -0500 (0:00:00.240) 0:02:19.963 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:22:54 -0500 (0:00:00.140) 0:02:20.104 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:22:54 -0500 (0:00:00.109) 0:02:20.213 ***** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:22:54 -0500 (0:00:00.145) 0:02:20.359 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:22:54 -0500 (0:00:00.131) 0:02:20.490 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:22:54 -0500 (0:00:00.249) 0:02:20.740 ***** ok: [managed-node1] => { "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.045057", "end": "2025-01-22 22:22:55.413792", "rc": 0, "start": "2025-01-22 22:22:55.368735" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 22 January 2025 22:22:55 -0500 (0:00:00.569) 0:02:21.309 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 22:22:55 -0500 (0:00:00.257) 0:02:21.566 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 22:22:55 -0500 (0:00:00.108) 0:02:21.675 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.231) 0:02:21.907 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.208) 0:02:22.115 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:22:56 -0500 (0:00:00.228) 0:02:22.344 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003337", "end": "2025-01-22 22:22:56.944651", "rc": 0, "start": "2025-01-22 22:22:56.941314" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.564) 0:02:22.908 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.144) 0:02:23.053 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.217) 0:02:23.270 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 22:22:57 -0500 (0:00:00.251) 0:02:23.522 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.341) 0:02:23.863 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.248) 0:02:24.112 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.178) 0:02:24.291 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.113) 0:02:24.404 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:22:58 -0500 (0:00:00.146) 0:02:24.551 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:22:59 -0500 (0:00:01.064) 0:02:25.615 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:23:01 -0500 (0:00:01.730) 0:02:27.346 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:23:01 -0500 (0:00:00.195) 0:02:27.542 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:23:01 -0500 (0:00:00.197) 0:02:27.739 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.180) 0:02:27.920 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.234) 0:02:28.155 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.228) 0:02:28.383 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.124) 0:02:28.508 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:23:02 -0500 (0:00:00.138) 0:02:28.646 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:23:03 -0500 (0:00:00.224) 0:02:28.870 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:23:03 -0500 (0:00:00.132) 0:02:29.003 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:23:03 -0500 (0:00:00.132) 0:02:29.135 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:23:03 -0500 (0:00:00.108) 0:02:29.244 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:23:03 -0500 (0:00:00.148) 0:02:29.392 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:23:03 -0500 (0:00:00.092) 0:02:29.485 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:23:04 -0500 (0:00:00.576) 0:02:30.062 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpqYoe3b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:23:04 -0500 (0:00:00.476) 0:02:30.538 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.768) 0:02:31.307 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.133) 0:02:31.440 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.125) 0:02:31.565 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:23:05 -0500 (0:00:00.141) 0:02:31.707 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.194) 0:02:31.901 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 22:23:06 -0500 (0:00:00.744) 0:02:32.646 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.150) 0:02:32.797 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.176) 0:02:32.973 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.200) 0:02:33.174 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.167) 0:02:33.341 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.146) 0:02:33.488 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:23:07 -0500 (0:00:00.137) 0:02:33.625 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:23:08 -0500 (0:00:00.935) 0:02:34.561 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:23:10 -0500 (0:00:01.544) 0:02:36.106 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:23:10 -0500 (0:00:00.136) 0:02:36.243 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:23:10 -0500 (0:00:00.160) 0:02:36.404 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:23:10 -0500 (0:00:00.106) 0:02:36.510 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:23:10 -0500 (0:00:00.089) 0:02:36.600 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:23:10 -0500 (0:00:00.079) 0:02:36.679 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.120) 0:02:36.799 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.160) 0:02:36.960 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.240) 0:02:37.201 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.129) 0:02:37.330 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.148) 0:02:37.478 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.104) 0:02:37.583 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:23:11 -0500 (0:00:00.079) 0:02:37.662 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.146) 0:02:37.809 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:23:12 -0500 (0:00:00.691) 0:02:38.500 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmptXPXrS" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:23:13 -0500 (0:00:00.429) 0:02:38.930 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.930) 0:02:39.861 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.203) 0:02:40.064 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.226) 0:02:40.291 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.140) 0:02:40.432 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:23:14 -0500 (0:00:00.138) 0:02:40.570 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:23:15 -0500 (0:00:00.621) 0:02:41.191 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:23:15 -0500 (0:00:00.225) 0:02:41.417 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:23:15 -0500 (0:00:00.212) 0:02:41.629 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:23:15 -0500 (0:00:00.106) 0:02:41.736 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:23:16 -0500 (0:00:00.072) 0:02:41.808 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:23:16 -0500 (0:00:00.160) 0:02:41.969 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:23:17 -0500 (0:00:01.046) 0:02:43.016 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:23:18 -0500 (0:00:01.483) 0:02:44.500 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.096) 0:02:44.596 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:23:18 -0500 (0:00:00.086) 0:02:44.683 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.084) 0:02:44.767 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.108) 0:02:44.876 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.089) 0:02:44.965 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.092) 0:02:45.058 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.081) 0:02:45.139 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.126) 0:02:45.266 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.174) 0:02:45.441 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.102) 0:02:45.543 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.101) 0:02:45.645 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:23:19 -0500 (0:00:00.078) 0:02:45.724 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.088) 0:02:45.812 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.472) 0:02:46.285 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpb97ZxB" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:23:20 -0500 (0:00:00.386) 0:02:46.672 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.613) 0:02:47.285 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.089) 0:02:47.374 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.076) 0:02:47.451 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.077) 0:02:47.528 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:23:21 -0500 (0:00:00.071) 0:02:47.600 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.333) 0:02:47.934 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.192) 0:02:48.126 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.128) 0:02:48.255 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.148) 0:02:48.403 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.096) 0:02:48.500 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.073) 0:02:48.574 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 22:23:22 -0500 (0:00:00.085) 0:02:48.659 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 22:23:23 -0500 (0:00:00.887) 0:02:49.547 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 22:23:25 -0500 (0:00:01.245) 0:02:50.792 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.079) 0:02:50.872 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.085) 0:02:50.957 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.076) 0:02:51.033 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.073) 0:02:51.107 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.076) 0:02:51.183 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.080) 0:02:51.264 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.080) 0:02:51.344 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.168) 0:02:51.512 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.111) 0:02:51.624 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 22:23:25 -0500 (0:00:00.109) 0:02:51.734 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 22:23:26 -0500 (0:00:00.121) 0:02:51.855 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 22:23:26 -0500 (0:00:00.123) 0:02:51.979 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 22:23:26 -0500 (0:00:00.131) 0:02:52.110 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.718) 0:02:52.829 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16991n_IvCp/tmpPOddM3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 22:23:27 -0500 (0:00:00.769) 0:02:53.598 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 22:23:28 -0500 (0:00:00.884) 0:02:54.483 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 22:23:29 -0500 (0:00:00.306) 0:02:54.789 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 22:23:29 -0500 (0:00:00.131) 0:02:54.920 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 22:23:29 -0500 (0:00:00.136) 0:02:55.057 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 22:23:29 -0500 (0:00:00.125) 0:02:55.183 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.641) 0:02:55.825 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.274) 0:02:56.100 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.224) 0:02:56.324 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 22:23:30 -0500 (0:00:00.080) 0:02:56.404 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.449) 0:02:56.854 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.110) 0:02:56.964 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020520", "end": "2025-01-22 22:23:31.517386", "rc": 1, "start": "2025-01-22 22:23:31.496866" } 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-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.413) 0:02:57.377 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.115) 0:02:57.493 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.117) 0:02:57.611 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 22:23:31 -0500 (0:00:00.118) 0:02:57.729 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 22:23:32 -0500 (0:00:00.116) 0:02:57.845 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 22:23:32 -0500 (0:00:00.207) 0:02:58.053 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 22 January 2025 22:23:32 -0500 (0:00:00.121) 0:02:58.174 ***** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.604959", "end": "2025-01-22 22:23:33.304455", "rc": 0, "start": "2025-01-22 22:23:32.699496" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 22 January 2025 22:23:33 -0500 (0:00:01.008) 0:02:59.183 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 22 January 2025 22:23:33 -0500 (0:00:00.121) 0:02:59.304 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 22:23:33 -0500 (0:00:00.122) 0:02:59.428 ***** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 22:23:33 -0500 (0:00:00.130) 0:02:59.558 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 22:23:33 -0500 (0:00:00.121) 0:02:59.680 ***** included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 22:23:34 -0500 (0:00:00.239) 0:02:59.919 ***** ok: [managed-node1] => { "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.046237", "end": "2025-01-22 22:23:34.518800", "rc": 0, "start": "2025-01-22 22:23:34.472563" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 22 January 2025 22:23:34 -0500 (0:00:00.437) 0:03:00.356 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006646", "end": "2025-01-22 22:23:34.916361", "rc": 0, "start": "2025-01-22 22:23:34.909715" } 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 02:f6:f2:9d:88:95 brd ff:ff:ff:ff:ff:ff inet 10.31.46.136/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2785sec preferred_lft 2785sec inet6 fe80::f6:f2ff:fe9d:8895/64 scope link valid_lft forever preferred_lft forever 21: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 9e:a4:71:cc:0b:00 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::9ca4:71ff:fecc:b00/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.136 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 22 January 2025 22:23:35 -0500 (0:00:00.441) 0:03:00.798 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.271997", "end": "2025-01-22 22:23:35.640738", "rc": 0, "start": "2025-01-22 22:23:35.368741" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2266 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 2429 0 --:--:-- --:--:-- --:--:-- 2445 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=337 changed=13 unreachable=0 failed=0 skipped=285 rescued=0 ignored=10 Wednesday 22 January 2025 22:23:35 -0500 (0:00:00.682) 0:03:01.481 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.02s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.87s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-QTv/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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.47s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.40s /tmp/collections-QTv/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.38s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.34s /tmp/collections-QTv/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.32s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.25s /tmp/collections-QTv/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-QTv/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-QTv/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5