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-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 11 November 2024 20:11:52 -0500 (0:00:00.036) 0:00:00.036 ******* ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 11 November 2024 20:11:53 -0500 (0:00:01.138) 0:00:01.174 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 11 November 2024 20:11:53 -0500 (0:00:00.152) 0:00:01.327 ******* ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 11 November 2024 20:11:54 -0500 (0:00:00.447) 0:00:01.774 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 11 November 2024 20:11:54 -0500 (0:00:00.528) 0:00:02.303 ******* ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 11 November 2024 20:11:54 -0500 (0:00:00.093) 0:00:02.396 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 11 November 2024 20:11:54 -0500 (0:00:00.077) 0:00:02.474 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 11 November 2024 20:11:55 -0500 (0:00:00.113) 0:00:02.588 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 11 November 2024 20:11:55 -0500 (0:00:00.548) 0:00:03.137 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 11 November 2024 20:11:56 -0500 (0:00:00.874) 0:00:04.011 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.168126", "end": "2024-11-11 20:11:56.932943", "rc": 0, "start": "2024-11-11 20:11:56.764817" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 11 November 2024 20:11:57 -0500 (0:00:00.525) 0:00:04.536 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 11 November 2024 20:11:57 -0500 (0:00:00.050) 0:00:04.587 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 11 November 2024 20:11:57 -0500 (0:00:00.038) 0:00:04.626 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 11 November 2024 20:11:57 -0500 (0:00:00.041) 0:00:04.667 ******* ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 11 November 2024 20:11:57 -0500 (0:00:00.652) 0:00:05.319 ******* ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 11 November 2024 20:11:57 -0500 (0:00:00.040) 0:00:05.360 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:11:57 -0500 (0:00:00.066) 0:00:05.426 ******* ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:11:57 -0500 (0:00:00.042) 0:00:05.469 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:11:58 -0500 (0:00:00.124) 0:00:05.593 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:11:58 -0500 (0:00:00.091) 0:00:05.685 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:11:58 -0500 (0:00:00.080) 0:00:05.766 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003376", "end": "2024-11-11 20:11:58.566285", "rc": 0, "start": "2024-11-11 20:11:58.562909" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:11:58 -0500 (0:00:00.390) 0:00:06.156 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:11:58 -0500 (0:00:00.042) 0:00:06.199 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:11:58 -0500 (0:00:00.044) 0:00:06.243 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 11 November 2024 20:11:58 -0500 (0:00:00.087) 0:00:06.330 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009815", "end": "2024-11-11 20:11:59.140089", "rc": 1, "start": "2024-11-11 20:11:59.130274" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:11:59 -0500 (0:00:00.397) 0:00:06.728 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:11:59 -0500 (0:00:00.059) 0:00:06.788 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:11:59 -0500 (0:00:00.337) 0:00:07.125 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:11:59 -0500 (0:00:00.046) 0:00:07.172 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:11:59 -0500 (0:00:00.072) 0:00:07.244 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:11:59 -0500 (0:00:00.243) 0:00:07.488 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:00 -0500 (0:00:00.091) 0:00:07.579 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:00 -0500 (0:00:00.044) 0:00:07.624 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:00 -0500 (0:00:00.039) 0:00:07.663 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:00 -0500 (0:00:00.038) 0:00:07.702 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:01 -0500 (0:00:01.372) 0:00:09.075 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:03 -0500 (0:00:02.049) 0:00:11.124 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:03 -0500 (0:00:00.199) 0:00:11.323 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:03 -0500 (0:00:00.194) 0:00:11.518 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:04 -0500 (0:00:00.162) 0:00:11.680 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:04 -0500 (0:00:00.123) 0:00:11.803 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:04 -0500 (0:00:00.127) 0:00:11.931 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:04 -0500 (0:00:00.198) 0:00:12.129 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:04 -0500 (0:00:00.232) 0:00:12.362 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:05 -0500 (0:00:00.188) 0:00:12.550 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:05 -0500 (0:00:00.170) 0:00:12.720 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:05 -0500 (0:00:00.134) 0:00:12.855 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:05 -0500 (0:00:00.125) 0:00:12.980 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:06 -0500 (0:00:01.254) 0:00:14.235 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:06 -0500 (0:00:00.187) 0:00:14.423 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:07 -0500 (0:00:00.161) 0:00:14.585 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:07 -0500 (0:00:00.133) 0:00:14.718 ******* 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, 4c9e2713-6813-4bc2-b8bd-6e81f881897e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:08 -0500 (0:00:01.295) 0:00:16.014 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:08 -0500 (0:00:00.178) 0:00:16.192 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c9e2713-6813-4bc2-b8bd-6e81f881897e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:08 -0500 (0:00:00.194) 0:00:16.386 ******* 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, 4c9e2713-6813-4bc2-b8bd-6e81f881897e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c9e2713-6813-4bc2-b8bd-6e81f881897e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:08 -0500 (0:00:00.130) 0:00:16.517 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:09 -0500 (0:00:00.107) 0:00:16.625 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:12:09 -0500 (0:00:00.635) 0:00:17.261 ******* 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, 4c9e2713-6813-4bc2-b8bd-6e81f881897e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c9e2713-6813-4bc2-b8bd-6e81f881897e" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:09 -0500 (0:00:00.120) 0:00:17.381 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:12:10 -0500 (0:00:00.198) 0:00:17.579 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:10 -0500 (0:00:00.219) 0:00:17.799 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:10 -0500 (0:00:00.098) 0:00:17.897 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373928.3058593, "block_size": 4096, "blocks": 8, "ctime": 1731373928.3048592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373928.3048592, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:10 -0500 (0:00:00.411) 0:00:18.308 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:12:10 -0500 (0:00:00.151) 0:00:18.460 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024140", "end": "2024-11-11 20:12:11.269288", "rc": 0, "start": "2024-11-11 20:12:11.245148" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:12:11 -0500 (0:00:00.508) 0:00:18.969 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:12:11 -0500 (0:00:00.225) 0:00:19.194 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:12:11 -0500 (0:00:00.116) 0:00:19.311 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:12:11 -0500 (0:00:00.118) 0:00:19.430 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:12:12 -0500 (0:00:00.131) 0:00:19.561 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:12:12 -0500 (0:00:00.117) 0:00:19.679 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:12:12 -0500 (0:00:00.147) 0:00:19.827 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:12:12 -0500 (0:00:00.166) 0:00:19.993 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:12:12 -0500 (0:00:00.211) 0:00:20.204 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:12:12 -0500 (0:00:00.235) 0:00:20.439 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:13 -0500 (0:00:00.196) 0:00:20.636 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373928.3108592, "block_size": 4096, "blocks": 0, "ctime": 1731373928.3068593, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1731373928.3068593, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:12:13 -0500 (0:00:00.331) 0:00:20.967 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:12:13 -0500 (0:00:00.079) 0:00:21.047 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:12:13 -0500 (0:00:00.073) 0:00:21.120 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:12:13 -0500 (0:00:00.180) 0:00:21.300 ******* 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.072772", "end": "2024-11-11 20:12:14.204388", "rc": 1, "start": "2024-11-11 20:12:14.131616" } STDOUT: Connection 'statebr' (4c9e2713-6813-4bc2-b8bd-6e81f881897e) successfully deleted. STDERR: (process:15372): GLib-GIO-WARNING **: 20:12:14.183: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/41 but no object proxy exists (process:15372): GLib-GIO-WARNING **: 20:12:14.184: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/27 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 11 November 2024 20:12:14 -0500 (0:00:00.641) 0:00:21.941 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:14 -0500 (0:00:00.206) 0:00:22.148 ******* ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:12:14 -0500 (0:00:00.113) 0:00:22.261 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:14 -0500 (0:00:00.226) 0:00:22.488 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:15 -0500 (0:00:00.321) 0:00:22.810 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:15 -0500 (0:00:00.220) 0:00:23.030 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003759", "end": "2024-11-11 20:12:15.797349", "rc": 0, "start": "2024-11-11 20:12:15.793590" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:15 -0500 (0:00:00.430) 0:00:23.461 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:16 -0500 (0:00:00.118) 0:00:23.579 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:16 -0500 (0:00:00.116) 0:00:23.695 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 11 November 2024 20:12:16 -0500 (0:00:00.227) 0:00:23.923 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007454", "end": "2024-11-11 20:12:16.686845", "rc": 1, "start": "2024-11-11 20:12:16.679391" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:12:16 -0500 (0:00:00.406) 0:00:24.329 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:16 -0500 (0:00:00.148) 0:00:24.478 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:12:17 -0500 (0:00:00.514) 0:00:24.993 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:12:17 -0500 (0:00:00.124) 0:00:25.117 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 11 November 2024 20:12:17 -0500 (0:00:00.194) 0:00:25.311 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:17 -0500 (0:00:00.174) 0:00:25.486 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:18 -0500 (0:00:00.144) 0:00:25.631 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:18 -0500 (0:00:00.089) 0:00:25.721 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:18 -0500 (0:00:00.071) 0:00:25.793 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:18 -0500 (0:00:00.069) 0:00:25.862 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:19 -0500 (0:00:00.932) 0:00:26.794 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:20 -0500 (0:00:01.385) 0:00:28.179 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:20 -0500 (0:00:00.118) 0:00:28.298 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:20 -0500 (0:00:00.112) 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:20 -0500 (0:00:00.087) 0:00:28.498 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:21 -0500 (0:00:00.087) 0:00:28.585 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:21 -0500 (0:00:00.073) 0:00:28.659 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:21 -0500 (0:00:00.121) 0:00:28.781 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:21 -0500 (0:00:00.122) 0:00:28.903 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:21 -0500 (0:00:00.158) 0:00:29.062 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:21 -0500 (0:00:00.083) 0:00:29.145 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:21 -0500 (0:00:00.070) 0:00:29.216 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:21 -0500 (0:00:00.078) 0:00:29.295 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:22 -0500 (0:00:00.486) 0:00:29.781 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:22 -0500 (0:00:00.176) 0:00:29.958 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:22 -0500 (0:00:00.073) 0:00:30.032 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:22 -0500 (0:00:00.072) 0:00:30.104 ******* 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, c8832132-6107-413f-a624-17add6f54637 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:23 -0500 (0:00:00.815) 0:00:30.920 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:23 -0500 (0:00:00.124) 0:00:31.044 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8832132-6107-413f-a624-17add6f54637" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:23 -0500 (0:00:00.104) 0:00:31.149 ******* 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, c8832132-6107-413f-a624-17add6f54637\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8832132-6107-413f-a624-17add6f54637" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:23 -0500 (0:00:00.121) 0:00:31.271 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:23 -0500 (0:00:00.151) 0:00:31.423 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 11 November 2024 20:12:24 -0500 (0:00:00.457) 0:00:31.880 ******* 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, c8832132-6107-413f-a624-17add6f54637\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8832132-6107-413f-a624-17add6f54637" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:24 -0500 (0:00:00.118) 0:00:31.999 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:12:24 -0500 (0:00:00.249) 0:00:32.248 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:24 -0500 (0:00:00.200) 0:00:32.449 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:12:25 -0500 (0:00:00.373) 0:00:32.823 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:12:25 -0500 (0:00:00.102) 0:00:32.925 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:25 -0500 (0:00:00.260) 0:00:33.186 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:25 -0500 (0:00:00.129) 0:00:33.315 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373943.2009, "block_size": 4096, "blocks": 8, "ctime": 1731373943.2009, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373943.2009, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:26 -0500 (0:00:00.535) 0:00:33.851 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:12:26 -0500 (0:00:00.186) 0:00:34.038 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022663", "end": "2024-11-11 20:12:26.875165", "rc": 0, "start": "2024-11-11 20:12:26.852502" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:12:27 -0500 (0:00:00.499) 0:00:34.538 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:12:27 -0500 (0:00:00.159) 0:00:34.698 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:12:27 -0500 (0:00:00.198) 0:00:34.896 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:12:27 -0500 (0:00:00.178) 0:00:35.075 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:12:27 -0500 (0:00:00.171) 0:00:35.246 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:12:27 -0500 (0:00:00.136) 0:00:35.383 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:12:27 -0500 (0:00:00.128) 0:00:35.511 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:12:28 -0500 (0:00:00.136) 0:00:35.648 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:12:28 -0500 (0:00:00.115) 0:00:35.764 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:12:28 -0500 (0:00:00.075) 0:00:35.839 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:12:28 -0500 (0:00:00.120) 0:00:35.960 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:12:28 -0500 (0:00:00.245) 0:00:36.205 ******* 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.053143", "end": "2024-11-11 20:12:29.142318", "rc": 1, "start": "2024-11-11 20:12:29.089175" } STDOUT: Connection 'statebr' (c8832132-6107-413f-a624-17add6f54637) 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 11 November 2024 20:12:29 -0500 (0:00:00.591) 0:00:36.797 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:29 -0500 (0:00:00.212) 0:00:37.009 ******* ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:12:29 -0500 (0:00:00.093) 0:00:37.102 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:29 -0500 (0:00:00.202) 0:00:37.305 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:30 -0500 (0:00:00.236) 0:00:37.542 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:30 -0500 (0:00:00.176) 0:00:37.719 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004587", "end": "2024-11-11 20:12:31.474866", "rc": 0, "start": "2024-11-11 20:12:30.470279" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:31 -0500 (0:00:01.413) 0:00:39.133 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:31 -0500 (0:00:00.116) 0:00:39.249 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:31 -0500 (0:00:00.112) 0:00:39.361 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:12:32 -0500 (0:00:00.209) 0:00:39.570 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:32 -0500 (0:00:00.276) 0:00:39.847 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:32 -0500 (0:00:00.171) 0:00:40.018 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:32 -0500 (0:00:00.107) 0:00:40.126 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:32 -0500 (0:00:00.116) 0:00:40.243 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:32 -0500 (0:00:00.172) 0:00:40.415 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:33 -0500 (0:00:00.992) 0:00:41.408 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:35 -0500 (0:00:01.345) 0:00:42.754 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:35 -0500 (0:00:00.154) 0:00:42.908 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:35 -0500 (0:00:00.210) 0:00:43.119 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:35 -0500 (0:00:00.134) 0:00:43.253 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:35 -0500 (0:00:00.107) 0:00:43.361 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:35 -0500 (0:00:00.123) 0:00:43.485 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:36 -0500 (0:00:00.130) 0:00:43.615 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:36 -0500 (0:00:00.118) 0:00:43.733 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:36 -0500 (0:00:00.215) 0:00:43.949 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:36 -0500 (0:00:00.087) 0:00:44.037 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:36 -0500 (0:00:00.087) 0:00:44.124 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:36 -0500 (0:00:00.083) 0:00:44.208 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:37 -0500 (0:00:00.596) 0:00:44.804 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:37 -0500 (0:00:00.146) 0:00:44.950 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:37 -0500 (0:00:00.125) 0:00:45.076 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:37 -0500 (0:00:00.112) 0:00:45.189 ******* 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, beb3f94a-9016-44fe-9e8a-cb1a4085ef51 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:38 -0500 (0:00:00.908) 0:00:46.097 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:38 -0500 (0:00:00.072) 0:00:46.169 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, beb3f94a-9016-44fe-9e8a-cb1a4085ef51" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:38 -0500 (0:00:00.077) 0:00:46.247 ******* 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, beb3f94a-9016-44fe-9e8a-cb1a4085ef51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, beb3f94a-9016-44fe-9e8a-cb1a4085ef51" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:38 -0500 (0:00:00.076) 0:00:46.324 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:38 -0500 (0:00:00.142) 0:00:46.466 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:12:39 -0500 (0:00:00.548) 0:00:47.015 ******* 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, beb3f94a-9016-44fe-9e8a-cb1a4085ef51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, beb3f94a-9016-44fe-9e8a-cb1a4085ef51" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:12:39 -0500 (0:00:00.121) 0:00:47.137 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:12:39 -0500 (0:00:00.215) 0:00:47.352 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:40 -0500 (0:00:00.237) 0:00:47.590 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:40 -0500 (0:00:00.233) 0:00:47.823 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:40 -0500 (0:00:00.147) 0:00:47.971 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:40 -0500 (0:00:00.151) 0:00:48.123 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:40 -0500 (0:00:00.224) 0:00:48.347 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:42 -0500 (0:00:01.219) 0:00:49.567 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:43 -0500 (0:00:01.613) 0:00:51.180 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:43 -0500 (0:00:00.124) 0:00:51.305 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:43 -0500 (0:00:00.099) 0:00:51.404 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:43 -0500 (0:00:00.092) 0:00:51.497 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:44 -0500 (0:00:00.077) 0:00:51.575 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:44 -0500 (0:00:00.074) 0:00:51.650 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:44 -0500 (0:00:00.111) 0:00:51.761 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:44 -0500 (0:00:00.119) 0:00:51.880 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:44 -0500 (0:00:00.187) 0:00:52.067 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:44 -0500 (0:00:00.111) 0:00:52.179 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:44 -0500 (0:00:00.111) 0:00:52.291 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:44 -0500 (0:00:00.115) 0:00:52.406 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:45 -0500 (0:00:00.545) 0:00:52.951 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:45 -0500 (0:00:00.121) 0:00:53.073 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:45 -0500 (0:00:00.114) 0:00:53.187 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:45 -0500 (0:00:00.108) 0:00:53.296 ******* 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, beb3f94a-9016-44fe-9e8a-cb1a4085ef51 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:46 -0500 (0:00:01.139) 0:00:54.436 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:47 -0500 (0:00:00.139) 0:00:54.576 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, beb3f94a-9016-44fe-9e8a-cb1a4085ef51 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:47 -0500 (0:00:00.139) 0:00:54.715 ******* 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, beb3f94a-9016-44fe-9e8a-cb1a4085ef51 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, beb3f94a-9016-44fe-9e8a-cb1a4085ef51 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:47 -0500 (0:00:00.225) 0:00:54.941 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:47 -0500 (0:00:00.192) 0:00:55.133 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:48 -0500 (0:00:00.497) 0:00:55.631 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:12:48 -0500 (0:00:00.293) 0:00:55.925 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:48 -0500 (0:00:00.209) 0:00:56.134 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373958.4109418, "block_size": 4096, "blocks": 0, "ctime": 1731373958.4059417, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1731373958.4059417, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:12:49 -0500 (0:00:00.485) 0:00:56.620 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:12:49 -0500 (0:00:00.110) 0:00:56.731 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:49 -0500 (0:00:00.247) 0:00:56.979 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:49 -0500 (0:00:00.168) 0:00:57.147 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373958.4049418, "block_size": 4096, "blocks": 8, "ctime": 1731373958.4039416, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373958.4039416, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:50 -0500 (0:00:00.572) 0:00:57.720 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:12:50 -0500 (0:00:00.268) 0:00:57.988 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023278", "end": "2024-11-11 20:12:50.819117", "rc": 0, "start": "2024-11-11 20:12:50.795839" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:12:50 -0500 (0:00:00.487) 0:00:58.476 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:12:51 -0500 (0:00:00.158) 0:00:58.634 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:12:51 -0500 (0:00:00.145) 0:00:58.780 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:12:51 -0500 (0:00:00.164) 0:00:58.945 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:12:51 -0500 (0:00:00.149) 0:00:59.095 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:12:51 -0500 (0:00:00.124) 0:00:59.219 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:12:51 -0500 (0:00:00.122) 0:00:59.341 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:12:52 -0500 (0:00:00.219) 0:00:59.560 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:12:52 -0500 (0:00:00.225) 0:00:59.786 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:12:52 -0500 (0:00:00.115) 0:00:59.901 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:12:52 -0500 (0:00:00.158) 0:01:00.060 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:12:52 -0500 (0:00:00.205) 0:01:00.265 ******* 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.084988", "end": "2024-11-11 20:12:53.322188", "rc": 1, "start": "2024-11-11 20:12:53.237200" } STDOUT: Connection 'statebr' (beb3f94a-9016-44fe-9e8a-cb1a4085ef51) successfully deleted. STDERR: (process:17177): GLib-GIO-WARNING **: 20:12:53.294: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 11 November 2024 20:12:53 -0500 (0:00:00.723) 0:01:00.989 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:53 -0500 (0:00:00.343) 0:01:01.332 ******* ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:12:54 -0500 (0:00:00.307) 0:01:01.640 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:54 -0500 (0:00:00.253) 0:01:01.894 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:54 -0500 (0:00:00.177) 0:01:02.071 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:54 -0500 (0:00:00.137) 0:01:02.208 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2024-11-11 20:12:54.954708", "rc": 0, "start": "2024-11-11 20:12:54.951044" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:55 -0500 (0:00:00.370) 0:01:02.579 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:55 -0500 (0:00:00.082) 0:01:02.662 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:55 -0500 (0:00:00.154) 0:01:02.817 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:12:55 -0500 (0:00:00.336) 0:01:03.153 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:55 -0500 (0:00:00.259) 0:01:03.413 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:56 -0500 (0:00:00.226) 0:01:03.639 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:56 -0500 (0:00:00.120) 0:01:03.760 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:56 -0500 (0:00:00.077) 0:01:03.838 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:56 -0500 (0:00:00.074) 0:01:03.913 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:57 -0500 (0:00:01.093) 0:01:05.007 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:58 -0500 (0:00:01.420) 0:01:06.428 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:59 -0500 (0:00:00.120) 0:01:06.549 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:59 -0500 (0:00:00.151) 0:01:06.701 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:59 -0500 (0:00:00.156) 0:01:06.857 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:59 -0500 (0:00:00.131) 0:01:06.988 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:59 -0500 (0:00:00.113) 0:01:07.102 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:59 -0500 (0:00:00.148) 0:01:07.250 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:59 -0500 (0:00:00.120) 0:01:07.370 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:00 -0500 (0:00:00.249) 0:01:07.620 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:00 -0500 (0:00:00.176) 0:01:07.796 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:00 -0500 (0:00:00.230) 0:01:08.026 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:00 -0500 (0:00:00.146) 0:01:08.173 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:01 -0500 (0:00:00.729) 0:01:08.902 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:01 -0500 (0:00:00.182) 0:01:09.085 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:01 -0500 (0:00:00.111) 0:01:09.196 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:01 -0500 (0:00:00.083) 0:01:09.279 ******* 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, b1bb03b9-14a4-4f4e-a9ab-3972c247e860 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:02 -0500 (0:00:01.068) 0:01:10.348 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:03 -0500 (0:00:00.204) 0:01:10.553 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1bb03b9-14a4-4f4e-a9ab-3972c247e860" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:03 -0500 (0:00:00.196) 0:01:10.749 ******* 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, b1bb03b9-14a4-4f4e-a9ab-3972c247e860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1bb03b9-14a4-4f4e-a9ab-3972c247e860" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:03 -0500 (0:00:00.128) 0:01:10.878 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:03 -0500 (0:00:00.132) 0:01:11.011 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:03 -0500 (0:00:00.422) 0:01:11.433 ******* 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, b1bb03b9-14a4-4f4e-a9ab-3972c247e860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1bb03b9-14a4-4f4e-a9ab-3972c247e860" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:04 -0500 (0:00:00.122) 0:01:11.555 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:04 -0500 (0:00:00.238) 0:01:11.794 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:04 -0500 (0:00:00.457) 0:01:12.251 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:04 -0500 (0:00:00.155) 0:01:12.407 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:05 -0500 (0:00:00.128) 0:01:12.536 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:05 -0500 (0:00:00.106) 0:01:12.642 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:06 -0500 (0:00:01.009) 0:01:13.652 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:07 -0500 (0:00:01.684) 0:01:15.336 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:07 -0500 (0:00:00.130) 0:01:15.466 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:08 -0500 (0:00:00.114) 0:01:15.580 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:08 -0500 (0:00:00.125) 0:01:15.706 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:08 -0500 (0:00:00.139) 0:01:15.845 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:08 -0500 (0:00:00.120) 0:01:15.966 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:08 -0500 (0:00:00.207) 0:01:16.174 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:08 -0500 (0:00:00.103) 0:01:16.277 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:08 -0500 (0:00:00.185) 0:01:16.463 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:09 -0500 (0:00:00.123) 0:01:16.586 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:09 -0500 (0:00:00.147) 0:01:16.734 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:09 -0500 (0:00:00.131) 0:01:16.865 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:09 -0500 (0:00:00.556) 0:01:17.422 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:09 -0500 (0:00:00.083) 0:01:17.505 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:10 -0500 (0:00:00.077) 0:01:17.583 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:10 -0500 (0:00:00.104) 0:01:17.687 ******* 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, b1bb03b9-14a4-4f4e-a9ab-3972c247e860 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:10 -0500 (0:00:00.832) 0:01:18.519 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:11 -0500 (0:00:00.127) 0:01:18.647 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1bb03b9-14a4-4f4e-a9ab-3972c247e860 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:11 -0500 (0:00:00.141) 0:01:18.789 ******* 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, b1bb03b9-14a4-4f4e-a9ab-3972c247e860 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1bb03b9-14a4-4f4e-a9ab-3972c247e860 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:11 -0500 (0:00:00.122) 0:01:18.911 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:11 -0500 (0:00:00.228) 0:01:19.140 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:12 -0500 (0:00:00.704) 0:01:19.845 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 11 November 2024 20:13:12 -0500 (0:00:00.381) 0:01:20.226 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:12 -0500 (0:00:00.271) 0:01:20.498 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:13 -0500 (0:00:00.219) 0:01:20.718 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:13 -0500 (0:00:00.154) 0:01:20.872 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:13 -0500 (0:00:00.113) 0:01:20.986 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:13 -0500 (0:00:00.108) 0:01:21.094 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:14 -0500 (0:00:01.060) 0:01:22.155 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:16 -0500 (0:00:01.717) 0:01:23.872 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:16 -0500 (0:00:00.092) 0:01:23.965 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:16 -0500 (0:00:00.074) 0:01:24.040 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:16 -0500 (0:00:00.092) 0:01:24.132 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:16 -0500 (0:00:00.123) 0:01:24.256 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:16 -0500 (0:00:00.146) 0:01:24.403 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:17 -0500 (0:00:00.154) 0:01:24.557 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:17 -0500 (0:00:00.149) 0:01:24.706 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:17 -0500 (0:00:00.212) 0:01:24.919 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:17 -0500 (0:00:00.127) 0:01:25.047 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:17 -0500 (0:00:00.117) 0:01:25.164 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:17 -0500 (0:00:00.120) 0:01:25.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:18 -0500 (0:00:00.677) 0:01:25.962 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:18 -0500 (0:00:00.192) 0:01:26.154 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:18 -0500 (0:00:00.158) 0:01:26.312 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:18 -0500 (0:00:00.210) 0:01:26.522 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:20 -0500 (0:00:01.085) 0:01:27.608 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:20 -0500 (0:00:00.153) 0:01:27.762 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:20 -0500 (0:00:00.112) 0:01:27.875 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:20 -0500 (0:00:00.101) 0:01:27.977 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:20 -0500 (0:00:00.084) 0:01:28.061 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:13:20 -0500 (0:00:00.460) 0:01:28.521 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:13:21 -0500 (0:00:00.185) 0:01:28.707 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:21 -0500 (0:00:00.158) 0:01:28.866 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373982.629008, "block_size": 4096, "blocks": 0, "ctime": 1731373982.6240082, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17764, "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": 1731373982.6240082, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:13:21 -0500 (0:00:00.394) 0:01:29.261 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:13:21 -0500 (0:00:00.181) 0:01:29.442 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:22 -0500 (0:00:00.336) 0:01:29.778 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:22 -0500 (0:00:00.189) 0:01:29.968 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:22 -0500 (0:00:00.541) 0:01:30.509 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:13:23 -0500 (0:00:00.199) 0:01:30.708 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023382", "end": "2024-11-11 20:13:23.728262", "rc": 1, "start": "2024-11-11 20:13:23.704880" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:13:23 -0500 (0:00:00.762) 0:01:31.470 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:13:24 -0500 (0:00:00.098) 0:01:31.569 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:13:24 -0500 (0:00:00.094) 0:01:31.664 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:13:24 -0500 (0:00:00.076) 0:01:31.741 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:13:24 -0500 (0:00:00.092) 0:01:31.833 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:13:24 -0500 (0:00:00.183) 0:01:32.017 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:13:24 -0500 (0:00:00.160) 0:01:32.178 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:13:24 -0500 (0:00:00.119) 0:01:32.297 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:13:24 -0500 (0:00:00.117) 0:01:32.415 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:13:25 -0500 (0:00:00.221) 0:01:32.637 ******* 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.095120", "end": "2024-11-11 20:13:25.489881", "rc": 1, "start": "2024-11-11 20:13:25.394761" } STDOUT: Connection 'statebr' (b1bb03b9-14a4-4f4e-a9ab-3972c247e860) successfully deleted. STDERR: (process:18606): GLib-GIO-WARNING **: 20:13:25.464: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:18606): GLib-GIO-WARNING **: 20:13:25.464: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/29 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 11 November 2024 20:13:25 -0500 (0:00:00.488) 0:01:33.125 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:25 -0500 (0:00:00.152) 0:01:33.278 ******* ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:25 -0500 (0:00:00.118) 0:01:33.396 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:26 -0500 (0:00:00.224) 0:01:33.620 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:26 -0500 (0:00:00.365) 0:01:33.985 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:26 -0500 (0:00:00.450) 0:01:34.436 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003635", "end": "2024-11-11 20:13:27.250064", "rc": 0, "start": "2024-11-11 20:13:27.246429" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:27 -0500 (0:00:00.610) 0:01:35.046 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:27 -0500 (0:00:00.194) 0:01:35.241 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:27 -0500 (0:00:00.160) 0:01:35.402 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:13:28 -0500 (0:00:00.281) 0:01:35.683 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:28 -0500 (0:00:00.332) 0:01:36.016 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:28 -0500 (0:00:00.248) 0:01:36.265 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:28 -0500 (0:00:00.198) 0:01:36.464 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:29 -0500 (0:00:00.111) 0:01:36.576 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:29 -0500 (0:00:00.119) 0:01:36.695 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:30 -0500 (0:00:00.991) 0:01:37.687 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:31 -0500 (0:00:01.505) 0:01:39.192 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:31 -0500 (0:00:00.124) 0:01:39.317 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:31 -0500 (0:00:00.110) 0:01:39.427 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:32 -0500 (0:00:00.127) 0:01:39.555 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:32 -0500 (0:00:00.115) 0:01:39.670 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:32 -0500 (0:00:00.116) 0:01:39.787 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:32 -0500 (0:00:00.122) 0:01:39.910 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:32 -0500 (0:00:00.123) 0:01:40.033 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:32 -0500 (0:00:00.165) 0:01:40.199 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:32 -0500 (0:00:00.081) 0:01:40.280 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:32 -0500 (0:00:00.073) 0:01:40.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:32 -0500 (0:00:00.084) 0:01:40.439 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:33 -0500 (0:00:00.603) 0:01:41.042 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:33 -0500 (0:00:00.124) 0:01:41.167 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:33 -0500 (0:00:00.112) 0:01:41.279 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:33 -0500 (0:00:00.090) 0:01:41.370 ******* 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, 8b81c33d-07a5-4c3e-b5d8-e84596a57040 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:34 -0500 (0:00:00.749) 0:01:42.120 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:34 -0500 (0:00:00.112) 0:01:42.232 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b81c33d-07a5-4c3e-b5d8-e84596a57040" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:34 -0500 (0:00:00.116) 0:01:42.349 ******* 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, 8b81c33d-07a5-4c3e-b5d8-e84596a57040\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b81c33d-07a5-4c3e-b5d8-e84596a57040" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:34 -0500 (0:00:00.095) 0:01:42.444 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:35 -0500 (0:00:00.085) 0:01:42.530 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:35 -0500 (0:00:00.411) 0:01:42.942 ******* 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, 8b81c33d-07a5-4c3e-b5d8-e84596a57040\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b81c33d-07a5-4c3e-b5d8-e84596a57040" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:35 -0500 (0:00:00.119) 0:01:43.061 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:35 -0500 (0:00:00.211) 0:01:43.272 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:35 -0500 (0:00:00.230) 0:01:43.503 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:36 -0500 (0:00:00.242) 0:01:43.746 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:36 -0500 (0:00:00.093) 0:01:43.840 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:36 -0500 (0:00:00.081) 0:01:43.921 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:37 -0500 (0:00:00.997) 0:01:44.918 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:38 -0500 (0:00:01.486) 0:01:46.405 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:39 -0500 (0:00:00.251) 0:01:46.656 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:39 -0500 (0:00:00.246) 0:01:46.903 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:39 -0500 (0:00:00.166) 0:01:47.070 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:39 -0500 (0:00:00.166) 0:01:47.236 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:39 -0500 (0:00:00.171) 0:01:47.407 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:40 -0500 (0:00:00.266) 0:01:47.673 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:40 -0500 (0:00:00.143) 0:01:47.817 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:40 -0500 (0:00:00.220) 0:01:48.038 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:40 -0500 (0:00:00.191) 0:01:48.230 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:40 -0500 (0:00:00.154) 0:01:48.385 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:40 -0500 (0:00:00.123) 0:01:48.508 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:41 -0500 (0:00:00.670) 0:01:49.178 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:41 -0500 (0:00:00.135) 0:01:49.314 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:41 -0500 (0:00:00.101) 0:01:49.415 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:41 -0500 (0:00:00.102) 0:01:49.517 ******* 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, 8b81c33d-07a5-4c3e-b5d8-e84596a57040 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:42 -0500 (0:00:00.851) 0:01:50.369 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:42 -0500 (0:00:00.133) 0:01:50.503 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b81c33d-07a5-4c3e-b5d8-e84596a57040 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:43 -0500 (0:00:00.161) 0:01:50.665 ******* 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, 8b81c33d-07a5-4c3e-b5d8-e84596a57040 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b81c33d-07a5-4c3e-b5d8-e84596a57040 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:43 -0500 (0:00:00.234) 0:01:50.899 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:43 -0500 (0:00:00.172) 0:01:51.071 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 11 November 2024 20:13:44 -0500 (0:00:00.477) 0:01:51.549 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:44 -0500 (0:00:00.453) 0:01:52.002 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:44 -0500 (0:00:00.239) 0:01:52.242 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:44 -0500 (0:00:00.116) 0:01:52.358 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:44 -0500 (0:00:00.118) 0:01:52.477 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:45 -0500 (0:00:00.127) 0:01:52.605 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:46 -0500 (0:00:01.163) 0:01:53.768 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:47 -0500 (0:00:01.310) 0:01:55.079 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:47 -0500 (0:00:00.107) 0:01:55.187 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:47 -0500 (0:00:00.091) 0:01:55.278 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:47 -0500 (0:00:00.139) 0:01:55.418 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:47 -0500 (0:00:00.091) 0:01:55.509 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:48 -0500 (0:00:00.193) 0:01:55.703 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:48 -0500 (0:00:00.265) 0:01:55.969 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:48 -0500 (0:00:00.174) 0:01:56.143 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:48 -0500 (0:00:00.307) 0:01:56.451 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:49 -0500 (0:00:00.149) 0:01:56.601 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:49 -0500 (0:00:00.122) 0:01:56.724 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:49 -0500 (0:00:00.162) 0:01:56.886 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:50 -0500 (0:00:00.701) 0:01:57.588 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:50 -0500 (0:00:00.257) 0:01:57.845 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:50 -0500 (0:00:00.212) 0:01:58.057 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:50 -0500 (0:00:00.239) 0:01:58.297 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:51 -0500 (0:00:00.990) 0:01:59.288 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:51 -0500 (0:00:00.076) 0:01:59.364 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:51 -0500 (0:00:00.093) 0:01:59.458 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:52 -0500 (0:00:00.123) 0:01:59.581 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:52 -0500 (0:00:00.117) 0:01:59.698 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:52 -0500 (0:00:00.512) 0:02:00.211 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:13:52 -0500 (0:00:00.193) 0:02:00.404 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:53 -0500 (0:00:00.238) 0:02:00.643 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:53 -0500 (0:00:00.241) 0:02:00.885 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:53 -0500 (0:00:00.153) 0:02:01.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:53 -0500 (0:00:00.134) 0:02:01.174 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:53 -0500 (0:00:00.143) 0:02:01.317 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:55 -0500 (0:00:01.347) 0:02:02.665 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:56 -0500 (0:00:01.618) 0:02:04.284 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:56 -0500 (0:00:00.132) 0:02:04.416 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:57 -0500 (0:00:00.133) 0:02:04.549 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:57 -0500 (0:00:00.107) 0:02:04.657 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:57 -0500 (0:00:00.100) 0:02:04.758 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:57 -0500 (0:00:00.090) 0:02:04.848 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:57 -0500 (0:00:00.148) 0:02:04.997 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:57 -0500 (0:00:00.143) 0:02:05.141 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:57 -0500 (0:00:00.191) 0:02:05.333 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:57 -0500 (0:00:00.132) 0:02:05.466 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:58 -0500 (0:00:00.148) 0:02:05.614 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:58 -0500 (0:00:00.140) 0:02:05.755 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:59 -0500 (0:00:00.858) 0:02:06.613 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:59 -0500 (0:00:00.262) 0:02:06.876 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:59 -0500 (0:00:00.112) 0:02:06.988 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:59 -0500 (0:00:00.147) 0:02:07.135 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:00 -0500 (0:00:01.026) 0:02:08.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:00 -0500 (0:00:00.142) 0:02:08.304 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:00 -0500 (0:00:00.096) 0:02:08.401 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:00 -0500 (0:00:00.095) 0:02:08.496 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:01 -0500 (0:00:00.128) 0:02:08.625 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:14:01 -0500 (0:00:00.477) 0:02:09.102 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:14:01 -0500 (0:00:00.201) 0:02:09.303 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:14:01 -0500 (0:00:00.147) 0:02:09.451 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:14:02 -0500 (0:00:00.083) 0:02:09.534 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:14:02 -0500 (0:00:00.458) 0:02:09.993 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:14:02 -0500 (0:00:00.162) 0:02:10.156 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023048", "end": "2024-11-11 20:14:02.988141", "rc": 1, "start": "2024-11-11 20:14:02.965093" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:14:03 -0500 (0:00:00.518) 0:02:10.675 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:14:03 -0500 (0:00:00.116) 0:02:10.791 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:14:03 -0500 (0:00:00.143) 0:02:10.935 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:14:03 -0500 (0:00:00.190) 0:02:11.125 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:14:03 -0500 (0:00:00.127) 0:02:11.252 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:14:03 -0500 (0:00:00.242) 0:02:11.495 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:14:04 -0500 (0:00:00.147) 0:02:11.643 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:14:04 -0500 (0:00:00.254) 0:02:11.898 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:14:04 -0500 (0:00:00.310) 0:02:12.208 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:14:05 -0500 (0:00:00.469) 0:02:12.677 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:14:05 -0500 (0:00:00.134) 0:02:12.812 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:14:05 -0500 (0:00:00.139) 0:02:12.951 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:14:05 -0500 (0:00:00.228) 0:02:13.179 ******* 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.047899", "end": "2024-11-11 20:14:06.007604", "rc": 1, "start": "2024-11-11 20:14:05.959705" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 11 November 2024 20:14:06 -0500 (0:00:00.486) 0:02:13.666 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:14:06 -0500 (0:00:00.159) 0:02:13.825 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:14:06 -0500 (0:00:00.076) 0:02:13.902 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:14:06 -0500 (0:00:00.151) 0:02:14.054 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:14:06 -0500 (0:00:00.330) 0:02:14.385 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:14:07 -0500 (0:00:00.215) 0:02:14.601 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003811", "end": "2024-11-11 20:14:07.405856", "rc": 0, "start": "2024-11-11 20:14:07.402045" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:14:07 -0500 (0:00:00.440) 0:02:15.041 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:14:07 -0500 (0:00:00.088) 0:02:15.129 ******* ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:14:07 -0500 (0:00:00.088) 0:02:15.218 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:14:07 -0500 (0:00:00.234) 0:02:15.453 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:08 -0500 (0:00:00.208) 0:02:15.661 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:08 -0500 (0:00:00.337) 0:02:15.999 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:08 -0500 (0:00:00.187) 0:02:16.186 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:08 -0500 (0:00:00.143) 0:02:16.329 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:08 -0500 (0:00:00.172) 0:02:16.502 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:10 -0500 (0:00:01.212) 0:02:17.715 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:11 -0500 (0:00:01.562) 0:02:19.277 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:11 -0500 (0:00:00.127) 0:02:19.405 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:12 -0500 (0:00:00.124) 0:02:19.530 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:12 -0500 (0:00:00.118) 0:02:19.648 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:12 -0500 (0:00:00.119) 0:02:19.767 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:12 -0500 (0:00:00.116) 0:02:19.884 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:12 -0500 (0:00:00.156) 0:02:20.040 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:12 -0500 (0:00:00.126) 0:02:20.167 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:12 -0500 (0:00:00.213) 0:02:20.380 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:12 -0500 (0:00:00.118) 0:02:20.499 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:13 -0500 (0:00:00.114) 0:02:20.614 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:13 -0500 (0:00:00.198) 0:02:20.812 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:13 -0500 (0:00:00.562) 0:02:21.375 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:13 -0500 (0:00:00.110) 0:02:21.485 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:14 -0500 (0:00:00.094) 0:02:21.580 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:14 -0500 (0:00:00.084) 0:02:21.664 ******* 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, 0d720067-37fd-4f81-84f5-3b9e431e6bd7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:14 -0500 (0:00:00.769) 0:02:22.434 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:15 -0500 (0:00:00.096) 0:02:22.531 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d720067-37fd-4f81-84f5-3b9e431e6bd7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:15 -0500 (0:00:00.118) 0:02:22.649 ******* 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, 0d720067-37fd-4f81-84f5-3b9e431e6bd7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d720067-37fd-4f81-84f5-3b9e431e6bd7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:15 -0500 (0:00:00.123) 0:02:22.772 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:15 -0500 (0:00:00.110) 0:02:22.883 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:14:15 -0500 (0:00:00.380) 0:02:23.264 ******* 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, 0d720067-37fd-4f81-84f5-3b9e431e6bd7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d720067-37fd-4f81-84f5-3b9e431e6bd7" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:14:15 -0500 (0:00:00.110) 0:02:23.374 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:16 -0500 (0:00:00.208) 0:02:23.583 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:16 -0500 (0:00:00.235) 0:02:23.818 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:16 -0500 (0:00:00.308) 0:02:24.127 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:16 -0500 (0:00:00.126) 0:02:24.253 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:16 -0500 (0:00:00.116) 0:02:24.370 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:17 -0500 (0:00:01.045) 0:02:25.415 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:19 -0500 (0:00:01.558) 0:02:26.974 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:19 -0500 (0:00:00.160) 0:02:27.135 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:19 -0500 (0:00:00.115) 0:02:27.250 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:19 -0500 (0:00:00.169) 0:02:27.420 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:20 -0500 (0:00:00.258) 0:02:27.678 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:20 -0500 (0:00:00.317) 0:02:27.996 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:20 -0500 (0:00:00.139) 0:02:28.136 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:20 -0500 (0:00:00.120) 0:02:28.257 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:21 -0500 (0:00:00.308) 0:02:28.565 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:21 -0500 (0:00:00.135) 0:02:28.701 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:21 -0500 (0:00:00.118) 0:02:28.820 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:21 -0500 (0:00:00.127) 0:02:28.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:22 -0500 (0:00:00.701) 0:02:29.649 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:22 -0500 (0:00:00.146) 0:02:29.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:22 -0500 (0:00:00.235) 0:02:30.030 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:22 -0500 (0:00:00.112) 0:02:30.143 ******* 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, 0d720067-37fd-4f81-84f5-3b9e431e6bd7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:23 -0500 (0:00:00.981) 0:02:31.125 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:23 -0500 (0:00:00.188) 0:02:31.313 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d720067-37fd-4f81-84f5-3b9e431e6bd7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:23 -0500 (0:00:00.184) 0:02:31.498 ******* 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, 0d720067-37fd-4f81-84f5-3b9e431e6bd7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d720067-37fd-4f81-84f5-3b9e431e6bd7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:24 -0500 (0:00:00.170) 0:02:31.669 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:24 -0500 (0:00:00.154) 0:02:31.823 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:14:24 -0500 (0:00:00.629) 0:02:32.452 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:25 -0500 (0:00:00.230) 0:02:32.682 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:25 -0500 (0:00:00.250) 0:02:32.933 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:25 -0500 (0:00:00.167) 0:02:33.101 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:25 -0500 (0:00:00.111) 0:02:33.212 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:25 -0500 (0:00:00.142) 0:02:33.355 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:26 -0500 (0:00:01.077) 0:02:34.432 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:28 -0500 (0:00:01.246) 0:02:35.678 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:28 -0500 (0:00:00.187) 0:02:35.865 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:28 -0500 (0:00:00.116) 0:02:35.982 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:28 -0500 (0:00:00.165) 0:02:36.148 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:28 -0500 (0:00:00.200) 0:02:36.348 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:29 -0500 (0:00:00.229) 0:02:36.578 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:29 -0500 (0:00:00.151) 0:02:36.729 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:29 -0500 (0:00:00.155) 0:02:36.885 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:29 -0500 (0:00:00.211) 0:02:37.097 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:29 -0500 (0:00:00.138) 0:02:37.235 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:29 -0500 (0:00:00.122) 0:02:37.357 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:29 -0500 (0:00:00.135) 0:02:37.493 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:30 -0500 (0:00:00.939) 0:02:38.432 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:31 -0500 (0:00:00.273) 0:02:38.705 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:31 -0500 (0:00:00.236) 0:02:38.942 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:31 -0500 (0:00:00.138) 0:02:39.080 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:32 -0500 (0:00:00.887) 0:02:39.968 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:32 -0500 (0:00:00.109) 0:02:40.077 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:32 -0500 (0:00:00.113) 0:02:40.191 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:32 -0500 (0:00:00.243) 0:02:40.434 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:33 -0500 (0:00:00.146) 0:02:40.581 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:14:33 -0500 (0:00:00.401) 0:02:40.983 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:14:33 -0500 (0:00:00.224) 0:02:41.208 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:33 -0500 (0:00:00.206) 0:02:41.414 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:34 -0500 (0:00:00.254) 0:02:41.668 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:34 -0500 (0:00:00.183) 0:02:41.851 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:34 -0500 (0:00:00.120) 0:02:41.972 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:34 -0500 (0:00:00.131) 0:02:42.103 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:35 -0500 (0:00:01.370) 0:02:43.474 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:37 -0500 (0:00:01.814) 0:02:45.289 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:37 -0500 (0:00:00.111) 0:02:45.400 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:37 -0500 (0:00:00.079) 0:02:45.480 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:38 -0500 (0:00:00.108) 0:02:45.588 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:38 -0500 (0:00:00.193) 0:02:45.782 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:38 -0500 (0:00:00.232) 0:02:46.015 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:38 -0500 (0:00:00.243) 0:02:46.258 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:38 -0500 (0:00:00.169) 0:02:46.427 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:39 -0500 (0:00:00.203) 0:02:46.631 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:39 -0500 (0:00:00.142) 0:02:46.774 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:39 -0500 (0:00:00.187) 0:02:46.961 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:39 -0500 (0:00:00.160) 0:02:47.122 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:40 -0500 (0:00:00.654) 0:02:47.776 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:40 -0500 (0:00:00.125) 0:02:47.902 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:40 -0500 (0:00:00.117) 0:02:48.019 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:40 -0500 (0:00:00.197) 0:02:48.216 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:41 -0500 (0:00:00.740) 0:02:48.957 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:41 -0500 (0:00:00.090) 0:02:49.048 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:41 -0500 (0:00:00.240) 0:02:49.288 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:41 -0500 (0:00:00.174) 0:02:49.463 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:42 -0500 (0:00:00.170) 0:02:49.633 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:14:42 -0500 (0:00:00.413) 0:02:50.047 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:14:42 -0500 (0:00:00.246) 0:02:50.293 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:14:42 -0500 (0:00:00.182) 0:02:50.476 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:14:43 -0500 (0:00:00.114) 0:02:50.590 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:14:43 -0500 (0:00:00.512) 0:02:51.103 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:14:43 -0500 (0:00:00.228) 0:02:51.332 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022700", "end": "2024-11-11 20:14:44.151357", "rc": 1, "start": "2024-11-11 20:14:44.128657" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:14:44 -0500 (0:00:00.493) 0:02:51.825 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:14:44 -0500 (0:00:00.133) 0:02:51.959 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:14:44 -0500 (0:00:00.199) 0:02:52.159 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:14:44 -0500 (0:00:00.161) 0:02:52.320 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:14:44 -0500 (0:00:00.130) 0:02:52.450 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:14:45 -0500 (0:00:00.132) 0:02:52.583 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 11 November 2024 20:14:45 -0500 (0:00:00.132) 0:02:52.716 ******* [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.620571", "end": "2024-11-11 20:14:46.203464", "rc": 0, "start": "2024-11-11 20:14:45.582893" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 11 November 2024 20:14:46 -0500 (0:00:01.209) 0:02:53.925 ******* ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 11 November 2024 20:14:46 -0500 (0:00:00.132) 0:02:54.058 ******* ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:14:46 -0500 (0:00:00.123) 0:02:54.182 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:14:46 -0500 (0:00:00.213) 0:02:54.396 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:14:47 -0500 (0:00:00.165) 0:02:54.561 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:14:47 -0500 (0:00:00.409) 0:02:54.970 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:14:47 -0500 (0:00:00.193) 0:02:55.164 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:14:47 -0500 (0:00:00.145) 0:02:55.309 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:14:48 -0500 (0:00:00.324) 0:02:55.634 ******* 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.049414", "end": "2024-11-11 20:14:48.408521", "rc": 1, "start": "2024-11-11 20:14:48.359107" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 11 November 2024 20:14:48 -0500 (0:00:00.583) 0:02:56.218 ******* 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.006920", "end": "2024-11-11 20:14:49.126504", "rc": 0, "start": "2024-11-11 20:14:49.119584" } 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 12:49:91:19:c7:8f brd ff:ff:ff:ff:ff:ff inet 10.31.9.45/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3122sec preferred_lft 3122sec inet6 fe80::1049:91ff:fe19:c78f/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ee:8b:3a:33:2e:74 brd ff:ff:ff:ff:ff:ff 26: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 32:a2:e7:ae:f9:b5 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::30a2:e7ff:feae:f9b5/64 scope link valid_lft forever preferred_lft forever 37: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 16:82:ca:cd:75:9c brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.45 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 11 November 2024 20:14:49 -0500 (0:00:00.582) 0:02:56.800 ******* 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.362743", "end": "2024-11-11 20:14:50.026752", "rc": 0, "start": "2024-11-11 20:14:49.664009" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2101 0 --:--:-- --:--:-- --:--:-- 2103 % 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 1472 0 --:--:-- --:--:-- --:--:-- 1477 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Monday 11 November 2024 20:14:50 -0500 (0:00:00.799) 0:02:57.600 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.05s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.82s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.41s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.37s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.37s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.35s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.25s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.22s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21