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-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 12 August 2024 05:21:18 -0400 (0:00:00.035) 0:00:00.035 ********* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Monday 12 August 2024 05:21:19 -0400 (0:00:00.939) 0:00:00.974 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 12 August 2024 05:21:19 -0400 (0:00:00.093) 0:00:01.068 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 12 August 2024 05:21:20 -0400 (0:00:00.488) 0:00:01.556 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 12 August 2024 05:21:20 -0400 (0:00:00.783) 0:00:02.340 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 12 August 2024 05:21:20 -0400 (0:00:00.073) 0:00:02.413 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 12 August 2024 05:21:21 -0400 (0:00:00.071) 0:00:02.484 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 12 August 2024 05:21:21 -0400 (0:00:00.173) 0:00:02.658 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Monday 12 August 2024 05:21:21 -0400 (0:00:00.552) 0:00:03.211 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Monday 12 August 2024 05:21:22 -0400 (0:00:01.106) 0:00:04.317 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.183190", "end": "2024-08-12 05:21:23.372796", "rc": 0, "start": "2024-08-12 05:21:23.189606" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Monday 12 August 2024 05:21:23 -0400 (0:00:00.642) 0:00:04.960 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Monday 12 August 2024 05:21:23 -0400 (0:00:00.073) 0:00:05.033 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 12 August 2024 05:21:23 -0400 (0:00:00.048) 0:00:05.081 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 12 August 2024 05:21:23 -0400 (0:00:00.037) 0:00:05.119 ********* ok: [managed_node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 12 August 2024 05:21:24 -0400 (0:00:00.739) 0:00:05.858 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 12 August 2024 05:21:24 -0400 (0:00:00.075) 0:00:05.934 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:21:24 -0400 (0:00:00.074) 0:00:06.008 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:21:24 -0400 (0:00:00.048) 0:00:06.056 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:21:24 -0400 (0:00:00.129) 0:00:06.186 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:21:24 -0400 (0:00:00.050) 0:00:06.236 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:21:24 -0400 (0:00:00.046) 0:00:06.282 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003550", "end": "2024-08-12 05:21:25.128924", "rc": 0, "start": "2024-08-12 05:21:25.125374" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:21:25 -0400 (0:00:00.392) 0:00:06.674 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:21:25 -0400 (0:00:00.036) 0:00:06.711 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:21:25 -0400 (0:00:00.038) 0:00:06.750 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 12 August 2024 05:21:25 -0400 (0:00:00.072) 0:00:06.823 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009404", "end": "2024-08-12 05:21:25.652984", "rc": 1, "start": "2024-08-12 05:21:25.643580" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:21:25 -0400 (0:00:00.383) 0:00:07.206 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:25 -0400 (0:00:00.079) 0:00:07.286 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:21:26 -0400 (0:00:00.352) 0:00:07.639 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:21:26 -0400 (0:00:00.043) 0:00:07.683 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:21:26 -0400 (0:00:00.068) 0:00:07.751 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:26 -0400 (0:00:00.226) 0:00:07.977 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:26 -0400 (0:00:00.089) 0:00:08.067 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:26 -0400 (0:00:00.038) 0:00:08.106 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:26 -0400 (0:00:00.032) 0:00:08.139 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:26 -0400 (0:00:00.034) 0:00:08.173 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:27 -0400 (0:00:01.206) 0:00:09.380 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:29 -0400 (0:00:01.762) 0:00:11.143 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:29 -0400 (0:00:00.085) 0:00:11.228 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:29 -0400 (0:00:00.073) 0:00:11.301 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:29 -0400 (0:00:00.062) 0:00:11.364 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:29 -0400 (0:00:00.079) 0:00:11.443 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:30 -0400 (0:00:00.125) 0:00:11.569 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:30 -0400 (0:00:00.116) 0:00:11.685 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:30 -0400 (0:00:00.124) 0:00:11.809 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:30 -0400 (0:00:00.197) 0:00:12.007 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:30 -0400 (0:00:00.186) 0:00:12.193 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:30 -0400 (0:00:00.164) 0:00:12.357 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:31 -0400 (0:00:00.126) 0:00:12.484 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:31 -0400 (0:00:00.103) 0:00:12.588 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:31 -0400 (0:00:00.130) 0:00:12.718 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:32 -0400 (0:00:01.103) 0:00:13.821 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpdWQ5A1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:32 -0400 (0:00:00.393) 0:00:14.214 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:33 -0400 (0:00:01.227) 0:00:15.442 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:34 -0400 (0:00:00.107) 0:00:15.549 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:34 -0400 (0:00:00.105) 0:00:15.654 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:34 -0400 (0:00:00.107) 0:00:15.762 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:34 -0400 (0:00:00.100) 0:00:15.863 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:21:35 -0400 (0:00:00.666) 0:00:16.530 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:21:35 -0400 (0:00:00.129) 0:00:16.659 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:21:35 -0400 (0:00:00.322) 0:00:16.981 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:21:35 -0400 (0:00:00.393) 0:00:17.375 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:21:36 -0400 (0:00:00.115) 0:00:17.491 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723454493.835136, "block_size": 4096, "blocks": 8, "ctime": 1723454493.835136, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723454493.835136, "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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:21:36 -0400 (0:00:00.570) 0:00:18.061 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:21:36 -0400 (0:00:00.161) 0:00:18.223 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024867", "end": "2024-08-12 05:21:37.201149", "rc": 1, "start": "2024-08-12 05:21:37.176282" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:21:37 -0400 (0:00:00.557) 0:00:18.780 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:21:37 -0400 (0:00:00.113) 0:00:18.894 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003548", "end": "2024-08-12 05:21:37.798266", "rc": 0, "start": "2024-08-12 05:21:37.794718" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:21:37 -0400 (0:00:00.567) 0:00:19.461 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:21:38 -0400 (0:00:00.144) 0:00:19.606 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003776", "end": "2024-08-12 05:21:38.614593", "rc": 0, "start": "2024-08-12 05:21:38.610817" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:21:38 -0400 (0:00:00.741) 0:00:20.348 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:21:39 -0400 (0:00:00.187) 0:00:20.536 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:21:39 -0400 (0:00:00.132) 0:00:20.668 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:21:39 -0400 (0:00:00.116) 0:00:20.784 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:21:39 -0400 (0:00:00.110) 0:00:20.895 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:21:39 -0400 (0:00:00.115) 0:00:21.010 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:21:39 -0400 (0:00:00.090) 0:00:21.101 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:21:39 -0400 (0:00:00.140) 0:00:21.242 ********* 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.048733", "end": "2024-08-12 05:21:40.094621", "rc": 1, "start": "2024-08-12 05:21:40.045888" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 12 August 2024 05:21:40 -0400 (0:00:00.456) 0:00:21.698 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:21:40 -0400 (0:00:00.185) 0:00:21.884 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:21:40 -0400 (0:00:00.111) 0:00:21.996 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:21:40 -0400 (0:00:00.196) 0:00:22.193 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:21:40 -0400 (0:00:00.226) 0:00:22.419 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:21:41 -0400 (0:00:00.135) 0:00:22.555 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003595", "end": "2024-08-12 05:21:41.372292", "rc": 0, "start": "2024-08-12 05:21:41.368697" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:21:41 -0400 (0:00:00.438) 0:00:22.993 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:21:41 -0400 (0:00:00.123) 0:00:23.117 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:21:41 -0400 (0:00:00.131) 0:00:23.248 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 12 August 2024 05:21:41 -0400 (0:00:00.211) 0:00:23.460 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007695", "end": "2024-08-12 05:21:42.450496", "rc": 1, "start": "2024-08-12 05:21:42.442801" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:21:42 -0400 (0:00:00.640) 0:00:24.101 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:42 -0400 (0:00:00.154) 0:00:24.255 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:21:43 -0400 (0:00:00.462) 0:00:24.717 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:21:43 -0400 (0:00:00.095) 0:00:24.813 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 12 August 2024 05:21:43 -0400 (0:00:00.207) 0:00:25.020 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:43 -0400 (0:00:00.273) 0:00:25.293 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:44 -0400 (0:00:00.315) 0:00:25.609 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:44 -0400 (0:00:00.154) 0:00:25.763 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:44 -0400 (0:00:00.108) 0:00:25.872 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:44 -0400 (0:00:00.092) 0:00:25.964 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:45 -0400 (0:00:01.101) 0:00:27.066 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:47 -0400 (0:00:01.550) 0:00:28.617 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:47 -0400 (0:00:00.125) 0:00:28.742 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:47 -0400 (0:00:00.120) 0:00:28.863 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:47 -0400 (0:00:00.189) 0:00:29.052 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:47 -0400 (0:00:00.119) 0:00:29.172 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:47 -0400 (0:00:00.191) 0:00:29.363 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:47 -0400 (0:00:00.108) 0:00:29.471 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:48 -0400 (0:00:00.088) 0:00:29.560 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:48 -0400 (0:00:00.132) 0:00:29.693 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:48 -0400 (0:00:00.132) 0:00:29.826 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:48 -0400 (0:00:00.224) 0:00:30.050 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:48 -0400 (0:00:00.148) 0:00:30.198 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:48 -0400 (0:00:00.108) 0:00:30.307 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:48 -0400 (0:00:00.109) 0:00:30.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:49 -0400 (0:00:00.586) 0:00:31.002 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmp9S87qr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:50 -0400 (0:00:00.620) 0:00:31.622 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:51 -0400 (0:00:00.922) 0:00:32.545 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:51 -0400 (0:00:00.065) 0:00:32.611 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:51 -0400 (0:00:00.070) 0:00:32.682 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:51 -0400 (0:00:00.071) 0:00:32.753 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:51 -0400 (0:00:00.065) 0:00:32.818 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 12 August 2024 05:21:51 -0400 (0:00:00.513) 0:00:33.332 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:21:51 -0400 (0:00:00.097) 0:00:33.429 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:21:52 -0400 (0:00:00.140) 0:00:33.569 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:52 -0400 (0:00:00.140) 0:00:33.710 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:21:52 -0400 (0:00:00.337) 0:00:34.048 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:21:52 -0400 (0:00:00.073) 0:00:34.121 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:21:52 -0400 (0:00:00.328) 0:00:34.450 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:21:53 -0400 (0:00:00.196) 0:00:34.647 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723454510.97677, "block_size": 4096, "blocks": 8, "ctime": 1723454510.97677, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 143, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723454510.97677, "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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:21:53 -0400 (0:00:00.806) 0:00:35.454 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:21:54 -0400 (0:00:00.130) 0:00:35.584 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022198", "end": "2024-08-12 05:21:54.622761", "rc": 1, "start": "2024-08-12 05:21:54.600563" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:21:54 -0400 (0:00:00.717) 0:00:36.301 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:21:54 -0400 (0:00:00.132) 0:00:36.434 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003554", "end": "2024-08-12 05:21:55.303883", "rc": 0, "start": "2024-08-12 05:21:55.300329" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:21:55 -0400 (0:00:00.531) 0:00:36.966 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:21:55 -0400 (0:00:00.206) 0:00:37.173 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003439", "end": "2024-08-12 05:21:56.078982", "rc": 0, "start": "2024-08-12 05:21:56.075543" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:21:56 -0400 (0:00:00.477) 0:00:37.651 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:21:56 -0400 (0:00:00.119) 0:00:37.771 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:21:56 -0400 (0:00:00.125) 0:00:37.896 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:21:56 -0400 (0:00:00.110) 0:00:38.006 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:21:56 -0400 (0:00:00.115) 0:00:38.122 ********* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:21:56 -0400 (0:00:00.105) 0:00:38.227 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:21:56 -0400 (0:00:00.111) 0:00:38.339 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:21:57 -0400 (0:00:00.250) 0:00:38.590 ********* 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.044330", "end": "2024-08-12 05:21:57.425955", "rc": 1, "start": "2024-08-12 05:21:57.381625" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 12 August 2024 05:21:57 -0400 (0:00:00.561) 0:00:39.151 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:21:57 -0400 (0:00:00.254) 0:00:39.405 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:21:58 -0400 (0:00:00.178) 0:00:39.583 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:21:58 -0400 (0:00:00.219) 0:00:39.803 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:21:58 -0400 (0:00:00.151) 0:00:39.954 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:21:58 -0400 (0:00:00.286) 0:00:40.241 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2024-08-12 05:21:59.281379", "rc": 0, "start": "2024-08-12 05:21:59.277982" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:21:59 -0400 (0:00:00.667) 0:00:40.908 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:21:59 -0400 (0:00:00.120) 0:00:41.029 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:21:59 -0400 (0:00:00.121) 0:00:41.151 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:21:59 -0400 (0:00:00.179) 0:00:41.330 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:00 -0400 (0:00:00.235) 0:00:41.566 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:00 -0400 (0:00:00.265) 0:00:41.831 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:00 -0400 (0:00:00.123) 0:00:41.955 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:00 -0400 (0:00:00.106) 0:00:42.061 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:00 -0400 (0:00:00.115) 0:00:42.176 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:01 -0400 (0:00:01.066) 0:00:43.243 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:03 -0400 (0:00:01.880) 0:00:45.123 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:03 -0400 (0:00:00.078) 0:00:45.201 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:03 -0400 (0:00:00.109) 0:00:45.311 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:04 -0400 (0:00:00.184) 0:00:45.495 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:04 -0400 (0:00:00.132) 0:00:45.628 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:04 -0400 (0:00:00.134) 0:00:45.763 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:04 -0400 (0:00:00.139) 0:00:45.902 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:04 -0400 (0:00:00.115) 0:00:46.018 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:04 -0400 (0:00:00.192) 0:00:46.210 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:04 -0400 (0:00:00.108) 0:00:46.319 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:04 -0400 (0:00:00.104) 0:00:46.424 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:05 -0400 (0:00:00.124) 0:00:46.549 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:05 -0400 (0:00:00.111) 0:00:46.660 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:05 -0400 (0:00:00.133) 0:00:46.794 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:05 -0400 (0:00:00.614) 0:00:47.408 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpJBcy9A" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:06 -0400 (0:00:00.625) 0:00:48.033 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:07 -0400 (0:00:00.674) 0:00:48.707 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:07 -0400 (0:00:00.096) 0:00:48.804 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:07 -0400 (0:00:00.108) 0:00:48.913 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:07 -0400 (0:00:00.112) 0:00:49.026 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:07 -0400 (0:00:00.126) 0:00:49.152 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:22:08 -0400 (0:00:00.525) 0:00:49.678 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:22:08 -0400 (0:00:00.141) 0:00:49.819 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:22:08 -0400 (0:00:00.198) 0:00:50.018 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:08 -0400 (0:00:00.316) 0:00:50.334 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:09 -0400 (0:00:00.305) 0:00:50.640 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:09 -0400 (0:00:00.216) 0:00:50.857 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:09 -0400 (0:00:00.192) 0:00:51.049 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:09 -0400 (0:00:00.102) 0:00:51.152 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:10 -0400 (0:00:01.055) 0:00:52.207 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:12 -0400 (0:00:01.573) 0:00:53.781 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:12 -0400 (0:00:00.125) 0:00:53.907 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:12 -0400 (0:00:00.105) 0:00:54.012 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:12 -0400 (0:00:00.108) 0:00:54.120 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:12 -0400 (0:00:00.131) 0:00:54.252 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:12 -0400 (0:00:00.148) 0:00:54.400 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:13 -0400 (0:00:00.144) 0:00:54.545 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:13 -0400 (0:00:00.208) 0:00:54.753 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:13 -0400 (0:00:00.149) 0:00:54.903 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:13 -0400 (0:00:00.074) 0:00:54.978 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:13 -0400 (0:00:00.075) 0:00:55.053 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:13 -0400 (0:00:00.109) 0:00:55.163 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:13 -0400 (0:00:00.085) 0:00:55.249 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:13 -0400 (0:00:00.084) 0:00:55.333 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:14 -0400 (0:00:00.553) 0:00:55.886 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmp71Q9NX" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:14 -0400 (0:00:00.368) 0:00:56.255 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:15 -0400 (0:00:01.102) 0:00:57.358 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:16 -0400 (0:00:00.177) 0:00:57.535 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:16 -0400 (0:00:00.148) 0:00:57.684 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:16 -0400 (0:00:00.114) 0:00:57.799 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:16 -0400 (0:00:00.127) 0:00:57.926 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:22:16 -0400 (0:00:00.538) 0:00:58.465 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:22:17 -0400 (0:00:00.309) 0:00:58.775 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:22:17 -0400 (0:00:00.169) 0:00:58.944 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723454535.5562453, "block_size": 4096, "blocks": 0, "ctime": 1723454535.5542452, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17648, "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": 1723454535.5542452, "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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:22:17 -0400 (0:00:00.470) 0:00:59.415 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:22:18 -0400 (0:00:00.132) 0:00:59.547 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:22:18 -0400 (0:00:00.230) 0:00:59.778 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:22:18 -0400 (0:00:00.105) 0:00:59.883 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723454535.3712492, "block_size": 4096, "blocks": 8, "ctime": 1723454527.1054256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 143, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723454527.1054256, "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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:22:18 -0400 (0:00:00.481) 0:01:00.364 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:22:18 -0400 (0:00:00.099) 0:01:00.464 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022764", "end": "2024-08-12 05:22:19.292924", "rc": 1, "start": "2024-08-12 05:22:19.270160" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:22:19 -0400 (0:00:00.510) 0:01:00.974 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:22:19 -0400 (0:00:00.194) 0:01:01.169 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003537", "end": "2024-08-12 05:22:20.306262", "rc": 0, "start": "2024-08-12 05:22:20.302725" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:22:20 -0400 (0:00:00.849) 0:01:02.018 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:22:20 -0400 (0:00:00.161) 0:01:02.179 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003575", "end": "2024-08-12 05:22:21.036273", "rc": 0, "start": "2024-08-12 05:22:21.032698" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:22:21 -0400 (0:00:00.523) 0:01:02.703 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:22:21 -0400 (0:00:00.118) 0:01:02.822 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:22:21 -0400 (0:00:00.231) 0:01:03.053 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:22:21 -0400 (0:00:00.119) 0:01:03.173 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:22:21 -0400 (0:00:00.112) 0:01:03.285 ********* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:22:21 -0400 (0:00:00.116) 0:01:03.401 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:22:22 -0400 (0:00:00.107) 0:01:03.508 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:22:22 -0400 (0:00:00.189) 0:01:03.698 ********* 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.050512", "end": "2024-08-12 05:22:22.522430", "rc": 0, "start": "2024-08-12 05:22:22.471918" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 12 August 2024 05:22:22 -0400 (0:00:00.450) 0:01:04.148 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:22:22 -0400 (0:00:00.261) 0:01:04.410 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:22:23 -0400 (0:00:00.137) 0:01:04.547 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:22:23 -0400 (0:00:00.212) 0:01:04.759 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:22:23 -0400 (0:00:00.186) 0:01:04.946 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:22:23 -0400 (0:00:00.193) 0:01:05.139 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003426", "end": "2024-08-12 05:22:24.141345", "rc": 0, "start": "2024-08-12 05:22:24.137919" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:22:24 -0400 (0:00:00.642) 0:01:05.782 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:22:24 -0400 (0:00:00.114) 0:01:05.896 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:22:24 -0400 (0:00:00.107) 0:01:06.004 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:22:24 -0400 (0:00:00.221) 0:01:06.225 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:24 -0400 (0:00:00.184) 0:01:06.409 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:25 -0400 (0:00:00.138) 0:01:06.548 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:25 -0400 (0:00:00.108) 0:01:06.656 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:25 -0400 (0:00:00.104) 0:01:06.761 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:25 -0400 (0:00:00.115) 0:01:06.876 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:26 -0400 (0:00:01.058) 0:01:07.935 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:27 -0400 (0:00:01.460) 0:01:09.395 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:28 -0400 (0:00:00.090) 0:01:09.485 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:28 -0400 (0:00:00.066) 0:01:09.552 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:28 -0400 (0:00:00.093) 0:01:09.646 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:28 -0400 (0:00:00.101) 0:01:09.748 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:28 -0400 (0:00:00.095) 0:01:09.843 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:28 -0400 (0:00:00.096) 0:01:09.939 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:28 -0400 (0:00:00.081) 0:01:10.020 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:28 -0400 (0:00:00.135) 0:01:10.156 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:28 -0400 (0:00:00.107) 0:01:10.263 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:28 -0400 (0:00:00.111) 0:01:10.375 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:29 -0400 (0:00:00.129) 0:01:10.505 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:29 -0400 (0:00:00.108) 0:01:10.613 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:29 -0400 (0:00:00.105) 0:01:10.718 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:29 -0400 (0:00:00.589) 0:01:11.308 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpmYaUZX" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:30 -0400 (0:00:00.403) 0:01:11.711 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:31 -0400 (0:00:01.014) 0:01:12.725 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:31 -0400 (0:00:00.107) 0:01:12.833 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:31 -0400 (0:00:00.117) 0:01:12.950 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:31 -0400 (0:00:00.090) 0:01:13.041 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:31 -0400 (0:00:00.104) 0:01:13.146 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:22:32 -0400 (0:00:00.763) 0:01:13.910 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:22:32 -0400 (0:00:00.141) 0:01:14.051 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:32 -0400 (0:00:00.208) 0:01:14.259 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:33 -0400 (0:00:00.236) 0:01:14.496 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:33 -0400 (0:00:00.237) 0:01:14.734 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:33 -0400 (0:00:00.126) 0:01:14.860 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:33 -0400 (0:00:00.127) 0:01:14.988 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:34 -0400 (0:00:01.046) 0:01:16.035 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:36 -0400 (0:00:01.516) 0:01:17.551 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:36 -0400 (0:00:00.209) 0:01:17.761 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:36 -0400 (0:00:00.178) 0:01:17.940 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:36 -0400 (0:00:00.123) 0:01:18.063 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:36 -0400 (0:00:00.121) 0:01:18.184 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:36 -0400 (0:00:00.107) 0:01:18.292 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:36 -0400 (0:00:00.129) 0:01:18.422 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:37 -0400 (0:00:00.137) 0:01:18.559 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:37 -0400 (0:00:00.185) 0:01:18.745 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:37 -0400 (0:00:00.176) 0:01:18.921 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:37 -0400 (0:00:00.121) 0:01:19.042 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:37 -0400 (0:00:00.081) 0:01:19.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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:37 -0400 (0:00:00.089) 0:01:19.213 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:37 -0400 (0:00:00.114) 0:01:19.328 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:38 -0400 (0:00:00.949) 0:01:20.278 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpmiMqen" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:39 -0400 (0:00:00.409) 0:01:20.687 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:40 -0400 (0:00:01.039) 0:01:21.727 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:40 -0400 (0:00:00.108) 0:01:21.835 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:40 -0400 (0:00:00.109) 0:01:21.944 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:40 -0400 (0:00:00.111) 0:01:22.056 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:40 -0400 (0:00:00.130) 0:01:22.186 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:22:41 -0400 (0:00:00.657) 0:01:22.844 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 12 August 2024 05:22:41 -0400 (0:00:00.203) 0:01:23.047 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:41 -0400 (0:00:00.294) 0:01:23.342 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:42 -0400 (0:00:00.314) 0:01:23.656 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:42 -0400 (0:00:00.152) 0:01:23.808 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:42 -0400 (0:00:00.124) 0:01:23.933 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:42 -0400 (0:00:00.109) 0:01:24.042 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:43 -0400 (0:00:01.046) 0:01:25.089 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:45 -0400 (0:00:01.628) 0:01:26.717 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:45 -0400 (0:00:00.074) 0:01:26.791 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:45 -0400 (0:00:00.112) 0:01:26.904 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:45 -0400 (0:00:00.219) 0:01:27.124 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:45 -0400 (0:00:00.211) 0:01:27.336 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:46 -0400 (0:00:00.191) 0:01:27.528 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:46 -0400 (0:00:00.220) 0:01:27.748 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:46 -0400 (0:00:00.184) 0:01:27.933 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:46 -0400 (0:00:00.191) 0:01:28.124 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:46 -0400 (0:00:00.114) 0:01:28.239 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:46 -0400 (0:00:00.107) 0:01:28.346 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:46 -0400 (0:00:00.089) 0:01:28.436 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:47 -0400 (0:00:00.101) 0:01:28.537 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:47 -0400 (0:00:00.115) 0:01:28.652 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:47 -0400 (0:00:00.749) 0:01:29.401 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmplYL9IC" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:48 -0400 (0:00:00.529) 0:01:29.931 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:49 -0400 (0:00:00.820) 0:01:30.752 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:49 -0400 (0:00:00.116) 0:01:30.868 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:49 -0400 (0:00:00.107) 0:01:30.976 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:49 -0400 (0:00:00.110) 0:01:31.087 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:49 -0400 (0:00:00.132) 0:01:31.219 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:22:50 -0400 (0:00:00.566) 0:01:31.786 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:22:50 -0400 (0:00:00.234) 0:01:32.021 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:22:50 -0400 (0:00:00.173) 0:01:32.194 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723454560.0547242, "block_size": 4096, "blocks": 0, "ctime": 1723454560.053724, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17648, "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": 1723454560.053724, "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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:22:51 -0400 (0:00:00.516) 0:01:32.711 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:22:51 -0400 (0:00:00.185) 0:01:32.896 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:22:51 -0400 (0:00:00.235) 0:01:33.132 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:22:51 -0400 (0:00:00.134) 0:01:33.267 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:22:52 -0400 (0:00:00.523) 0:01:33.790 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:22:52 -0400 (0:00:00.133) 0:01:33.924 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023105", "end": "2024-08-12 05:22:52.900038", "rc": 1, "start": "2024-08-12 05:22:52.876933" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:22:53 -0400 (0:00:00.559) 0:01:34.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:22:53 -0400 (0:00:00.101) 0:01:34.584 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:22:53 -0400 (0:00:00.107) 0:01:34.691 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:22:53 -0400 (0:00:00.088) 0:01:34.780 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:22:53 -0400 (0:00:00.164) 0:01:34.945 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:22:53 -0400 (0:00:00.117) 0:01:35.063 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:22:53 -0400 (0:00:00.115) 0:01:35.178 ********* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:22:53 -0400 (0:00:00.169) 0:01:35.347 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:22:54 -0400 (0:00:00.128) 0:01:35.476 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:22:54 -0400 (0:00:00.238) 0:01:35.714 ********* 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.049066", "end": "2024-08-12 05:22:54.658419", "rc": 0, "start": "2024-08-12 05:22:54.609353" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 12 August 2024 05:22:54 -0400 (0:00:00.571) 0:01:36.286 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:22:55 -0400 (0:00:00.219) 0:01:36.505 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:22:55 -0400 (0:00:00.110) 0:01:36.616 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:22:55 -0400 (0:00:00.201) 0:01:36.817 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:22:55 -0400 (0:00:00.214) 0:01:37.032 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:22:55 -0400 (0:00:00.213) 0:01:37.245 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003484", "end": "2024-08-12 05:22:56.104011", "rc": 0, "start": "2024-08-12 05:22:56.100527" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:22:56 -0400 (0:00:00.461) 0:01:37.707 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:22:56 -0400 (0:00:00.173) 0:01:37.881 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:22:56 -0400 (0:00:00.112) 0:01:37.994 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 TASK [Include network role] **************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:22:56 -0400 (0:00:00.308) 0:01:38.302 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:57 -0400 (0:00:00.218) 0:01:38.521 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:57 -0400 (0:00:00.253) 0:01:38.774 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:57 -0400 (0:00:00.125) 0:01:38.900 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:57 -0400 (0:00:00.081) 0:01:38.982 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:57 -0400 (0:00:00.083) 0:01:39.065 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:58 -0400 (0:00:01.032) 0:01:40.098 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:00 -0400 (0:00:01.690) 0:01:41.789 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:00 -0400 (0:00:00.123) 0:01:41.912 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:00 -0400 (0:00:00.113) 0:01:42.026 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:00 -0400 (0:00:00.101) 0:01:42.128 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:00 -0400 (0:00:00.111) 0:01:42.239 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:00 -0400 (0:00:00.111) 0:01:42.351 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:01 -0400 (0:00:00.140) 0:01:42.492 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:01 -0400 (0:00:00.130) 0:01:42.622 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:01 -0400 (0:00:00.218) 0:01:42.841 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:01 -0400 (0:00:00.105) 0:01:42.947 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:01 -0400 (0:00:00.126) 0:01:43.074 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:01 -0400 (0:00:00.228) 0:01:43.302 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:01 -0400 (0:00:00.111) 0:01:43.414 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:02 -0400 (0:00:00.085) 0:01:43.499 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:02 -0400 (0:00:00.589) 0:01:44.088 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpDLeZJt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:03 -0400 (0:00:00.468) 0:01:44.557 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:03 -0400 (0:00:00.622) 0:01:45.180 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:03 -0400 (0:00:00.083) 0:01:45.263 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:03 -0400 (0:00:00.084) 0:01:45.348 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:03 -0400 (0:00:00.075) 0:01:45.423 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:04 -0400 (0:00:00.099) 0:01:45.522 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:23:04 -0400 (0:00:00.425) 0:01:45.947 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:23:04 -0400 (0:00:00.115) 0:01:46.063 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:04 -0400 (0:00:00.155) 0:01:46.218 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:04 -0400 (0:00:00.152) 0:01:46.371 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:05 -0400 (0:00:00.139) 0:01:46.511 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:05 -0400 (0:00:00.107) 0:01:46.618 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:05 -0400 (0:00:00.087) 0:01:46.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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:06 -0400 (0:00:01.014) 0:01:47.720 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:07 -0400 (0:00:01.401) 0:01:49.121 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:07 -0400 (0:00:00.112) 0:01:49.234 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:07 -0400 (0:00:00.110) 0:01:49.344 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:07 -0400 (0:00:00.112) 0:01:49.456 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:08 -0400 (0:00:00.109) 0:01:49.565 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:08 -0400 (0:00:00.088) 0:01:49.653 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:08 -0400 (0:00:00.090) 0:01:49.744 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:08 -0400 (0:00:00.075) 0:01:49.819 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:08 -0400 (0:00:00.179) 0:01:49.999 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:08 -0400 (0:00:00.297) 0:01:50.296 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:09 -0400 (0:00:00.204) 0:01:50.501 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:09 -0400 (0:00:00.244) 0:01:50.745 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:09 -0400 (0:00:00.138) 0:01:50.884 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:09 -0400 (0:00:00.124) 0:01:51.009 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:10 -0400 (0:00:00.770) 0:01:51.779 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmp7F1Bcp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:10 -0400 (0:00:00.407) 0:01:52.187 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:11 -0400 (0:00:01.114) 0:01:53.302 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:11 -0400 (0:00:00.105) 0:01:53.407 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:12 -0400 (0:00:00.091) 0:01:53.498 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:12 -0400 (0:00:00.102) 0:01:53.601 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:12 -0400 (0:00:00.105) 0:01:53.707 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 12 August 2024 05:23:12 -0400 (0:00:00.559) 0:01:54.267 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:13 -0400 (0:00:00.254) 0:01:54.522 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:13 -0400 (0:00:00.533) 0:01:55.056 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:13 -0400 (0:00:00.246) 0:01:55.302 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:13 -0400 (0:00:00.123) 0:01:55.425 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:14 -0400 (0:00:00.116) 0:01:55.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 : Check which packages are installed] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:15 -0400 (0:00:01.016) 0:01:56.559 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:16 -0400 (0:00:01.493) 0:01:58.052 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:16 -0400 (0:00:00.121) 0:01:58.174 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:16 -0400 (0:00:00.106) 0:01:58.280 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:16 -0400 (0:00:00.166) 0:01:58.446 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:17 -0400 (0:00:00.111) 0:01:58.558 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:17 -0400 (0:00:00.118) 0:01:58.677 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:17 -0400 (0:00:00.116) 0:01:58.793 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:17 -0400 (0:00:00.173) 0:01:58.967 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:17 -0400 (0:00:00.177) 0:01:59.144 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:17 -0400 (0:00:00.123) 0:01:59.268 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:17 -0400 (0:00:00.109) 0:01:59.377 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:18 -0400 (0:00:00.100) 0:01:59.478 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:18 -0400 (0:00:00.076) 0:01:59.555 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:18 -0400 (0:00:00.065) 0:01:59.621 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:18 -0400 (0:00:00.547) 0:02:00.168 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpm3RcOO" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:19 -0400 (0:00:00.417) 0:02:00.586 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:19 -0400 (0:00:00.852) 0:02:01.438 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:20 -0400 (0:00:00.104) 0:02:01.542 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:20 -0400 (0:00:00.198) 0:02:01.741 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:20 -0400 (0:00:00.207) 0:02:01.948 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:20 -0400 (0:00:00.191) 0:02:02.140 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:23:21 -0400 (0:00:00.594) 0:02:02.735 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:23:21 -0400 (0:00:00.347) 0:02:03.082 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:21 -0400 (0:00:00.244) 0:02:03.327 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:22 -0400 (0:00:00.229) 0:02:03.556 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:22 -0400 (0:00:00.131) 0:02:03.688 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:22 -0400 (0:00:00.105) 0:02:03.793 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:22 -0400 (0:00:00.117) 0:02:03.911 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:23 -0400 (0:00:01.164) 0:02:05.076 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:25 -0400 (0:00:01.753) 0:02:06.829 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:25 -0400 (0:00:00.091) 0:02:06.921 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:25 -0400 (0:00:00.161) 0:02:07.083 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:25 -0400 (0:00:00.117) 0:02:07.200 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:25 -0400 (0:00:00.108) 0:02:07.309 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:25 -0400 (0:00:00.104) 0:02:07.413 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:26 -0400 (0:00:00.096) 0:02:07.509 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:26 -0400 (0:00:00.121) 0:02:07.631 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:26 -0400 (0:00:00.157) 0:02:07.789 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:26 -0400 (0:00:00.100) 0:02:07.890 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:26 -0400 (0:00:00.104) 0:02:07.995 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:26 -0400 (0:00:00.116) 0:02:08.111 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:26 -0400 (0:00:00.106) 0:02:08.218 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:26 -0400 (0:00:00.107) 0:02:08.326 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:27 -0400 (0:00:00.643) 0:02:08.970 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmp2Jv7L7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:28 -0400 (0:00:00.774) 0:02:09.744 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:29 -0400 (0:00:00.878) 0:02:10.623 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:29 -0400 (0:00:00.096) 0:02:10.719 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:29 -0400 (0:00:00.091) 0:02:10.811 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:29 -0400 (0:00:00.127) 0:02:10.938 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:29 -0400 (0:00:00.074) 0:02:11.013 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:23:30 -0400 (0:00:00.481) 0:02:11.494 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:23:30 -0400 (0:00:00.381) 0:02:11.876 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:23:30 -0400 (0:00:00.276) 0:02:12.153 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:23:30 -0400 (0:00:00.110) 0:02:12.264 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:23:31 -0400 (0:00:00.615) 0:02:12.880 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:23:31 -0400 (0:00:00.116) 0:02:12.996 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023301", "end": "2024-08-12 05:23:31.864873", "rc": 1, "start": "2024-08-12 05:23:31.841572" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:23:31 -0400 (0:00:00.433) 0:02:13.429 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:23:32 -0400 (0:00:00.105) 0:02:13.535 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:23:32 -0400 (0:00:00.147) 0:02:13.683 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:23:32 -0400 (0:00:00.108) 0:02:13.791 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:23:32 -0400 (0:00:00.206) 0:02:13.998 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:23:32 -0400 (0:00:00.149) 0:02:14.148 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:23:32 -0400 (0:00:00.131) 0:02:14.279 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:23:32 -0400 (0:00:00.149) 0:02:14.428 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:23:33 -0400 (0:00:00.189) 0:02:14.618 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:23:33 -0400 (0:00:00.267) 0:02:14.885 ********* 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.049719", "end": "2024-08-12 05:23:33.763438", "rc": 0, "start": "2024-08-12 05:23:33.713719" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 12 August 2024 05:23:33 -0400 (0:00:00.479) 0:02:15.364 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:23:34 -0400 (0:00:00.176) 0:02:15.541 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:23:34 -0400 (0:00:00.105) 0:02:15.646 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:23:34 -0400 (0:00:00.256) 0:02:15.903 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:23:34 -0400 (0:00:00.170) 0:02:16.073 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:23:34 -0400 (0:00:00.179) 0:02:16.253 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003505", "end": "2024-08-12 05:23:35.061861", "rc": 0, "start": "2024-08-12 05:23:35.058356" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:23:35 -0400 (0:00:00.402) 0:02:16.655 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:23:35 -0400 (0:00:00.073) 0:02:16.728 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:23:35 -0400 (0:00:00.080) 0:02:16.809 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:23:35 -0400 (0:00:00.187) 0:02:16.997 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:35 -0400 (0:00:00.308) 0:02:17.305 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:36 -0400 (0:00:00.225) 0:02:17.531 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:36 -0400 (0:00:00.134) 0:02:17.665 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:36 -0400 (0:00:00.128) 0:02:17.793 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:36 -0400 (0:00:00.138) 0:02:17.932 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:37 -0400 (0:00:01.156) 0:02:19.088 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:39 -0400 (0:00:01.520) 0:02:20.609 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:39 -0400 (0:00:00.125) 0:02:20.734 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:39 -0400 (0:00:00.123) 0:02:20.857 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:39 -0400 (0:00:00.126) 0:02:20.984 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:39 -0400 (0:00:00.150) 0:02:21.135 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:39 -0400 (0:00:00.125) 0:02:21.260 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:39 -0400 (0:00:00.185) 0:02:21.445 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:40 -0400 (0:00:00.125) 0:02:21.571 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:40 -0400 (0:00:00.145) 0:02:21.717 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:40 -0400 (0:00:00.113) 0:02:21.831 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:40 -0400 (0:00:00.173) 0:02:22.004 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:40 -0400 (0:00:00.236) 0:02:22.241 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:40 -0400 (0:00:00.134) 0:02:22.375 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:41 -0400 (0:00:00.123) 0:02:22.498 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:41 -0400 (0:00:00.632) 0:02:23.131 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpUfIuky" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:42 -0400 (0:00:00.453) 0:02:23.585 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:42 -0400 (0:00:00.755) 0:02:24.341 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:43 -0400 (0:00:00.185) 0:02:24.526 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:43 -0400 (0:00:00.113) 0:02:24.639 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:43 -0400 (0:00:00.115) 0:02:24.755 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:43 -0400 (0:00:00.104) 0:02:24.860 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:23:43 -0400 (0:00:00.562) 0:02:25.422 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:23:44 -0400 (0:00:00.168) 0:02:25.591 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:44 -0400 (0:00:00.249) 0:02:25.841 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:44 -0400 (0:00:00.335) 0:02:26.176 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:44 -0400 (0:00:00.151) 0:02:26.328 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:44 -0400 (0:00:00.093) 0:02:26.421 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:45 -0400 (0:00:00.091) 0:02:26.513 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:45 -0400 (0:00:00.947) 0:02:27.461 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:47 -0400 (0:00:01.419) 0:02:28.881 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:47 -0400 (0:00:00.120) 0:02:29.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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:47 -0400 (0:00:00.132) 0:02:29.133 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:47 -0400 (0:00:00.106) 0:02:29.240 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:47 -0400 (0:00:00.112) 0:02:29.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:47 -0400 (0:00:00.115) 0:02:29.468 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:48 -0400 (0:00:00.117) 0:02:29.585 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:48 -0400 (0:00:00.096) 0:02:29.682 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:48 -0400 (0:00:00.183) 0:02:29.865 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:48 -0400 (0:00:00.107) 0:02:29.972 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:48 -0400 (0:00:00.082) 0:02:30.055 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:48 -0400 (0:00:00.096) 0:02:30.152 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:48 -0400 (0:00:00.070) 0:02:30.222 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:48 -0400 (0:00:00.111) 0:02:30.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:49 -0400 (0:00:00.552) 0:02:30.886 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpxXndth" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:49 -0400 (0:00:00.540) 0:02:31.427 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:51 -0400 (0:00:01.087) 0:02:32.514 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:51 -0400 (0:00:00.111) 0:02:32.625 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:51 -0400 (0:00:00.142) 0:02:32.768 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:51 -0400 (0:00:00.186) 0:02:32.955 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:51 -0400 (0:00:00.134) 0:02:33.090 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:23:52 -0400 (0:00:00.476) 0:02:33.566 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:52 -0400 (0:00:00.158) 0:02:33.725 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:52 -0400 (0:00:00.140) 0:02:33.865 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:52 -0400 (0:00:00.115) 0:02:33.981 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:52 -0400 (0:00:00.135) 0:02:34.116 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:52 -0400 (0:00:00.170) 0:02:34.287 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:54 -0400 (0:00:01.212) 0:02:35.499 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:55 -0400 (0:00:01.466) 0:02:36.966 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:55 -0400 (0:00:00.118) 0:02:37.085 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:55 -0400 (0:00:00.106) 0:02:37.191 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:55 -0400 (0:00:00.112) 0:02:37.304 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:55 -0400 (0:00:00.105) 0:02:37.409 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:56 -0400 (0:00:00.107) 0:02:37.516 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:56 -0400 (0:00:00.182) 0:02:37.699 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:56 -0400 (0:00:00.108) 0:02:37.808 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:56 -0400 (0:00:00.228) 0:02:38.037 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:56 -0400 (0:00:00.121) 0:02:38.159 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:56 -0400 (0:00:00.122) 0:02:38.281 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:56 -0400 (0:00:00.162) 0:02:38.444 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:57 -0400 (0:00:00.128) 0:02:38.573 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:57 -0400 (0:00:00.233) 0:02:38.807 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:57 -0400 (0:00:00.580) 0:02:39.387 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpj9M4tL" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:58 -0400 (0:00:00.446) 0:02:39.834 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:59 -0400 (0:00:00.724) 0:02:40.559 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:59 -0400 (0:00:00.067) 0:02:40.627 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:59 -0400 (0:00:00.071) 0:02:40.698 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:59 -0400 (0:00:00.095) 0:02:40.793 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:59 -0400 (0:00:00.092) 0:02:40.886 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:23:59 -0400 (0:00:00.482) 0:02:41.369 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:24:00 -0400 (0:00:00.270) 0:02:41.640 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:24:00 -0400 (0:00:00.343) 0:02:41.983 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:24:00 -0400 (0:00:00.347) 0:02:42.331 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:24:01 -0400 (0:00:00.207) 0:02:42.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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:24:01 -0400 (0:00:00.224) 0:02:42.764 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:24:01 -0400 (0:00:00.154) 0:02:42.918 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:24:02 -0400 (0:00:01.107) 0:02:44.025 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:24:03 -0400 (0:00:01.444) 0:02:45.470 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:24:04 -0400 (0:00:00.112) 0:02:45.582 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:24:04 -0400 (0:00:00.159) 0:02:45.742 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:24:04 -0400 (0:00:00.100) 0:02:45.843 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:24:04 -0400 (0:00:00.078) 0:02:45.922 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:24:04 -0400 (0:00:00.081) 0:02:46.003 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:24:04 -0400 (0:00:00.081) 0:02:46.085 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:24:04 -0400 (0:00:00.073) 0:02:46.158 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:24:04 -0400 (0:00:00.161) 0:02:46.320 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:24:04 -0400 (0:00:00.086) 0:02:46.406 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:24:05 -0400 (0:00:00.071) 0:02:46.477 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:24:05 -0400 (0:00:00.070) 0:02:46.548 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:24:05 -0400 (0:00:00.066) 0:02:46.614 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:24:05 -0400 (0:00:00.071) 0:02:46.686 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:24:05 -0400 (0:00:00.526) 0:02:47.212 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11838PETDOd/tmpnkl2dn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:24:06 -0400 (0:00:00.421) 0:02:47.634 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:24:06 -0400 (0:00:00.701) 0:02:48.335 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:24:06 -0400 (0:00:00.135) 0:02:48.471 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:24:07 -0400 (0:00:00.107) 0:02:48.579 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:24:07 -0400 (0:00:00.087) 0:02:48.667 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:24:07 -0400 (0:00:00.078) 0:02:48.746 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:24:07 -0400 (0:00:00.376) 0:02:49.122 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:24:07 -0400 (0:00:00.152) 0:02:49.274 ********* included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:24:07 -0400 (0:00:00.132) 0:02:49.407 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:24:08 -0400 (0:00:00.070) 0:02:49.477 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:24:08 -0400 (0:00:00.335) 0:02:49.813 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:24:08 -0400 (0:00:00.064) 0:02:49.878 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022878", "end": "2024-08-12 05:24:08.674008", "rc": 1, "start": "2024-08-12 05:24:08.651130" } 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:24:08 -0400 (0:00:00.355) 0:02:50.234 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:24:08 -0400 (0:00:00.077) 0:02:50.311 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:24:08 -0400 (0:00:00.107) 0:02:50.419 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:24:09 -0400 (0:00:00.114) 0:02:50.533 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:24:09 -0400 (0:00:00.173) 0:02:50.706 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:24:09 -0400 (0:00:00.105) 0:02:50.811 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 12 August 2024 05:24:09 -0400 (0:00:00.099) 0:02:50.911 ********* [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.678169", "end": "2024-08-12 05:24:10.580166", "rc": 0, "start": "2024-08-12 05:24:09.901997" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 12 August 2024 05:24:10 -0400 (0:00:01.350) 0:02:52.261 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 12 August 2024 05:24:10 -0400 (0:00:00.167) 0:02:52.429 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:24:11 -0400 (0:00:00.103) 0:02:52.533 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:24:11 -0400 (0:00:00.114) 0:02:52.647 ********* 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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:24:11 -0400 (0:00:00.107) 0:02:52.755 ********* included: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 included: /tmp/collections-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:24:11 -0400 (0:00:00.169) 0:02:52.924 ********* 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.052316", "end": "2024-08-12 05:24:11.796435", "rc": 0, "start": "2024-08-12 05:24:11.744119" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 12 August 2024 05:24:11 -0400 (0:00:00.519) 0:02:53.444 ********* 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.007919", "end": "2024-08-12 05:24:12.416834", "rc": 0, "start": "2024-08-12 05:24:12.408915" } 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:14:fc:08:83:3d brd ff:ff:ff:ff:ff:ff inet 10.31.44.233/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2747sec preferred_lft 2747sec inet6 fe80::14:fcff:fe08:833d/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.44.233 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 12 August 2024 05:24:12 -0400 (0:00:00.578) 0:02:54.023 ********* 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.419051", "end": "2024-08-12 05:24:13.285128", "rc": 0, "start": "2024-08-12 05:24:12.866077" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1286 0 --:--:-- --:--:-- --:--:-- 1292 % 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 1805 0 --:--:-- --:--:-- --:--:-- 1807 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=337 changed=13 unreachable=0 failed=0 skipped=285 rescued=0 ignored=10 Monday 12 August 2024 05:24:13 -0400 (0:00:00.779) 0:02:54.802 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.88s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-Uma/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-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-Uma/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-Uma/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-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get NetworkManager RPM version ------------------------------------------ 1.35s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 fedora.linux_system_roles.network : Check which services are running ---- 1.21s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.21s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-Uma/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21