ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 07 September 2024 08:50:01 -0400 (0:00:00.037) 0:00:00.037 **** ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 07 September 2024 08:50:02 -0400 (0:00:01.128) 0:00:01.165 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 07 September 2024 08:50:03 -0400 (0:00:00.141) 0:00:01.306 **** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 07 September 2024 08:50:03 -0400 (0:00:00.482) 0:00:01.789 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.523) 0:00:02.313 **** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.070) 0:00:02.383 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.058) 0:00:02.441 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.121) 0:00:02.563 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 07 September 2024 08:50:04 -0400 (0:00:00.649) 0:00:03.213 **** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 07 September 2024 08:50:05 -0400 (0:00:00.950) 0:00:04.163 **** ok: [managed_node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.164000", "end": "2024-09-07 08:50:06.335411", "rc": 0, "start": "2024-09-07 08:50:06.171411" } 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 07 September 2024 08:50:06 -0400 (0:00:00.497) 0:00:04.661 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 07 September 2024 08:50:06 -0400 (0:00:00.035) 0:00:04.696 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 07 September 2024 08:50:06 -0400 (0:00:00.034) 0:00:04.731 **** ok: [managed_node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 07 September 2024 08:50:06 -0400 (0:00:00.061) 0:00:04.792 **** ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.656) 0:00:05.449 **** ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.080) 0:00:05.529 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.062) 0:00:05.592 **** ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.041) 0:00:05.633 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.122) 0:00:05.756 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.069) 0:00:05.825 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.056) 0:00:05.881 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003186", "end": "2024-09-07 08:50:07.891620", "rc": 0, "start": "2024-09-07 08:50:07.888434" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.333) 0:00:06.214 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:50:07 -0400 (0:00:00.042) 0:00:06.256 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.037) 0:00:06.294 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.075) 0:00:06.369 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008805", "end": "2024-09-07 08:50:08.466953", "rc": 1, "start": "2024-09-07 08:50:08.458148" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.479) 0:00:06.849 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.152) 0:00:07.001 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.416) 0:00:07.417 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.047) 0:00:07.465 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.071) 0:00:07.537 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.255) 0:00:07.793 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.086) 0:00:07.880 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.039) 0:00:07.919 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.044) 0:00:07.964 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.070) 0:00:08.035 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:11 -0400 (0:00:01.390) 0:00:09.425 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:13 -0400 (0:00:02.234) 0:00:11.659 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.295) 0:00:11.955 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.166) 0:00:12.121 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.144) 0:00:12.265 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.147) 0:00:12.413 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.109) 0:00:12.522 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.109) 0:00:12.632 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.085) 0:00:12.718 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.161) 0:00:12.879 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.103) 0:00:12.983 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.103) 0:00:13.086 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.151) 0:00:13.237 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:16 -0400 (0:00:01.101) 0:00:14.339 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.109) 0:00:14.449 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.081) 0:00:14.531 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.109) 0:00:14.640 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ae8020b-d7e0-4da2-851c-4667659975dd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:17 -0400 (0:00:01.446) 0:00:16.087 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.103) 0:00:16.190 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ae8020b-d7e0-4da2-851c-4667659975dd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.183) 0:00:16.374 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ae8020b-d7e0-4da2-851c-4667659975dd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ae8020b-d7e0-4da2-851c-4667659975dd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.171) 0:00:16.545 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.100) 0:00:16.645 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.465) 0:00:17.111 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ae8020b-d7e0-4da2-851c-4667659975dd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ae8020b-d7e0-4da2-851c-4667659975dd" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.089) 0:00:17.201 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.142) 0:00:17.344 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.217) 0:00:17.561 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.134) 0:00:17.696 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725713417.5945349, "block_size": 4096, "blocks": 8, "ctime": 1725713417.5935347, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725713417.5935347, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.445) 0:00:18.141 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.070) 0:00:18.212 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021133", "end": "2024-09-07 08:50:20.252053", "rc": 0, "start": "2024-09-07 08:50:20.230920" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.445) 0:00:18.657 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.202) 0:00:18.860 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.157) 0:00:19.017 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.121) 0:00:19.138 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.184) 0:00:19.323 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.132) 0:00:19.455 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.159) 0:00:19.614 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.167) 0:00:19.781 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.229) 0:00:20.011 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.401) 0:00:20.412 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.189) 0:00:20.601 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725713417.600535, "block_size": 4096, "blocks": 0, "ctime": 1725713417.5965347, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17684, "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": 1725713417.5965347, "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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.504) 0:00:21.106 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.090) 0:00:21.197 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:50:23 -0400 (0:00:00.110) 0:00:21.307 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:50:23 -0400 (0:00:00.303) 0:00:21.610 **** 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.069488", "end": "2024-09-07 08:50:23.888579", "rc": 1, "start": "2024-09-07 08:50:23.819091" } STDOUT: Connection 'statebr' (2ae8020b-d7e0-4da2-851c-4667659975dd) successfully deleted. STDERR: (process:11515): GLib-GIO-WARNING **: 08:50:23.868: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/28 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 07 September 2024 08:50:23 -0400 (0:00:00.632) 0:00:22.243 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:24 -0400 (0:00:00.120) 0:00:22.363 **** ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:50:24 -0400 (0:00:00.067) 0:00:22.430 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:50:24 -0400 (0:00:00.197) 0:00:22.628 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:50:24 -0400 (0:00:00.115) 0:00:22.744 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:50:24 -0400 (0:00:00.175) 0:00:22.919 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003343", "end": "2024-09-07 08:50:25.161961", "rc": 0, "start": "2024-09-07 08:50:25.158618" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.661) 0:00:23.580 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.111) 0:00:23.692 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.105) 0:00:23.798 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.343) 0:00:24.142 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006327", "end": "2024-09-07 08:50:26.192214", "rc": 1, "start": "2024-09-07 08:50:26.185887" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.445) 0:00:24.587 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.149) 0:00:24.737 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.349) 0:00:25.086 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.090) 0:00:25.177 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.209) 0:00:25.386 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.223) 0:00:25.610 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.199) 0:00:25.809 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.103) 0:00:25.913 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.070) 0:00:25.983 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.098) 0:00:26.082 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:28 -0400 (0:00:00.893) 0:00:26.976 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:29 -0400 (0:00:01.223) 0:00:28.199 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:30 -0400 (0:00:00.102) 0:00:28.301 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:30 -0400 (0:00:00.108) 0:00:28.410 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:30 -0400 (0:00:00.105) 0:00:28.515 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:30 -0400 (0:00:00.107) 0:00:28.622 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:30 -0400 (0:00:00.109) 0:00:28.732 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:30 -0400 (0:00:00.118) 0:00:28.851 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:30 -0400 (0:00:00.119) 0:00:28.971 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:30 -0400 (0:00:00.188) 0:00:29.159 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:31 -0400 (0:00:00.109) 0:00:29.268 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:31 -0400 (0:00:00.099) 0:00:29.368 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:31 -0400 (0:00:00.115) 0:00:29.483 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:31 -0400 (0:00:00.536) 0:00:30.020 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:31 -0400 (0:00:00.082) 0:00:30.103 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:31 -0400 (0:00:00.120) 0:00:30.223 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.157) 0:00:30.381 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da776064-a88b-477b-a173-31abb6cb43c2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:33 -0400 (0:00:01.130) 0:00:31.511 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.119) 0:00:31.631 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da776064-a88b-477b-a173-31abb6cb43c2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.137) 0:00:31.769 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da776064-a88b-477b-a173-31abb6cb43c2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da776064-a88b-477b-a173-31abb6cb43c2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.121) 0:00:31.890 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:33 -0400 (0:00:00.111) 0:00:32.001 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 07 September 2024 08:50:34 -0400 (0:00:00.486) 0:00:32.488 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da776064-a88b-477b-a173-31abb6cb43c2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da776064-a88b-477b-a173-31abb6cb43c2" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:50:34 -0400 (0:00:00.155) 0:00:32.643 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:50:34 -0400 (0:00:00.235) 0:00:32.879 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:34 -0400 (0:00:00.186) 0:00:33.065 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.417) 0:00:33.482 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.096) 0:00:33.579 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.197) 0:00:33.777 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.131) 0:00:33.908 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725713433.0056183, "block_size": 4096, "blocks": 8, "ctime": 1725713433.0056183, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725713433.0056183, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.499) 0:00:34.408 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.189) 0:00:34.597 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019600", "end": "2024-09-07 08:50:36.701588", "rc": 0, "start": "2024-09-07 08:50:36.681988" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.532) 0:00:35.130 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.214) 0:00:35.345 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.204) 0:00:35.549 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.135) 0:00:35.685 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.167) 0:00:35.853 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.110) 0:00:35.963 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.134) 0:00:36.098 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.104) 0:00:36.202 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.128) 0:00:36.330 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.110) 0:00:36.441 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.108) 0:00:36.550 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.230) 0:00:36.780 **** 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.042438", "end": "2024-09-07 08:50:38.869582", "rc": 1, "start": "2024-09-07 08:50:38.827144" } STDOUT: Connection 'statebr' (da776064-a88b-477b-a173-31abb6cb43c2) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.476) 0:00:37.257 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.188) 0:00:37.446 **** ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.129) 0:00:37.575 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.353) 0:00:37.928 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.201) 0:00:38.129 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.216) 0:00:38.346 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003165", "end": "2024-09-07 08:50:40.525320", "rc": 0, "start": "2024-09-07 08:50:40.522155" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.605) 0:00:38.952 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.120) 0:00:39.073 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.228) 0:00:39.301 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.235) 0:00:39.537 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.200) 0:00:39.738 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.272) 0:00:40.011 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.149) 0:00:40.160 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.113) 0:00:40.274 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.122) 0:00:40.396 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:43 -0400 (0:00:01.102) 0:00:41.499 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:44 -0400 (0:00:01.417) 0:00:42.916 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.115) 0:00:43.032 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.134) 0:00:43.166 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.135) 0:00:43.302 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.214) 0:00:43.516 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.236) 0:00:43.752 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.208) 0:00:43.961 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.180) 0:00:44.142 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.251) 0:00:44.394 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.215) 0:00:44.610 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.117) 0:00:44.727 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.224) 0:00:44.952 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:47 -0400 (0:00:00.587) 0:00:45.539 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:47 -0400 (0:00:00.121) 0:00:45.660 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:47 -0400 (0:00:00.105) 0:00:45.765 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:47 -0400 (0:00:00.122) 0:00:45.888 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:48 -0400 (0:00:00.833) 0:00:46.721 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:48 -0400 (0:00:00.114) 0:00:46.836 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:48 -0400 (0:00:00.128) 0:00:46.964 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:48 -0400 (0:00:00.117) 0:00:47.081 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:48 -0400 (0:00:00.124) 0:00:47.205 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.448) 0:00:47.654 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.125) 0:00:47.780 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.209) 0:00:47.990 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.240) 0:00:48.231 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.299) 0:00:48.530 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.173) 0:00:48.703 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.115) 0:00:48.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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.115) 0:00:48.934 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:51 -0400 (0:00:01.013) 0:00:49.948 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:53 -0400 (0:00:01.512) 0:00:51.460 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.137) 0:00:51.597 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.140) 0:00:51.738 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.199) 0:00:51.937 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.221) 0:00:52.159 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.264) 0:00:52.423 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.202) 0:00:52.626 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.142) 0:00:52.768 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.190) 0:00:52.958 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.104) 0:00:53.063 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.145) 0:00:53.209 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:55 -0400 (0:00:00.156) 0:00:53.365 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:55 -0400 (0:00:00.695) 0:00:54.061 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:55 -0400 (0:00:00.145) 0:00:54.206 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.142) 0:00:54.349 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.121) 0:00:54.471 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.945) 0:00:55.416 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.200) 0:00:55.617 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.142) 0:00:55.759 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54d090c7-6511-4bb2-a001-16d9dca52eb2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.120) 0:00:55.880 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.125) 0:00:56.005 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.479) 0:00:56.485 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.342) 0:00:56.827 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.337) 0:00:57.165 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725713448.252701, "block_size": 4096, "blocks": 0, "ctime": 1725713448.247701, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17684, "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": 1725713448.247701, "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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.579) 0:00:57.744 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.208) 0:00:57.953 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:51:00 -0400 (0:00:00.395) 0:00:58.348 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:51:00 -0400 (0:00:00.152) 0:00:58.500 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725713448.3127012, "block_size": 4096, "blocks": 8, "ctime": 1725713448.2457008, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725713448.2457008, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:51:00 -0400 (0:00:00.457) 0:00:58.957 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:51:00 -0400 (0:00:00.141) 0:00:59.098 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020117", "end": "2024-09-07 08:51:01.203071", "rc": 0, "start": "2024-09-07 08:51:01.182954" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:51:01 -0400 (0:00:00.612) 0:00:59.711 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:51:01 -0400 (0:00:00.218) 0:00:59.929 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:51:01 -0400 (0:00:00.252) 0:01:00.182 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.217) 0:01:00.399 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.214) 0:01:00.614 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.146) 0:01:00.761 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.160) 0:01:00.921 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.193) 0:01:01.114 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.088) 0:01:01.202 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.068) 0:01:01.270 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.077) 0:01:01.348 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.151) 0:01:01.500 **** 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.072744", "end": "2024-09-07 08:51:03.607348", "rc": 1, "start": "2024-09-07 08:51:03.534604" } STDOUT: Connection 'statebr' (54d090c7-6511-4bb2-a001-16d9dca52eb2) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.531) 0:01:02.032 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.151) 0:01:02.183 **** ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.076) 0:01:02.260 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.139) 0:01:02.400 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.139) 0:01:02.539 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:51:04 -0400 (0:00:00.154) 0:01:02.694 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003186", "end": "2024-09-07 08:51:04.876182", "rc": 0, "start": "2024-09-07 08:51:04.872996" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.761) 0:01:03.455 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.238) 0:01:03.694 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.193) 0:01:03.888 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.271) 0:01:04.159 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.366) 0:01:04.533 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.313) 0:01:04.847 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.142) 0:01:04.990 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.134) 0:01:05.124 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:07 -0400 (0:00:00.150) 0:01:05.275 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:08 -0400 (0:00:01.308) 0:01:06.584 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:09 -0400 (0:00:01.665) 0:01:08.249 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.192) 0:01:08.442 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.128) 0:01:08.570 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.121) 0:01:08.691 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.140) 0:01:08.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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.175) 0:01:09.008 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.249) 0:01:09.257 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.270) 0:01:09.528 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.286) 0:01:09.814 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.142) 0:01:09.956 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.148) 0:01:10.104 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.121) 0:01:10.225 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:12 -0400 (0:00:00.647) 0:01:10.873 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:12 -0400 (0:00:00.139) 0:01:11.013 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:12 -0400 (0:00:00.141) 0:01:11.155 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.113) 0:01:11.268 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:13 -0400 (0:00:00.893) 0:01:12.162 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.130) 0:01:12.293 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.123) 0:01:12.417 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.156) 0:01:12.573 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.222) 0:01:12.796 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.725) 0:01:13.521 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.124) 0:01:13.646 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.348) 0:01:13.994 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:16 -0400 (0:00:00.271) 0:01:14.266 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:16 -0400 (0:00:00.213) 0:01:14.480 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:16 -0400 (0:00:00.124) 0:01:14.604 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:16 -0400 (0:00:00.120) 0:01:14.725 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:17 -0400 (0:00:01.002) 0:01:15.727 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:19 -0400 (0:00:01.656) 0:01:17.384 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.143) 0:01:17.527 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.222) 0:01:17.750 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.136) 0:01:17.887 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.202) 0:01:18.090 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.223) 0:01:18.313 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.139) 0:01:18.453 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.150) 0:01:18.603 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.165) 0:01:18.769 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.118) 0:01:18.888 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.113) 0:01:19.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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.127) 0:01:19.128 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.669) 0:01:19.798 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.109) 0:01:19.908 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.121) 0:01:20.029 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.132) 0:01:20.162 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:22 -0400 (0:00:00.919) 0:01:21.081 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:22 -0400 (0:00:00.113) 0:01:21.195 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:23 -0400 (0:00:00.122) 0:01:21.318 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bb7bc03c-d4ec-415c-a8b3-abe783e08cec skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:23 -0400 (0:00:00.122) 0:01:21.441 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:23 -0400 (0:00:00.193) 0:01:21.634 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.645) 0:01:22.280 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.239) 0:01:22.519 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.342) 0:01:22.862 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.193) 0:01:23.055 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.098) 0:01:23.154 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.182) 0:01:23.336 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.125) 0:01:23.462 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:26 -0400 (0:00:01.005) 0:01:24.467 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:27 -0400 (0:00:01.454) 0:01:25.922 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.147) 0:01:26.069 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.147) 0:01:26.217 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.117) 0:01:26.335 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.115) 0:01:26.450 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.129) 0:01:26.580 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.128) 0:01:26.708 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.253) 0:01:26.961 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.202) 0:01:27.164 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:29 -0400 (0:00:00.149) 0:01:27.313 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:29 -0400 (0:00:00.113) 0:01:27.427 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:29 -0400 (0:00:00.102) 0:01:27.530 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:29 -0400 (0:00:00.562) 0:01:28.093 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:29 -0400 (0:00:00.121) 0:01:28.214 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:30 -0400 (0:00:00.153) 0:01:28.367 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:30 -0400 (0:00:00.112) 0:01:28.480 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.849) 0:01:29.329 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.138) 0:01:29.468 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.118) 0:01:29.587 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.123) 0:01:29.711 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.170) 0:01:29.881 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.482) 0:01:30.364 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.310) 0:01:30.675 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.310) 0:01:30.986 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725713473.6798387, "block_size": 4096, "blocks": 0, "ctime": 1725713473.6748385, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17687, "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": 1725713473.6748385, "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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.684) 0:01:31.670 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.121) 0:01:31.792 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.174) 0:01:31.967 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.078) 0:01:32.045 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.455) 0:01:32.500 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.124) 0:01:32.625 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019977", "end": "2024-09-07 08:51:34.901268", "rc": 1, "start": "2024-09-07 08:51:34.881291" } 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.711) 0:01:33.337 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.120) 0:01:33.457 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.131) 0:01:33.589 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.206) 0:01:33.795 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.206) 0:01:34.001 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.118) 0:01:34.120 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:51:36 -0400 (0:00:00.198) 0:01:34.319 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:51:36 -0400 (0:00:00.251) 0:01:34.570 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:51:36 -0400 (0:00:00.147) 0:01:34.717 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:51:36 -0400 (0:00:00.223) 0:01:34.941 **** 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.084262", "end": "2024-09-07 08:51:37.217001", "rc": 1, "start": "2024-09-07 08:51:37.132739" } STDOUT: Connection 'statebr' (bb7bc03c-d4ec-415c-a8b3-abe783e08cec) successfully deleted. STDERR: (process:14752): GLib-GIO-WARNING **: 08:51:37.195: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/30 but no object proxy exists (process:14752): GLib-GIO-WARNING **: 08:51:37.195: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/63 but no object proxy exists (process:14752): GLib-GIO-WARNING **: 08:51:37.195: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/45 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.688) 0:01:35.630 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.344) 0:01:35.974 **** ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.146) 0:01:36.120 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:51:38 -0400 (0:00:00.210) 0:01:36.330 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:51:38 -0400 (0:00:00.199) 0:01:36.530 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:51:38 -0400 (0:00:00.205) 0:01:36.735 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003357", "end": "2024-09-07 08:51:38.784299", "rc": 0, "start": "2024-09-07 08:51:38.780942" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.560) 0:01:37.295 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.114) 0:01:37.409 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.095) 0:01:37.505 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.164) 0:01:37.670 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.187) 0:01:37.858 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.145) 0:01:38.004 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.096) 0:01:38.100 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:39 -0400 (0:00:00.075) 0:01:38.176 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.108) 0:01:38.284 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:41 -0400 (0:00:01.009) 0:01:39.294 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:42 -0400 (0:00:01.286) 0:01:40.581 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:42 -0400 (0:00:00.214) 0:01:40.796 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:42 -0400 (0:00:00.114) 0:01:40.910 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:42 -0400 (0:00:00.090) 0:01:41.000 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:42 -0400 (0:00:00.089) 0:01:41.090 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:42 -0400 (0:00:00.072) 0:01:41.163 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:42 -0400 (0:00:00.081) 0:01:41.245 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.080) 0:01:41.325 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.158) 0:01:41.484 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.112) 0:01:41.597 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.108) 0:01:41.705 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.124) 0:01:41.830 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.631) 0:01:42.462 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.123) 0:01:42.585 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.113) 0:01:42.699 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.115) 0:01:42.814 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:45 -0400 (0:00:00.961) 0:01:43.776 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:45 -0400 (0:00:00.191) 0:01:43.967 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:45 -0400 (0:00:00.137) 0:01:44.104 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:45 -0400 (0:00:00.129) 0:01:44.234 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:46 -0400 (0:00:00.157) 0:01:44.392 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:51:46 -0400 (0:00:00.425) 0:01:44.818 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:51:46 -0400 (0:00:00.097) 0:01:44.916 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:46 -0400 (0:00:00.211) 0:01:45.127 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:47 -0400 (0:00:00.237) 0:01:45.365 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:47 -0400 (0:00:00.192) 0:01:45.557 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:47 -0400 (0:00:00.121) 0:01:45.679 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:47 -0400 (0:00:00.132) 0:01:45.811 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:48 -0400 (0:00:01.192) 0:01:47.004 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:50 -0400 (0:00:01.584) 0:01:48.589 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:50 -0400 (0:00:00.116) 0:01:48.705 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:50 -0400 (0:00:00.195) 0:01:48.900 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:50 -0400 (0:00:00.129) 0:01:49.030 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:50 -0400 (0:00:00.130) 0:01:49.161 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:51 -0400 (0:00:00.206) 0:01:49.368 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:51 -0400 (0:00:00.128) 0:01:49.497 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:51 -0400 (0:00:00.134) 0:01:49.631 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:51 -0400 (0:00:00.206) 0:01:49.838 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:51 -0400 (0:00:00.134) 0:01:49.972 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:51 -0400 (0:00:00.209) 0:01:50.181 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:52 -0400 (0:00:00.151) 0:01:50.333 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:52 -0400 (0:00:00.646) 0:01:50.980 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:52 -0400 (0:00:00.147) 0:01:51.127 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:52 -0400 (0:00:00.134) 0:01:51.262 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:53 -0400 (0:00:00.132) 0:01:51.395 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:54 -0400 (0:00:01.007) 0:01:52.402 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:54 -0400 (0:00:00.213) 0:01:52.616 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:54 -0400 (0:00:00.168) 0:01:52.784 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3010bf41-1862-439d-aa5e-0328de46d087 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:54 -0400 (0:00:00.139) 0:01:52.924 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:54 -0400 (0:00:00.118) 0:01:53.043 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.416) 0:01:53.459 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.184) 0:01:53.644 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.263) 0:01:53.907 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.131) 0:01:54.039 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.107) 0:01:54.146 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.113) 0:01:54.260 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:57 -0400 (0:00:01.096) 0:01:55.356 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:58 -0400 (0:00:01.653) 0:01:57.010 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:58 -0400 (0:00:00.123) 0:01:57.133 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.133) 0:01:57.266 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.146) 0:01:57.413 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.115) 0:01:57.528 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.105) 0:01:57.633 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.093) 0:01:57.727 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.080) 0:01:57.807 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.187) 0:01:57.995 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.097) 0:01:58.092 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:59 -0400 (0:00:00.097) 0:01:58.190 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:00 -0400 (0:00:00.081) 0:01:58.272 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:00 -0400 (0:00:00.615) 0:01:58.887 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:00 -0400 (0:00:00.120) 0:01:59.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:01 -0400 (0:00:00.333) 0:01:59.341 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:01 -0400 (0:00:00.205) 0:01:59.546 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:02 -0400 (0:00:01.119) 0:02:00.666 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:02 -0400 (0:00:00.112) 0:02:00.779 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:02 -0400 (0:00:00.118) 0:02:00.897 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:02 -0400 (0:00:00.123) 0:02:01.022 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:02 -0400 (0:00:00.188) 0:02:01.210 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.575) 0:02:01.786 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.180) 0:02:01.966 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.239) 0:02:02.206 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:04 -0400 (0:00:00.220) 0:02:02.427 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:04 -0400 (0:00:00.154) 0:02:02.581 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:04 -0400 (0:00:00.112) 0:02:02.694 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:04 -0400 (0:00:00.166) 0:02:02.860 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:06 -0400 (0:00:01.416) 0:02:04.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 : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:07 -0400 (0:00:01.506) 0:02:05.783 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:07 -0400 (0:00:00.089) 0:02:05.873 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:07 -0400 (0:00:00.184) 0:02:06.057 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.244) 0:02:06.302 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.146) 0:02:06.449 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.115) 0:02:06.564 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.133) 0:02:06.698 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.096) 0:02:06.794 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.203) 0:02:06.998 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.202) 0:02:07.200 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:09 -0400 (0:00:00.154) 0:02:07.354 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:09 -0400 (0:00:00.141) 0:02:07.496 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:09 -0400 (0:00:00.735) 0:02:08.231 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:10 -0400 (0:00:00.166) 0:02:08.398 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:10 -0400 (0:00:00.129) 0:02:08.527 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:10 -0400 (0:00:00.183) 0:02:08.710 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:11 -0400 (0:00:00.926) 0:02:09.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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:11 -0400 (0:00:00.119) 0:02:09.757 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:11 -0400 (0:00:00.145) 0:02:09.902 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:11 -0400 (0:00:00.201) 0:02:10.104 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:12 -0400 (0:00:00.168) 0:02:10.272 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:52:12 -0400 (0:00:00.471) 0:02:10.744 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:52:12 -0400 (0:00:00.182) 0:02:10.927 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:52:12 -0400 (0:00:00.133) 0:02:11.060 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:52:12 -0400 (0:00:00.076) 0:02:11.136 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:52:13 -0400 (0:00:00.651) 0:02:11.787 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:52:13 -0400 (0:00:00.181) 0:02:11.968 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019435", "end": "2024-09-07 08:52:14.048751", "rc": 1, "start": "2024-09-07 08:52:14.029316" } 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.488) 0:02:12.457 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.121) 0:02:12.579 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.121) 0:02:12.700 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.126) 0:02:12.826 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.142) 0:02:12.968 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.144) 0:02:13.112 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:52:15 -0400 (0:00:00.214) 0:02:13.327 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:52:15 -0400 (0:00:00.358) 0:02:13.685 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:52:15 -0400 (0:00:00.206) 0:02:13.892 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:52:16 -0400 (0:00:00.507) 0:02:14.400 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:52:16 -0400 (0:00:00.196) 0:02:14.596 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:52:16 -0400 (0:00:00.137) 0:02:14.734 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:52:16 -0400 (0:00:00.275) 0:02:15.009 **** 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.040330", "end": "2024-09-07 08:52:17.316735", "rc": 1, "start": "2024-09-07 08:52:17.276405" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 07 September 2024 08:52:17 -0400 (0:00:00.775) 0:02:15.785 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:52:17 -0400 (0:00:00.134) 0:02:15.920 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:52:17 -0400 (0:00:00.105) 0:02:16.026 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:52:17 -0400 (0:00:00.236) 0:02:16.262 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:52:18 -0400 (0:00:00.255) 0:02:16.517 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:52:18 -0400 (0:00:00.213) 0:02:16.731 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003332", "end": "2024-09-07 08:52:18.954186", "rc": 0, "start": "2024-09-07 08:52:18.950854" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.652) 0:02:17.384 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.165) 0:02:17.550 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.132) 0:02:17.682 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.236) 0:02:17.919 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.207) 0:02:18.126 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:20 -0400 (0:00:00.313) 0:02:18.440 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:20 -0400 (0:00:00.125) 0:02:18.566 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:20 -0400 (0:00:00.076) 0:02:18.642 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:20 -0400 (0:00:00.075) 0:02:18.718 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:21 -0400 (0:00:00.878) 0:02:19.597 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:22 -0400 (0:00:01.313) 0:02:20.910 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.118) 0:02:21.028 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.116) 0:02:21.145 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.123) 0:02:21.269 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.190) 0:02:21.460 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.143) 0:02:21.603 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.120) 0:02:21.724 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.120) 0:02:21.845 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.196) 0:02:22.041 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.102) 0:02:22.144 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.095) 0:02:22.239 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:24 -0400 (0:00:00.081) 0:02:22.320 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:24 -0400 (0:00:00.542) 0:02:22.863 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:24 -0400 (0:00:00.233) 0:02:23.097 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:24 -0400 (0:00:00.142) 0:02:23.239 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:25 -0400 (0:00:00.122) 0:02:23.361 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:26 -0400 (0:00:01.110) 0:02:24.472 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.121) 0:02:24.594 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.274) 0:02:24.868 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.135) 0:02:25.004 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.124) 0:02:25.128 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.698) 0:02:25.827 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.239) 0:02:26.066 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.372) 0:02:26.438 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.244) 0:02:26.683 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.110) 0:02:26.793 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.081) 0:02:26.875 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.114) 0:02:26.989 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:29 -0400 (0:00:00.974) 0:02:27.963 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:31 -0400 (0:00:01.802) 0:02:29.765 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.131) 0:02:29.897 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.130) 0:02:30.028 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.111) 0:02:30.140 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.147) 0:02:30.287 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.114) 0:02:30.402 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.131) 0:02:30.534 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.130) 0:02:30.664 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.207) 0:02:30.872 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.123) 0:02:30.996 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.123) 0:02:31.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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.156) 0:02:31.276 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.736) 0:02:32.013 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.135) 0:02:32.148 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.141) 0:02:32.290 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.144) 0:02:32.434 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.815) 0:02:33.250 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.160) 0:02:33.411 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.268) 0:02:33.680 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1df35d0c-0ee7-4f1e-864e-2d9383256d67 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.136) 0:02:33.816 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.103) 0:02:33.920 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.411) 0:02:34.331 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.210) 0:02:34.541 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.253) 0:02:34.795 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.213) 0:02:35.009 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.140) 0:02:35.150 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:37 -0400 (0:00:00.141) 0:02:35.291 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:38 -0400 (0:00:01.337) 0:02:36.629 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:40 -0400 (0:00:01.958) 0:02:38.588 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:40 -0400 (0:00:00.127) 0:02:38.716 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:40 -0400 (0:00:00.123) 0:02:38.839 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:40 -0400 (0:00:00.153) 0:02:38.993 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:40 -0400 (0:00:00.125) 0:02:39.118 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:40 -0400 (0:00:00.107) 0:02:39.226 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.120) 0:02:39.346 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.142) 0:02:39.489 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.206) 0:02:39.695 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.250) 0:02:39.946 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.175) 0:02:40.121 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.134) 0:02:40.255 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:42 -0400 (0:00:00.904) 0:02:41.160 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:43 -0400 (0:00:00.177) 0:02:41.337 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:43 -0400 (0:00:00.153) 0:02:41.490 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:43 -0400 (0:00:00.210) 0:02:41.701 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:44 -0400 (0:00:01.091) 0:02:42.792 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:44 -0400 (0:00:00.128) 0:02:42.921 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:44 -0400 (0:00:00.101) 0:02:43.023 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:44 -0400 (0:00:00.081) 0:02:43.104 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:44 -0400 (0:00:00.080) 0:02:43.185 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:52:45 -0400 (0:00:00.447) 0:02:43.633 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:52:45 -0400 (0:00:00.191) 0:02:43.824 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:45 -0400 (0:00:00.227) 0:02:44.051 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:46 -0400 (0:00:00.227) 0:02:44.278 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:46 -0400 (0:00:00.189) 0:02:44.468 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:46 -0400 (0:00:00.110) 0:02:44.579 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:46 -0400 (0:00:00.114) 0:02:44.693 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:47 -0400 (0:00:01.283) 0:02:45.976 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:49 -0400 (0:00:01.415) 0:02:47.392 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:49 -0400 (0:00:00.124) 0:02:47.516 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:49 -0400 (0:00:00.161) 0:02:47.678 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:49 -0400 (0:00:00.147) 0:02:47.825 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:49 -0400 (0:00:00.124) 0:02:47.949 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:49 -0400 (0:00:00.143) 0:02:48.093 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:49 -0400 (0:00:00.169) 0:02:48.263 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:50 -0400 (0:00:00.161) 0:02:48.424 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:50 -0400 (0:00:00.294) 0:02:48.718 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:50 -0400 (0:00:00.214) 0:02:48.933 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:50 -0400 (0:00:00.192) 0:02:49.126 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:51 -0400 (0:00:00.167) 0:02:49.294 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:51 -0400 (0:00:00.741) 0:02:50.035 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:51 -0400 (0:00:00.186) 0:02:50.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:52 -0400 (0:00:00.134) 0:02:50.356 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:52 -0400 (0:00:00.160) 0:02:50.517 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:53 -0400 (0:00:00.846) 0:02:51.363 **** 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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:53 -0400 (0:00:00.141) 0:02:51.505 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:53 -0400 (0:00:00.163) 0:02:51.668 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:53 -0400 (0:00:00.158) 0:02:51.826 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:53 -0400 (0:00:00.141) 0:02:51.968 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:52:54 -0400 (0:00:00.482) 0:02:52.451 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:52:54 -0400 (0:00:00.232) 0:02:52.683 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:52:54 -0400 (0:00:00.250) 0:02:52.933 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:52:54 -0400 (0:00:00.108) 0:02:53.041 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.528) 0:02:53.570 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.220) 0:02:53.790 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017202", "end": "2024-09-07 08:52:55.960468", "rc": 1, "start": "2024-09-07 08:52:55.943266" } 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.572) 0:02:54.363 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.122) 0:02:54.485 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.137) 0:02:54.623 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.192) 0:02:54.815 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.214) 0:02:55.030 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.224) 0:02:55.255 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 07 September 2024 08:52:57 -0400 (0:00:00.140) 0:02:55.395 **** [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.594130", "end": "2024-09-07 08:52:58.020475", "rc": 0, "start": "2024-09-07 08:52:57.426345" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 07 September 2024 08:52:58 -0400 (0:00:01.014) 0:02:56.409 **** ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 07 September 2024 08:52:58 -0400 (0:00:00.101) 0:02:56.511 **** ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:52:58 -0400 (0:00:00.081) 0:02:56.592 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:52:58 -0400 (0:00:00.221) 0:02:56.814 **** included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:52:58 -0400 (0:00:00.230) 0:02:57.044 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:52:59 -0400 (0:00:00.610) 0:02:57.655 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:52:59 -0400 (0:00:00.102) 0:02:57.757 **** 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:52:59 -0400 (0:00:00.114) 0:02:57.872 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:52:59 -0400 (0:00:00.266) 0:02:58.138 **** 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.040194", "end": "2024-09-07 08:53:00.415743", "rc": 1, "start": "2024-09-07 08:53:00.375549" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 07 September 2024 08:53:00 -0400 (0:00:00.710) 0:02:58.849 **** 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.007052", "end": "2024-09-07 08:53:01.013615", "rc": 0, "start": "2024-09-07 08:53:01.006563" } 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:d6:28:21:25 brd ff:ff:ff:ff:ff:ff inet 10.31.14.164/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 2463sec preferred_lft 2463sec inet6 fe80::8ff:d6ff:fe28:2125/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether b6:03:f2:57:b3:3a brd ff:ff:ff:ff:ff:ff 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.14.164 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 07 September 2024 08:53:01 -0400 (0:00:00.534) 0:02:59.384 **** 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.383299", "end": "2024-09-07 08:53:01.806533", "rc": 0, "start": "2024-09-07 08:53:01.423234" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1479 0 --:--:-- --:--:-- --:--:-- 1480 100 305 100 305 0 0 1479 0 --:--:-- --:--:-- --:--:-- 1473 % 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 1920 0 --:--:-- --:--:-- --:--:-- 1927 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 07 September 2024 08:53:01 -0400 (0:00:00.788) 0:03:00.172 **** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.23s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.96s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.42s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.39s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.34s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.28s /tmp/collections-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26