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-rSk/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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.024) 0:00:00.024 ******* ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Tuesday 08 October 2024 02:07:05 -0400 (0:00:01.037) 0:00:01.061 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.146) 0:00:01.208 ******* ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.544) 0:00:01.753 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.968) 0:00:02.721 ******* ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.094) 0:00:02.815 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.081) 0:00:02.896 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.111) 0:00:03.008 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.523) 0:00:03.532 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.995) 0:00:04.528 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.155976", "end": "2024-10-08 02:07:09.055225", "rc": 0, "start": "2024-10-08 02:07:08.899249" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.591) 0:00:05.119 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.041) 0:00:05.161 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.039) 0:00:05.200 ******* ok: [managed-node2] => { "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.039) 0:00:05.239 ******* ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.664) 0:00:05.904 ******* ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 08 October 2024 02:07:09 -0400 (0:00:00.034) 0:00:05.938 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.061) 0:00:06.000 ******* ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.035) 0:00:06.035 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.082) 0:00:06.118 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.047) 0:00:06.165 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.054) 0:00:06.219 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003039", "end": "2024-10-08 02:07:10.606920", "rc": 0, "start": "2024-10-08 02:07:10.603881" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.385) 0:00:06.605 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.042) 0:00:06.647 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.041) 0:00:06.689 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:07:10 -0400 (0:00:00.108) 0:00:06.797 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007936", "end": "2024-10-08 02:07:11.231915", "rc": 1, "start": "2024-10-08 02:07:11.223979" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.446) 0:00:07.243 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.058) 0:00:07.302 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.318) 0:00:07.620 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.047) 0:00:07.667 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.061) 0:00:07.729 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.193) 0:00:07.923 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.057) 0:00:07.980 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.029) 0:00:08.010 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.025) 0:00:08.035 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.024) 0:00:08.060 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:13 -0400 (0:00:01.023) 0:00:09.084 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:14 -0400 (0:00:01.798) 0:00:10.882 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.163) 0:00:11.045 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.112) 0:00:11.158 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.088) 0:00:11.246 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.087) 0:00:11.334 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.112) 0:00:11.446 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.130) 0:00:11.576 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.125) 0:00:11.701 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.203) 0:00:11.905 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.140) 0:00:12.046 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.151) 0:00:12.197 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.098) 0:00:12.295 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.093) 0:00:12.389 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.121) 0:00:12.511 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:17 -0400 (0:00:01.056) 0:00:13.568 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpTyHCAH" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.461) 0:00:14.029 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:19 -0400 (0:00:01.344) 0:00:15.374 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.094) 0:00:15.468 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.087) 0:00:15.555 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.080) 0:00:15.636 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.086) 0:00:15.722 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.556) 0:00:16.279 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.143) 0:00:16.422 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.325) 0:00:16.748 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.252) 0:00:17.000 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.119) 0:00:17.119 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367639.2505376, "block_size": 4096, "blocks": 8, "ctime": 1728367639.2515378, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367639.2515378, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.831) 0:00:17.950 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.190) 0:00:18.141 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023801", "end": "2024-10-08 02:07:22.654005", "rc": 1, "start": "2024-10-08 02:07:22.630204" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.595) 0:00:18.736 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.129) 0:00:18.866 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003157", "end": "2024-10-08 02:07:23.261368", "rc": 0, "start": "2024-10-08 02:07:23.258211" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.639) 0:00:19.505 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.149) 0:00:19.655 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003128", "end": "2024-10-08 02:07:24.030627", "rc": 0, "start": "2024-10-08 02:07:24.027499" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.473) 0:00:20.128 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.150) 0:00:20.279 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.130) 0:00:20.409 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.123) 0:00:20.533 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.153) 0:00:20.687 ******* skipping: [managed-node2] => (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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.244) 0:00:20.931 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.140) 0:00:21.071 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.236) 0:00:21.308 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041377", "end": "2024-10-08 02:07:25.692426", "rc": 1, "start": "2024-10-08 02:07:25.651049" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.507) 0:00:21.816 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.189) 0:00:22.005 ******* ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.090) 0:00:22.096 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.136) 0:00:22.232 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.170) 0:00:22.403 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.120) 0:00:22.523 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003993", "end": "2024-10-08 02:07:27.823642", "rc": 0, "start": "2024-10-08 02:07:26.819649" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:28 -0400 (0:00:01.425) 0:00:23.948 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.151) 0:00:24.100 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.115) 0:00:24.215 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.311) 0:00:24.526 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006248", "end": "2024-10-08 02:07:28.965044", "rc": 1, "start": "2024-10-08 02:07:28.958796" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.607) 0:00:25.134 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.382) 0:00:25.516 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.456) 0:00:25.973 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.142) 0:00:26.116 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.275) 0:00:26.392 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.309) 0:00:26.702 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.321) 0:00:27.023 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.153) 0:00:27.177 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.124) 0:00:27.301 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.127) 0:00:27.429 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:32 -0400 (0:00:01.049) 0:00:28.479 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:34 -0400 (0:00:01.638) 0:00:30.118 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.202) 0:00:30.320 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.206) 0:00:30.527 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.155) 0:00:30.682 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.110) 0:00:30.792 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.090) 0:00:30.883 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.083) 0:00:30.966 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.103) 0:00:31.070 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.192) 0:00:31.263 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.111) 0:00:31.374 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.129) 0:00:31.503 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.137) 0:00:31.641 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.093) 0:00:31.734 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.093) 0:00:31.828 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.534) 0:00:32.362 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmp1IQiwZ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.570) 0:00:32.932 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.896) 0:00:33.829 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.115) 0:00:33.945 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.226) 0:00:34.171 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.206) 0:00:34.378 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.139) 0:00:34.518 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.416) 0:00:34.934 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.078) 0:00:35.013 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.199) 0:00:35.213 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.198) 0:00:35.412 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:40 -0400 (0:00:00.633) 0:00:36.045 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:40 -0400 (0:00:00.118) 0:00:36.163 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:40 -0400 (0:00:00.207) 0:00:36.371 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:40 -0400 (0:00:00.155) 0:00:36.527 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367657.7426329, "block_size": 4096, "blocks": 8, "ctime": 1728367657.7426329, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367657.7426329, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.748) 0:00:37.275 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.125) 0:00:37.400 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019214", "end": "2024-10-08 02:07:41.779209", "rc": 1, "start": "2024-10-08 02:07:41.759995" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.504) 0:00:37.905 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.221) 0:00:38.127 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003141", "end": "2024-10-08 02:07:42.557075", "rc": 0, "start": "2024-10-08 02:07:42.553934" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.468) 0:00:38.596 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.188) 0:00:38.785 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003126", "end": "2024-10-08 02:07:43.297343", "rc": 0, "start": "2024-10-08 02:07:43.294217" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.574) 0:00:39.359 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.121) 0:00:39.480 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.123) 0:00:39.603 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.115) 0:00:39.719 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.116) 0:00:39.836 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.126) 0:00:39.962 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.208) 0:00:40.171 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.217) 0:00:40.389 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037297", "end": "2024-10-08 02:07:44.775379", "rc": 1, "start": "2024-10-08 02:07:44.738082" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.551) 0:00:40.941 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.371) 0:00:41.312 ******* ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.242) 0:00:41.555 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.413) 0:00:41.968 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.228) 0:00:42.196 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.215) 0:00:42.411 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003063", "end": "2024-10-08 02:07:46.924013", "rc": 0, "start": "2024-10-08 02:07:46.920950" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.554) 0:00:42.966 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.075) 0:00:43.042 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.115) 0:00:43.157 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.245) 0:00:43.402 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.266) 0:00:43.669 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.347) 0:00:44.017 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.175) 0:00:44.193 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.125) 0:00:44.318 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.117) 0:00:44.436 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:49 -0400 (0:00:01.313) 0:00:45.750 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:51 -0400 (0:00:01.224) 0:00:46.975 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.108) 0:00:47.083 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.114) 0:00:47.198 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.119) 0:00:47.318 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.105) 0:00:47.423 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.086) 0:00:47.509 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.082) 0:00:47.592 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.098) 0:00:47.691 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.189) 0:00:47.880 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.118) 0:00:47.998 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.116) 0:00:48.115 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.183) 0:00:48.298 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.116) 0:00:48.415 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.126) 0:00:48.541 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.868) 0:00:49.410 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpamSca7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.519) 0:00:49.930 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.783) 0:00:50.714 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.132) 0:00:50.846 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.120) 0:00:50.966 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.132) 0:00:51.099 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.132) 0:00:51.231 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.668) 0:00:51.900 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.152) 0:00:52.052 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.167) 0:00:52.220 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.227) 0:00:52.447 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.310) 0:00:52.757 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.167) 0:00:52.925 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.123) 0:00:53.048 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.141) 0:00:53.189 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:58 -0400 (0:00:01.003) 0:00:54.193 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:59 -0400 (0:00:01.489) 0:00:55.682 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.122) 0:00:55.804 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.082) 0:00:55.886 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.073) 0:00:55.960 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.137) 0:00:56.097 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.102) 0:00:56.200 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.106) 0:00:56.307 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.078) 0:00:56.386 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.157) 0:00:56.543 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.094) 0:00:56.638 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.105) 0:00:56.743 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.126) 0:00:56.870 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.134) 0:00:57.004 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.170) 0:00:57.175 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.726) 0:00:57.901 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpQgWax_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.682) 0:00:58.584 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.962) 0:00:59.546 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.116) 0:00:59.663 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.120) 0:00:59.783 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.123) 0:00:59.907 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.100) 0:01:00.008 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.574) 0:01:00.583 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.270) 0:01:00.853 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.236) 0:01:01.089 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367683.4107726, "block_size": 4096, "blocks": 0, "ctime": 1728367683.4077725, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17683, "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": 1728367683.4077725, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.416) 0:01:01.505 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.154) 0:01:01.660 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.333) 0:01:01.993 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.119) 0:01:02.113 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367683.2547717, "block_size": 4096, "blocks": 8, "ctime": 1728367674.6387227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22488, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367674.6387227, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.785) 0:01:02.898 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.129) 0:01:03.028 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020258", "end": "2024-10-08 02:08:07.424506", "rc": 1, "start": "2024-10-08 02:08:07.404248" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.523) 0:01:03.551 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.133) 0:01:03.685 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003164", "end": "2024-10-08 02:08:08.079075", "rc": 0, "start": "2024-10-08 02:08:08.075911" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.554) 0:01:04.239 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.138) 0:01:04.378 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003123", "end": "2024-10-08 02:08:08.743063", "rc": 0, "start": "2024-10-08 02:08:08.739940" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.449) 0:01:04.828 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.107) 0:01:04.936 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.082) 0:01:05.018 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.083) 0:01:05.101 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.121) 0:01:05.223 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.147) 0:01:05.370 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.144) 0:01:05.515 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.355) 0:01:05.870 ******* ok: [managed-node2] => { "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.046117", "end": "2024-10-08 02:08:10.326783", "rc": 0, "start": "2024-10-08 02:08:10.280666" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.540) 0:01:06.411 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.211) 0:01:06.622 ******* ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.125) 0:01:06.747 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.198) 0:01:06.946 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.198) 0:01:07.144 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.255) 0:01:07.400 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003061", "end": "2024-10-08 02:08:11.724714", "rc": 0, "start": "2024-10-08 02:08:11.721653" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.386) 0:01:07.786 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.135) 0:01:07.922 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.119) 0:01:08.041 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.231) 0:01:08.273 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.205) 0:01:08.478 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.170) 0:01:08.649 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.091) 0:01:08.741 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.077) 0:01:08.818 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.088) 0:01:08.907 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.933) 0:01:09.840 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:15 -0400 (0:00:01.370) 0:01:11.211 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.094) 0:01:11.305 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.095) 0:01:11.401 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.076) 0:01:11.478 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.083) 0:01:11.561 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.119) 0:01:11.680 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.129) 0:01:11.810 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.129) 0:01:11.940 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.208) 0:01:12.149 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.113) 0:01:12.262 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.140) 0:01:12.403 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.135) 0:01:12.539 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.151) 0:01:12.690 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.311) 0:01:13.002 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.662) 0:01:13.665 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpKyKmkp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.765) 0:01:14.430 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.775) 0:01:15.206 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.206) 0:01:15.413 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.208) 0:01:15.622 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.263) 0:01:15.885 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.159) 0:01:16.045 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.583) 0:01:16.629 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.178) 0:01:16.807 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.190) 0:01:16.998 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.184) 0:01:17.182 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.144) 0:01:17.327 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.124) 0:01:17.452 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.149) 0:01:17.601 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:22 -0400 (0:00:01.017) 0:01:18.619 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:24 -0400 (0:00:01.625) 0:01:20.245 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.136) 0:01:20.381 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.197) 0:01:20.578 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.183) 0:01:20.761 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.195) 0:01:20.957 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.161) 0:01:21.118 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.120) 0:01:21.239 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.105) 0:01:21.345 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.190) 0:01:21.535 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.130) 0:01:21.666 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.126) 0:01:21.792 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.148) 0:01:21.941 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.151) 0:01:22.092 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.186) 0:01:22.279 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.540) 0:01:22.819 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpeOnZDk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.474) 0:01:23.294 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:28 -0400 (0:00:01.158) 0:01:24.452 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.246) 0:01:24.699 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.241) 0:01:24.940 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.144) 0:01:25.085 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.112) 0:01:25.197 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.462) 0:01:25.660 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.187) 0:01:25.847 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.244) 0:01:26.092 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.259) 0:01:26.351 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.141) 0:01:26.493 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.100) 0:01:26.593 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.090) 0:01:26.683 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:31 -0400 (0:00:01.140) 0:01:27.824 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:33 -0400 (0:00:01.773) 0:01:29.597 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.153) 0:01:29.751 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.119) 0:01:29.870 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.140) 0:01:30.011 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.118) 0:01:30.129 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.145) 0:01:30.275 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.199) 0:01:30.474 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.157) 0:01:30.632 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.224) 0:01:30.856 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:35 -0400 (0:00:00.124) 0:01:30.981 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:35 -0400 (0:00:00.112) 0:01:31.094 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:35 -0400 (0:00:00.111) 0:01:31.205 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:35 -0400 (0:00:00.155) 0:01:31.361 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:35 -0400 (0:00:00.132) 0:01:31.493 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.750) 0:01:32.244 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpaMNUvS" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.641) 0:01:32.885 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:38 -0400 (0:00:01.057) 0:01:33.943 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.121) 0:01:34.065 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.132) 0:01:34.197 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.117) 0:01:34.315 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.089) 0:01:34.404 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.471) 0:01:34.875 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.192) 0:01:35.068 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.199) 0:01:35.267 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728367708.195914, "block_size": 4096, "blocks": 0, "ctime": 1728367708.1949139, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17683, "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": 1728367708.1949139, "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.453) 0:01:35.721 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.099) 0:01:35.820 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.153) 0:01:35.974 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.095) 0:01:36.069 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.509) 0:01:36.578 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.149) 0:01:36.728 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019424", "end": "2024-10-08 02:08:41.150104", "rc": 1, "start": "2024-10-08 02:08:41.130680" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.596) 0:01:37.324 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.231) 0:01:37.555 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.159) 0:01:37.714 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.164) 0:01:37.879 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.296) 0:01:38.176 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.188) 0:01:38.365 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.181) 0:01:38.546 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.165) 0:01:38.711 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.169) 0:01:38.880 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.208) 0:01:39.089 ******* ok: [managed-node2] => { "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.042960", "end": "2024-10-08 02:08:43.463764", "rc": 0, "start": "2024-10-08 02:08:43.420804" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.451) 0:01:39.541 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.369) 0:01:39.911 ******* ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.139) 0:01:40.050 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.273) 0:01:40.324 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.159) 0:01:40.483 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.128) 0:01:40.611 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003009", "end": "2024-10-08 02:08:44.937090", "rc": 0, "start": "2024-10-08 02:08:44.934081" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.416) 0:01:41.028 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.338) 0:01:41.367 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.116) 0:01:41.483 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.255) 0:01:41.739 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.240) 0:01:41.980 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.261) 0:01:42.242 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.154) 0:01:42.396 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.141) 0:01:42.537 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.118) 0:01:42.656 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:47 -0400 (0:00:01.175) 0:01:43.831 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:49 -0400 (0:00:01.592) 0:01:45.423 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.080) 0:01:45.504 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.099) 0:01:45.603 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.110) 0:01:45.714 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.118) 0:01:45.832 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.119) 0:01:45.952 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.127) 0:01:46.079 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.140) 0:01:46.220 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.197) 0:01:46.418 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.119) 0:01:46.537 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.114) 0:01:46.651 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.128) 0:01:46.780 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.118) 0:01:46.898 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.124) 0:01:47.023 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.579) 0:01:47.603 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpgL_er1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.407) 0:01:48.010 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.797) 0:01:48.808 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.072) 0:01:48.881 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.075) 0:01:48.956 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.109) 0:01:49.066 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.116) 0:01:49.183 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.405) 0:01:49.588 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.097) 0:01:49.686 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.142) 0:01:49.828 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.242) 0:01:50.070 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.145) 0:01:50.216 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.117) 0:01:50.333 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.121) 0:01:50.455 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:55 -0400 (0:00:00.989) 0:01:51.445 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:56 -0400 (0:00:01.356) 0:01:52.802 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:56 -0400 (0:00:00.129) 0:01:52.931 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.118) 0:01:53.050 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.114) 0:01:53.164 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.116) 0:01:53.281 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.109) 0:01:53.390 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.125) 0:01:53.516 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.233) 0:01:53.750 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.216) 0:01:53.966 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.130) 0:01:54.096 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.096) 0:01:54.192 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.132) 0:01:54.325 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.116) 0:01:54.441 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.335) 0:01:54.777 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.922) 0:01:55.700 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpcviRfM" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.451) 0:01:56.151 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.881) 0:01:57.032 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.123) 0:01:57.156 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.123) 0:01:57.279 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.131) 0:01:57.411 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.125) 0:01:57.536 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.771) 0:01:58.308 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.286) 0:01:58.595 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.256) 0:01:58.852 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.143) 0:01:58.996 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.177) 0:01:59.174 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.102) 0:01:59.277 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:04 -0400 (0:00:01.065) 0:02:00.342 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:05 -0400 (0:00:01.415) 0:02:01.758 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.117) 0:02:01.875 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.115) 0:02:01.991 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.125) 0:02:02.116 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.120) 0:02:02.237 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.134) 0:02:02.371 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.207) 0:02:02.578 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:06 -0400 (0:00:00.220) 0:02:02.799 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.212) 0:02:03.012 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.203) 0:02:03.215 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.146) 0:02:03.362 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.255) 0:02:03.617 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.155) 0:02:03.773 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:07 -0400 (0:00:00.133) 0:02:03.907 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:08 -0400 (0:00:00.702) 0:02:04.609 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpPDRGcV" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.763) 0:02:05.372 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.676) 0:02:06.049 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.135) 0:02:06.185 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.128) 0:02:06.313 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.231) 0:02:06.545 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.165) 0:02:06.710 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.468) 0:02:07.179 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.242) 0:02:07.422 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.451) 0:02:07.873 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.297) 0:02:08.171 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.182) 0:02:08.354 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.124) 0:02:08.478 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.103) 0:02:08.582 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:13 -0400 (0:00:01.039) 0:02:09.621 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:15 -0400 (0:00:01.532) 0:02:11.154 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.125) 0:02:11.279 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.206) 0:02:11.485 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.128) 0:02:11.614 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.136) 0:02:11.750 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:15 -0400 (0:00:00.158) 0:02:11.908 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.202) 0:02:12.111 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.287) 0:02:12.398 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.352) 0:02:12.750 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:16 -0400 (0:00:00.139) 0:02:12.890 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.110) 0:02:13.001 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.221) 0:02:13.222 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.147) 0:02:13.370 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.098) 0:02:13.469 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.654) 0:02:14.123 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmpRuP7fV" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.437) 0:02:14.560 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.717) 0:02:15.278 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.154) 0:02:15.432 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.260) 0:02:15.693 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.130) 0:02:15.823 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.135) 0:02:15.959 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.687) 0:02:16.646 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.356) 0:02:17.002 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.214) 0:02:17.217 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.102) 0:02:17.319 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.419) 0:02:17.738 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.107) 0:02:17.846 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019432", "end": "2024-10-08 02:09:22.198412", "rc": 1, "start": "2024-10-08 02:09:22.178980" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.473) 0:02:18.320 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.137) 0:02:18.458 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.146) 0:02:18.604 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.122) 0:02:18.726 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.095) 0:02:18.822 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:09:22 -0400 (0:00:00.082) 0:02:18.905 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:09:23 -0400 (0:00:00.208) 0:02:19.113 ******* skipping: [managed-node2] => (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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:09:23 -0400 (0:00:00.119) 0:02:19.233 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:09:23 -0400 (0:00:00.117) 0:02:19.350 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:09:23 -0400 (0:00:00.212) 0:02:19.563 ******* ok: [managed-node2] => { "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.043825", "end": "2024-10-08 02:09:24.099764", "rc": 0, "start": "2024-10-08 02:09:24.055939" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.701) 0:02:20.264 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.225) 0:02:20.490 ******* ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.151) 0:02:20.641 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.257) 0:02:20.899 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.230) 0:02:21.130 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.205) 0:02:21.335 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002981", "end": "2024-10-08 02:09:25.835807", "rc": 0, "start": "2024-10-08 02:09:25.832826" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.565) 0:02:21.901 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.089) 0:02:21.991 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.079) 0:02:22.070 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.280) 0:02:22.351 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.377) 0:02:22.728 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.344) 0:02:23.073 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.158) 0:02:23.232 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.095) 0:02:23.328 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.086) 0:02:23.414 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.866) 0:02:24.281 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:29 -0400 (0:00:01.629) 0:02:25.910 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.178) 0:02:26.089 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.120) 0:02:26.209 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.109) 0:02:26.318 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.087) 0:02:26.406 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.075) 0:02:26.482 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.101) 0:02:26.583 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.124) 0:02:26.707 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.167) 0:02:26.875 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.101) 0:02:26.976 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.129) 0:02:27.106 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.112) 0:02:27.218 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.112) 0:02:27.331 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:31 -0400 (0:00:00.119) 0:02:27.450 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.546) 0:02:27.997 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmp_VMkZv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:32 -0400 (0:00:00.499) 0:02:28.496 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:33 -0400 (0:00:01.140) 0:02:29.637 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.308) 0:02:29.945 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.117) 0:02:30.063 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.100) 0:02:30.164 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.093) 0:02:30.257 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.434) 0:02:30.692 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.133) 0:02:30.826 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.173) 0:02:30.999 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.158) 0:02:31.158 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.107) 0:02:31.266 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.101) 0:02:31.368 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.115) 0:02:31.483 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:36 -0400 (0:00:00.964) 0:02:32.447 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:37 -0400 (0:00:01.408) 0:02:33.856 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.127) 0:02:33.984 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.120) 0:02:34.104 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.123) 0:02:34.227 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.101) 0:02:34.329 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.113) 0:02:34.443 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.084) 0:02:34.527 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.082) 0:02:34.610 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.149) 0:02:34.760 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.109) 0:02:34.869 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.116) 0:02:34.985 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.123) 0:02:35.109 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.143) 0:02:35.252 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.129) 0:02:35.382 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:40 -0400 (0:00:01.043) 0:02:36.425 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmp24zCh6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:40 -0400 (0:00:00.496) 0:02:36.922 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:42 -0400 (0:00:01.209) 0:02:38.131 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:42 -0400 (0:00:00.083) 0:02:38.215 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:42 -0400 (0:00:00.082) 0:02:38.298 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:42 -0400 (0:00:00.168) 0:02:38.466 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:42 -0400 (0:00:00.161) 0:02:38.628 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:43 -0400 (0:00:00.469) 0:02:39.097 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:43 -0400 (0:00:00.198) 0:02:39.296 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:43 -0400 (0:00:00.166) 0:02:39.462 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:43 -0400 (0:00:00.141) 0:02:39.604 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:43 -0400 (0:00:00.128) 0:02:39.733 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:43 -0400 (0:00:00.113) 0:02:39.846 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:45 -0400 (0:00:01.205) 0:02:41.052 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:46 -0400 (0:00:01.635) 0:02:42.688 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:46 -0400 (0:00:00.121) 0:02:42.809 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:46 -0400 (0:00:00.077) 0:02:42.886 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:47 -0400 (0:00:00.101) 0:02:42.987 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:47 -0400 (0:00:00.140) 0:02:43.127 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:47 -0400 (0:00:00.159) 0:02:43.287 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:47 -0400 (0:00:00.187) 0:02:43.474 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:47 -0400 (0:00:00.132) 0:02:43.606 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:47 -0400 (0:00:00.201) 0:02:43.808 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:47 -0400 (0:00:00.115) 0:02:43.923 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:48 -0400 (0:00:00.116) 0:02:44.040 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:48 -0400 (0:00:00.199) 0:02:44.240 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:48 -0400 (0:00:00.112) 0:02:44.353 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:48 -0400 (0:00:00.133) 0:02:44.486 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:49 -0400 (0:00:00.612) 0:02:45.099 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmplfUYxu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:49 -0400 (0:00:00.420) 0:02:45.519 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:50 -0400 (0:00:00.782) 0:02:46.302 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:50 -0400 (0:00:00.166) 0:02:46.469 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:50 -0400 (0:00:00.132) 0:02:46.602 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:50 -0400 (0:00:00.123) 0:02:46.725 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:50 -0400 (0:00:00.115) 0:02:46.840 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:09:51 -0400 (0:00:00.494) 0:02:47.335 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:51 -0400 (0:00:00.201) 0:02:47.537 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:51 -0400 (0:00:00.127) 0:02:47.665 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:52 -0400 (0:00:00.343) 0:02:48.008 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:52 -0400 (0:00:00.176) 0:02:48.184 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:52 -0400 (0:00:00.088) 0:02:48.273 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:52 -0400 (0:00:00.085) 0:02:48.359 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:53 -0400 (0:00:01.016) 0:02:49.376 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:54 -0400 (0:00:01.214) 0:02:50.590 ******* ok: [managed-node2] => {} 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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:54 -0400 (0:00:00.094) 0:02:50.684 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:54 -0400 (0:00:00.127) 0:02:50.812 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:55 -0400 (0:00:00.193) 0:02:51.006 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:55 -0400 (0:00:00.114) 0:02:51.121 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:55 -0400 (0:00:00.084) 0:02:51.205 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:55 -0400 (0:00:00.119) 0:02:51.325 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:55 -0400 (0:00:00.164) 0:02:51.490 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:55 -0400 (0:00:00.316) 0:02:51.807 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:56 -0400 (0:00:00.197) 0:02:52.005 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:56 -0400 (0:00:00.113) 0:02:52.119 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:56 -0400 (0:00:00.105) 0:02:52.224 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:56 -0400 (0:00:00.077) 0:02:52.302 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:56 -0400 (0:00:00.100) 0:02:52.402 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:57 -0400 (0:00:00.612) 0:02:53.015 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16747CAxgpe/tmp_Q9vVe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:57 -0400 (0:00:00.519) 0:02:53.535 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:58 -0400 (0:00:00.579) 0:02:54.114 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:58 -0400 (0:00:00.073) 0:02:54.187 ******* ok: [managed-node2] => { "__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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:58 -0400 (0:00:00.091) 0:02:54.279 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:58 -0400 (0:00:00.079) 0:02:54.358 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:58 -0400 (0:00:00.169) 0:02:54.528 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:09:59 -0400 (0:00:00.558) 0:02:55.086 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:09:59 -0400 (0:00:00.362) 0:02:55.449 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:09:59 -0400 (0:00:00.294) 0:02:55.743 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:09:59 -0400 (0:00:00.163) 0:02:55.907 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:10:00 -0400 (0:00:00.540) 0:02:56.448 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:10:00 -0400 (0:00:00.121) 0:02:56.569 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020260", "end": "2024-10-08 02:10:00.949085", "rc": 1, "start": "2024-10-08 02:10:00.928825" } 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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:10:01 -0400 (0:00:00.483) 0:02:57.053 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:10:01 -0400 (0:00:00.137) 0:02:57.190 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:10:01 -0400 (0:00:00.129) 0:02:57.320 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:10:01 -0400 (0:00:00.189) 0:02:57.510 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:10:01 -0400 (0:00:00.166) 0:02:57.676 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:10:01 -0400 (0:00:00.106) 0:02:57.782 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 08 October 2024 02:10:01 -0400 (0:00:00.087) 0:02:57.870 ******* [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.595511", "end": "2024-10-08 02:10:02.798283", "rc": 0, "start": "2024-10-08 02:10:02.202772" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 08 October 2024 02:10:02 -0400 (0:00:01.011) 0:02:58.881 ******* ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 08 October 2024 02:10:03 -0400 (0:00:00.123) 0:02:59.004 ******* ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:10:03 -0400 (0:00:00.117) 0:02:59.122 ******* skipping: [managed-node2] => (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-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:10:03 -0400 (0:00:00.123) 0:02:59.245 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:10:03 -0400 (0:00:00.120) 0:02:59.365 ******* included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:10:03 -0400 (0:00:00.218) 0:02:59.584 ******* ok: [managed-node2] => { "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.044740", "end": "2024-10-08 02:10:03.945784", "rc": 0, "start": "2024-10-08 02:10:03.901044" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 08 October 2024 02:10:04 -0400 (0:00:00.408) 0:02:59.993 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006342", "end": "2024-10-08 02:10:04.304881", "rc": 0, "start": "2024-10-08 02:10:04.298539" } 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 0a:ff:db:5a:23:01 brd ff:ff:ff:ff:ff:ff inet 10.31.13.35/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 2358sec preferred_lft 2358sec inet6 fe80::8ff:dbff:fe5a:2301/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ee:1c:d6:c7:b7:0c brd ff:ff:ff:ff:ff:ff 22: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 5a:59:32:d3:ec:c8 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.35 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 08 October 2024 02:10:04 -0400 (0:00:00.344) 0:03:00.337 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.544676", "end": "2024-10-08 02:10:05.210776", "rc": 0, "start": "2024-10-08 02:10:04.666100" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 762 0 --:--:-- --:--:-- --:--:-- 762 % 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 2334 0 --:--:-- --:--:-- --:--:-- 2346 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=337 changed=13 unreachable=0 failed=0 skipped=285 rescued=0 ignored=10 Tuesday 08 October 2024 02:10:05 -0400 (0:00:00.858) 0:03:01.196 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-rSk/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-rSk/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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-rSk/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-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.43s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.31s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.21s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 1.21s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.18s /tmp/collections-rSk/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21