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-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 02 November 2024 08:52:11 -0400 (0:00:00.041) 0:00:00.041 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 02 November 2024 08:52:12 -0400 (0:00:01.304) 0:00:01.345 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.159) 0:00:01.504 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.573) 0:00:02.077 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.592) 0:00:02.670 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.060) 0:00:02.731 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 02 November 2024 08:52:13 -0400 (0:00:00.066) 0:00:02.797 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 02 November 2024 08:52:14 -0400 (0:00:00.127) 0:00:02.924 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 02 November 2024 08:52:14 -0400 (0:00:00.770) 0:00:03.695 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 02 November 2024 08:52:16 -0400 (0:00:01.214) 0:00:04.909 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.166266", "end": "2024-11-02 08:52:16.650147", "rc": 0, "start": "2024-11-02 08:52:16.483881" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.663) 0:00:05.572 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.072) 0:00:05.645 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.040) 0:00:05.685 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.041) 0:00:05.726 ***** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.802) 0:00:06.529 ***** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.081) 0:00:06.610 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.110) 0:00:06.721 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.046) 0:00:06.767 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.129) 0:00:06.897 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.074) 0:00:06.972 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.064) 0:00:07.036 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003328", "end": "2024-11-02 08:52:18.556499", "rc": 0, "start": "2024-11-02 08:52:18.553171" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.395) 0:00:07.431 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.046) 0:00:07.477 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.044) 0:00:07.522 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.092) 0:00:07.615 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008960", "end": "2024-11-02 08:52:19.156003", "rc": 1, "start": "2024-11-02 08:52:19.147043" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:52:19 -0400 (0:00:00.488) 0:00:08.103 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:19 -0400 (0:00:00.118) 0:00:08.221 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.623) 0:00:08.845 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.102) 0:00:08.948 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.192) 0:00:09.140 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.301) 0:00:09.442 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.158) 0:00:09.600 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.105) 0:00:09.706 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.065) 0:00:09.772 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:21 -0400 (0:00:00.051) 0:00:09.823 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:22 -0400 (0:00:01.296) 0:00:11.120 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:24 -0400 (0:00:02.256) 0:00:13.376 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.343) 0:00:13.720 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.233) 0:00:13.953 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.267) 0:00:14.221 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.202) 0:00:14.423 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.118) 0:00:14.542 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.148) 0:00:14.691 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.149) 0:00:14.840 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.293) 0:00:15.134 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.134) 0:00:15.269 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.181) 0:00:15.450 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.123) 0:00:15.573 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:28 -0400 (0:00:01.396) 0:00:16.970 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:28 -0400 (0:00:00.125) 0:00:17.095 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:28 -0400 (0:00:00.113) 0:00:17.209 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:28 -0400 (0:00:00.102) 0:00:17.312 ***** 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, cb594c0b-6601-4f3b-8061-72a7cd9a028e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:30 -0400 (0:00:01.586) 0:00:18.898 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.143) 0:00:19.042 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb594c0b-6601-4f3b-8061-72a7cd9a028e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.240) 0:00:19.283 ***** 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, cb594c0b-6601-4f3b-8061-72a7cd9a028e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb594c0b-6601-4f3b-8061-72a7cd9a028e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.116) 0:00:19.400 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:30 -0400 (0:00:00.076) 0:00:19.477 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.574) 0:00:20.051 ***** 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, cb594c0b-6601-4f3b-8061-72a7cd9a028e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb594c0b-6601-4f3b-8061-72a7cd9a028e" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.125) 0:00:20.176 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.200) 0:00:20.377 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.209) 0:00:20.586 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.123) 0:00:20.710 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551949.8756485, "block_size": 4096, "blocks": 8, "ctime": 1730551949.8746483, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730551949.8746483, "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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.567) 0:00:21.278 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.156) 0:00:21.435 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024797", "end": "2024-11-02 08:52:32.985205", "rc": 0, "start": "2024-11-02 08:52:32.960408" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.491) 0:00:21.927 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.110) 0:00:22.037 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.120) 0:00:22.157 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.126) 0:00:22.284 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.109) 0:00:22.394 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.205) 0:00:22.599 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.106) 0:00:22.706 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.084) 0:00:22.791 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.101) 0:00:22.892 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.248) 0:00:23.140 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.157) 0:00:23.298 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551949.8816485, "block_size": 4096, "blocks": 0, "ctime": 1730551949.8766484, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17658, "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": 1730551949.8766484, "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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.387) 0:00:23.686 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.137) 0:00:23.823 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.116) 0:00:23.940 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.246) 0:00:24.186 ***** 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.073117", "end": "2024-11-02 08:52:35.841523", "rc": 1, "start": "2024-11-02 08:52:35.768406" } STDOUT: Connection 'statebr' (cb594c0b-6601-4f3b-8061-72a7cd9a028e) successfully deleted. STDERR: (process:16999): GLib-GIO-WARNING **: 08:52:35.824: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/42 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.700) 0:00:24.887 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.306) 0:00:25.193 ***** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.128) 0:00:25.321 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.297) 0:00:25.619 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.268) 0:00:25.888 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.182) 0:00:26.070 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004048", "end": "2024-11-02 08:52:37.545132", "rc": 0, "start": "2024-11-02 08:52:37.541084" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.447) 0:00:26.517 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.111) 0:00:26.628 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.111) 0:00:26.740 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 02 November 2024 08:52:38 -0400 (0:00:00.271) 0:00:27.012 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006911", "end": "2024-11-02 08:52:38.575711", "rc": 1, "start": "2024-11-02 08:52:38.568800" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:52:38 -0400 (0:00:00.513) 0:00:27.525 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:38 -0400 (0:00:00.230) 0:00:27.756 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:52:39 -0400 (0:00:00.480) 0:00:28.236 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:52:39 -0400 (0:00:00.108) 0:00:28.345 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 02 November 2024 08:52:39 -0400 (0:00:00.181) 0:00:28.527 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:40 -0400 (0:00:00.347) 0:00:28.874 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:40 -0400 (0:00:00.370) 0:00:29.245 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:40 -0400 (0:00:00.139) 0:00:29.384 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:40 -0400 (0:00:00.075) 0:00:29.459 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:40 -0400 (0:00:00.074) 0:00:29.534 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:41 -0400 (0:00:00.989) 0:00:30.524 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:43 -0400 (0:00:01.387) 0:00:31.911 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.119) 0:00:32.031 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.188) 0:00:32.219 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.126) 0:00:32.346 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.121) 0:00:32.467 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.157) 0:00:32.624 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:43 -0400 (0:00:00.179) 0:00:32.804 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:44 -0400 (0:00:00.154) 0:00:32.958 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:44 -0400 (0:00:00.185) 0:00:33.144 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:44 -0400 (0:00:00.140) 0:00:33.284 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:44 -0400 (0:00:00.120) 0:00:33.404 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:44 -0400 (0:00:00.118) 0:00:33.522 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:45 -0400 (0:00:00.674) 0:00:34.197 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:45 -0400 (0:00:00.187) 0:00:34.385 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:45 -0400 (0:00:00.158) 0:00:34.543 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:45 -0400 (0:00:00.115) 0:00:34.658 ***** 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, 453c07f7-ac8c-43f9-8a7b-ffb6764a32e8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.816) 0:00:35.474 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.139) 0:00:35.614 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 453c07f7-ac8c-43f9-8a7b-ffb6764a32e8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.115) 0:00:35.730 ***** 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, 453c07f7-ac8c-43f9-8a7b-ffb6764a32e8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 453c07f7-ac8c-43f9-8a7b-ffb6764a32e8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:47 -0400 (0:00:00.166) 0:00:35.896 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:47 -0400 (0:00:00.169) 0:00:36.066 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 02 November 2024 08:52:47 -0400 (0:00:00.554) 0:00:36.620 ***** 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, 453c07f7-ac8c-43f9-8a7b-ffb6764a32e8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 453c07f7-ac8c-43f9-8a7b-ffb6764a32e8" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:52:47 -0400 (0:00:00.147) 0:00:36.767 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.249) 0:00:37.017 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.224) 0:00:37.242 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.551) 0:00:37.793 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.114) 0:00:37.907 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.154) 0:00:38.062 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.096) 0:00:38.159 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551966.479692, "block_size": 4096, "blocks": 8, "ctime": 1730551966.479692, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730551966.479692, "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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.421) 0:00:38.581 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:52:49 -0400 (0:00:00.154) 0:00:38.735 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021971", "end": "2024-11-02 08:52:50.449438", "rc": 0, "start": "2024-11-02 08:52:50.427467" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.658) 0:00:39.394 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.116) 0:00:39.510 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:52:50 -0400 (0:00:00.120) 0:00:39.631 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.231) 0:00:39.863 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.130) 0:00:39.993 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.127) 0:00:40.121 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.127) 0:00:40.248 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.263) 0:00:40.511 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.206) 0:00:40.719 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:52:52 -0400 (0:00:00.121) 0:00:40.840 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:52:52 -0400 (0:00:00.156) 0:00:40.997 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:52:52 -0400 (0:00:00.241) 0:00:41.239 ***** 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.046806", "end": "2024-11-02 08:52:52.961137", "rc": 1, "start": "2024-11-02 08:52:52.914331" } STDOUT: Connection 'statebr' (453c07f7-ac8c-43f9-8a7b-ffb6764a32e8) 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 02 November 2024 08:52:53 -0400 (0:00:00.759) 0:00:41.999 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:52:53 -0400 (0:00:00.431) 0:00:42.430 ***** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:52:53 -0400 (0:00:00.227) 0:00:42.657 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:52:54 -0400 (0:00:00.311) 0:00:42.969 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:52:54 -0400 (0:00:00.251) 0:00:43.221 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:52:54 -0400 (0:00:00.221) 0:00:43.443 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003295", "end": "2024-11-02 08:52:54.978995", "rc": 0, "start": "2024-11-02 08:52:54.975700" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.554) 0:00:43.998 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.136) 0:00:44.135 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.123) 0:00:44.258 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.207) 0:00:44.466 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:55 -0400 (0:00:00.235) 0:00:44.701 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.320) 0:00:45.021 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.183) 0:00:45.205 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.155) 0:00:45.360 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:56 -0400 (0:00:00.131) 0:00:45.491 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:57 -0400 (0:00:01.115) 0:00:46.607 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:59 -0400 (0:00:01.328) 0:00:47.936 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.079) 0:00:48.015 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.076) 0:00:48.092 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.111) 0:00:48.203 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.123) 0:00:48.327 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.127) 0:00:48.455 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:59 -0400 (0:00:00.147) 0:00:48.602 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:00 -0400 (0:00:00.240) 0:00:48.842 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:00 -0400 (0:00:00.368) 0:00:49.211 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:00 -0400 (0:00:00.123) 0:00:49.334 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:00 -0400 (0:00:00.126) 0:00:49.460 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:00 -0400 (0:00:00.139) 0:00:49.600 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:01 -0400 (0:00:00.922) 0:00:50.523 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:01 -0400 (0:00:00.226) 0:00:50.749 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:02 -0400 (0:00:00.124) 0:00:50.874 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:02 -0400 (0:00:00.212) 0:00:51.086 ***** 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, 95f37346-906f-4f5d-a117-00af120a05cf TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:03 -0400 (0:00:01.058) 0:00:52.145 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.153) 0:00:52.298 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95f37346-906f-4f5d-a117-00af120a05cf" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.136) 0:00:52.435 ***** 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, 95f37346-906f-4f5d-a117-00af120a05cf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95f37346-906f-4f5d-a117-00af120a05cf" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.153) 0:00:52.588 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:03 -0400 (0:00:00.123) 0:00:52.712 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.481) 0:00:53.193 ***** 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, 95f37346-906f-4f5d-a117-00af120a05cf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95f37346-906f-4f5d-a117-00af120a05cf" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.110) 0:00:53.303 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.214) 0:00:53.518 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.237) 0:00:53.755 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:05 -0400 (0:00:00.249) 0:00:54.005 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:05 -0400 (0:00:00.128) 0:00:54.133 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:05 -0400 (0:00:00.163) 0:00:54.297 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:05 -0400 (0:00:00.114) 0:00:54.411 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:06 -0400 (0:00:01.362) 0:00:55.773 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:08 -0400 (0:00:01.665) 0:00:57.439 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:08 -0400 (0:00:00.105) 0:00:57.545 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:08 -0400 (0:00:00.082) 0:00:57.627 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:08 -0400 (0:00:00.117) 0:00:57.745 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:09 -0400 (0:00:00.142) 0:00:57.888 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:09 -0400 (0:00:00.124) 0:00:58.012 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:09 -0400 (0:00:00.137) 0:00:58.150 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:09 -0400 (0:00:00.129) 0:00:58.280 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:09 -0400 (0:00:00.254) 0:00:58.535 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:09 -0400 (0:00:00.117) 0:00:58.652 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:10 -0400 (0:00:00.187) 0:00:58.839 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:10 -0400 (0:00:00.146) 0:00:58.985 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.847) 0:00:59.832 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.164) 0:00:59.997 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.104) 0:01:00.102 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.092) 0:01:00.195 ***** 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, 95f37346-906f-4f5d-a117-00af120a05cf skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:12 -0400 (0:00:00.868) 0:01:01.064 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:12 -0400 (0:00:00.165) 0:01:01.229 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 95f37346-906f-4f5d-a117-00af120a05cf skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:12 -0400 (0:00:00.135) 0:01:01.364 ***** 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, 95f37346-906f-4f5d-a117-00af120a05cf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 95f37346-906f-4f5d-a117-00af120a05cf skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:12 -0400 (0:00:00.134) 0:01:01.499 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:12 -0400 (0:00:00.102) 0:01:01.602 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:53:13 -0400 (0:00:00.403) 0:01:02.006 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:53:13 -0400 (0:00:00.253) 0:01:02.259 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:53:13 -0400 (0:00:00.221) 0:01:02.480 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551983.1517355, "block_size": 4096, "blocks": 0, "ctime": 1730551983.1477356, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17658, "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": 1730551983.1477356, "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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:53:14 -0400 (0:00:00.793) 0:01:03.274 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 November 2024 08:53:14 -0400 (0:00:00.209) 0:01:03.484 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.380) 0:01:03.864 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.123) 0:01:03.988 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551983.1467357, "block_size": 4096, "blocks": 8, "ctime": 1730551983.1457355, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730551983.1457355, "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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.476) 0:01:04.464 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:53:15 -0400 (0:00:00.122) 0:01:04.586 ***** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022152", "end": "2024-11-02 08:53:16.172425", "rc": 0, "start": "2024-11-02 08:53:16.150273" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:53:16 -0400 (0:00:00.524) 0:01:05.111 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:53:16 -0400 (0:00:00.085) 0:01:05.196 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:53:16 -0400 (0:00:00.105) 0:01:05.302 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:53:16 -0400 (0:00:00.118) 0:01:05.421 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:53:16 -0400 (0:00:00.100) 0:01:05.521 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 November 2024 08:53:16 -0400 (0:00:00.095) 0:01:05.617 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 November 2024 08:53:16 -0400 (0:00:00.089) 0:01:05.707 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 November 2024 08:53:17 -0400 (0:00:00.149) 0:01:05.856 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:53:17 -0400 (0:00:00.132) 0:01:05.989 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:53:17 -0400 (0:00:00.118) 0:01:06.107 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:53:17 -0400 (0:00:00.218) 0:01:06.325 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:53:17 -0400 (0:00:00.241) 0:01:06.567 ***** 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.086133", "end": "2024-11-02 08:53:18.179499", "rc": 1, "start": "2024-11-02 08:53:18.093366" } STDOUT: Connection 'statebr' (95f37346-906f-4f5d-a117-00af120a05cf) successfully deleted. STDERR: (process:18806): GLib-GIO-WARNING **: 08:53:18.154: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/43 but no object proxy exists (process:18806): GLib-GIO-WARNING **: 08:53:18.154: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/71 but no object proxy exists (process:18806): GLib-GIO-WARNING **: 08:53:18.154: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/41 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 02 November 2024 08:53:18 -0400 (0:00:00.709) 0:01:07.276 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:53:18 -0400 (0:00:00.414) 0:01:07.690 ***** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.155) 0:01:07.846 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.263) 0:01:08.109 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.265) 0:01:08.374 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:53:19 -0400 (0:00:00.372) 0:01:08.747 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004813", "end": "2024-11-02 08:53:21.402527", "rc": 0, "start": "2024-11-02 08:53:20.397714" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:53:21 -0400 (0:00:01.603) 0:01:10.350 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:53:21 -0400 (0:00:00.104) 0:01:10.454 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:53:21 -0400 (0:00:00.079) 0:01:10.534 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.306) 0:01:10.841 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.386) 0:01:11.228 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.333) 0:01:11.561 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.152) 0:01:11.714 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:23 -0400 (0:00:00.107) 0:01:11.822 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:23 -0400 (0:00:00.130) 0:01:11.952 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:24 -0400 (0:00:01.349) 0:01:13.302 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:25 -0400 (0:00:01.358) 0:01:14.660 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.192) 0:01:14.853 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.077) 0:01:14.931 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.076) 0:01:15.007 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.073) 0:01:15.081 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.075) 0:01:15.156 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.084) 0:01:15.241 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.081) 0:01:15.323 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.203) 0:01:15.527 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:26 -0400 (0:00:00.177) 0:01:15.704 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.237) 0:01:15.942 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.147) 0:01:16.089 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:28 -0400 (0:00:00.985) 0:01:17.074 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:28 -0400 (0:00:00.216) 0:01:17.291 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:28 -0400 (0:00:00.149) 0:01:17.441 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:28 -0400 (0:00:00.258) 0:01:17.699 ***** 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, 38b334df-ff45-4778-8695-8956ce2afe3b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:29 -0400 (0:00:01.071) 0:01:18.771 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:30 -0400 (0:00:00.144) 0:01:18.916 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38b334df-ff45-4778-8695-8956ce2afe3b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:30 -0400 (0:00:00.109) 0:01:19.025 ***** 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, 38b334df-ff45-4778-8695-8956ce2afe3b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38b334df-ff45-4778-8695-8956ce2afe3b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:30 -0400 (0:00:00.178) 0:01:19.203 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:30 -0400 (0:00:00.133) 0:01:19.336 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.584) 0:01:19.920 ***** 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, 38b334df-ff45-4778-8695-8956ce2afe3b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 38b334df-ff45-4778-8695-8956ce2afe3b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.126) 0:01:20.047 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.218) 0:01:20.265 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.287) 0:01:20.552 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.153) 0:01:20.706 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:32 -0400 (0:00:00.132) 0:01:20.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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:32 -0400 (0:00:00.123) 0:01:20.962 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:33 -0400 (0:00:01.100) 0:01:22.063 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:34 -0400 (0:00:01.610) 0:01:23.674 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.101) 0:01:23.775 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.169) 0:01:23.945 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.206) 0:01:24.151 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.160) 0:01:24.312 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.148) 0:01:24.460 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.137) 0:01:24.598 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:35 -0400 (0:00:00.156) 0:01:24.754 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:36 -0400 (0:00:00.228) 0:01:24.982 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:36 -0400 (0:00:00.138) 0:01:25.121 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:36 -0400 (0:00:00.118) 0:01:25.240 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:36 -0400 (0:00:00.148) 0:01:25.388 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:37 -0400 (0:00:00.658) 0:01:26.047 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:37 -0400 (0:00:00.159) 0:01:26.206 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:37 -0400 (0:00:00.134) 0:01:26.340 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:37 -0400 (0:00:00.155) 0:01:26.495 ***** 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, 38b334df-ff45-4778-8695-8956ce2afe3b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:38 -0400 (0:00:00.941) 0:01:27.437 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:38 -0400 (0:00:00.132) 0:01:27.570 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 38b334df-ff45-4778-8695-8956ce2afe3b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:38 -0400 (0:00:00.152) 0:01:27.722 ***** 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, 38b334df-ff45-4778-8695-8956ce2afe3b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 38b334df-ff45-4778-8695-8956ce2afe3b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.167) 0:01:27.890 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.128) 0:01:28.019 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.484) 0:01:28.503 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 02 November 2024 08:53:39 -0400 (0:00:00.180) 0:01:28.684 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:40 -0400 (0:00:00.240) 0:01:28.924 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:40 -0400 (0:00:00.226) 0:01:29.151 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:40 -0400 (0:00:00.148) 0:01:29.299 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:40 -0400 (0:00:00.110) 0:01:29.410 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:40 -0400 (0:00:00.088) 0:01:29.498 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:42 -0400 (0:00:01.312) 0:01:30.811 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:43 -0400 (0:00:01.539) 0:01:32.351 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:43 -0400 (0:00:00.122) 0:01:32.474 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:43 -0400 (0:00:00.150) 0:01:32.625 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:43 -0400 (0:00:00.122) 0:01:32.748 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:44 -0400 (0:00:00.124) 0:01:32.872 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:44 -0400 (0:00:00.130) 0:01:33.003 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:44 -0400 (0:00:00.212) 0:01:33.215 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:44 -0400 (0:00:00.212) 0:01:33.428 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:45 -0400 (0:00:00.381) 0:01:33.809 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:45 -0400 (0:00:00.242) 0:01:34.051 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:45 -0400 (0:00:00.217) 0:01:34.269 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:45 -0400 (0:00:00.251) 0:01:34.520 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.750) 0:01:35.270 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.127) 0:01:35.398 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.154) 0:01:35.553 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:53:46 -0400 (0:00:00.165) 0:01:35.718 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:47 -0400 (0:00:00.965) 0:01:36.683 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:53:48 -0400 (0:00:00.142) 0:01:36.826 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:48 -0400 (0:00:00.155) 0:01:36.981 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:48 -0400 (0:00:00.127) 0:01:37.109 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:53:48 -0400 (0:00:00.145) 0:01:37.254 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:53:48 -0400 (0:00:00.424) 0:01:37.679 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.165) 0:01:37.845 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.231) 0:01:38.077 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730552009.7068052, "block_size": 4096, "blocks": 0, "ctime": 1730552009.705805, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17660, "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": 1730552009.705805, "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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.435) 0:01:38.513 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.171) 0:01:38.685 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.192) 0:01:38.877 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.116) 0:01:38.993 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.462) 0:01:39.456 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.119) 0:01:39.575 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020070", "end": "2024-11-02 08:53:51.080305", "rc": 1, "start": "2024-11-02 08:53:51.060235" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.405) 0:01:39.981 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.079) 0:01:40.060 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.082) 0:01:40.142 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.088) 0:01:40.231 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.079) 0:01:40.310 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.079) 0:01:40.389 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.095) 0:01:40.485 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.100) 0:01:40.586 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:53:51 -0400 (0:00:00.118) 0:01:40.705 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:53:52 -0400 (0:00:00.182) 0:01:40.888 ***** 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.086226", "end": "2024-11-02 08:53:52.417438", "rc": 1, "start": "2024-11-02 08:53:52.331212" } STDOUT: Connection 'statebr' (38b334df-ff45-4778-8695-8956ce2afe3b) successfully deleted. STDERR: (process:20238): GLib-GIO-WARNING **: 08:53:52.393: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/44 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 02 November 2024 08:53:52 -0400 (0:00:00.437) 0:01:41.326 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:53:52 -0400 (0:00:00.138) 0:01:41.464 ***** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:53:52 -0400 (0:00:00.080) 0:01:41.545 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:53:52 -0400 (0:00:00.192) 0:01:41.738 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:53:53 -0400 (0:00:00.198) 0:01:41.936 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:53:53 -0400 (0:00:00.211) 0:01:42.147 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003296", "end": "2024-11-02 08:53:53.656073", "rc": 0, "start": "2024-11-02 08:53:53.652777" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:53:53 -0400 (0:00:00.457) 0:01:42.605 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:53:53 -0400 (0:00:00.125) 0:01:42.731 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.119) 0:01:42.851 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.244) 0:01:43.095 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.232) 0:01:43.328 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:53:54 -0400 (0:00:00.335) 0:01:43.664 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.166) 0:01:43.831 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.146) 0:01:43.977 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:53:55 -0400 (0:00:00.132) 0:01:44.110 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:53:56 -0400 (0:00:01.194) 0:01:45.304 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:53:58 -0400 (0:00:01.694) 0:01:46.999 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.119) 0:01:47.119 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.095) 0:01:47.214 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.140) 0:01:47.355 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.122) 0:01:47.478 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:53:58 -0400 (0:00:00.154) 0:01:47.633 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.275) 0:01:47.909 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.168) 0:01:48.077 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.226) 0:01:48.303 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.135) 0:01:48.439 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.116) 0:01:48.555 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:53:59 -0400 (0:00:00.146) 0:01:48.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:54:00 -0400 (0:00:00.717) 0:01:49.419 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:54:00 -0400 (0:00:00.125) 0:01:49.545 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:54:00 -0400 (0:00:00.106) 0:01:49.651 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:54:00 -0400 (0:00:00.102) 0:01:49.754 ***** 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, d5c24c73-3d14-420f-9a4d-19dfe3feedda TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:01 -0400 (0:00:01.000) 0:01:50.754 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:54:02 -0400 (0:00:00.080) 0:01:50.834 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5c24c73-3d14-420f-9a4d-19dfe3feedda" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:02 -0400 (0:00:00.121) 0:01:50.956 ***** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5c24c73-3d14-420f-9a4d-19dfe3feedda\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5c24c73-3d14-420f-9a4d-19dfe3feedda" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:02 -0400 (0:00:00.169) 0:01:51.125 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:54:02 -0400 (0:00:00.158) 0:01:51.284 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:54:03 -0400 (0:00:00.632) 0:01:51.917 ***** 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, d5c24c73-3d14-420f-9a4d-19dfe3feedda\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5c24c73-3d14-420f-9a4d-19dfe3feedda" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:54:03 -0400 (0:00:00.239) 0:01:52.157 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:54:03 -0400 (0:00:00.488) 0:01:52.645 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:54:04 -0400 (0:00:00.353) 0:01:52.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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:54:04 -0400 (0:00:00.191) 0:01:53.191 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:54:04 -0400 (0:00:00.144) 0:01:53.335 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:54:04 -0400 (0:00:00.122) 0:01:53.458 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:54:05 -0400 (0:00:01.024) 0:01:54.482 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:54:07 -0400 (0:00:01.474) 0:01:55.957 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:07 -0400 (0:00:00.209) 0:01:56.166 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:54:07 -0400 (0:00:00.173) 0:01:56.340 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:54:07 -0400 (0:00:00.171) 0:01:56.511 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:54:07 -0400 (0:00:00.138) 0:01:56.650 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:54:08 -0400 (0:00:00.221) 0:01:56.871 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:54:08 -0400 (0:00:00.193) 0:01:57.065 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:54:08 -0400 (0:00:00.261) 0:01:57.326 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:54:08 -0400 (0:00:00.227) 0:01:57.554 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:54:08 -0400 (0:00:00.248) 0:01:57.802 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:54:09 -0400 (0:00:00.135) 0:01:57.938 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:54:09 -0400 (0:00:00.130) 0:01:58.068 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:54:10 -0400 (0:00:00.843) 0:01:58.912 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:54:10 -0400 (0:00:00.132) 0:01:59.045 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:54:10 -0400 (0:00:00.178) 0:01:59.224 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:54:10 -0400 (0:00:00.113) 0:01:59.337 ***** 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, d5c24c73-3d14-420f-9a4d-19dfe3feedda skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:11 -0400 (0:00:01.007) 0:02:00.345 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:54:11 -0400 (0:00:00.201) 0:02:00.547 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5c24c73-3d14-420f-9a4d-19dfe3feedda skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:12 -0400 (0:00:00.365) 0:02:00.913 ***** 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, d5c24c73-3d14-420f-9a4d-19dfe3feedda skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5c24c73-3d14-420f-9a4d-19dfe3feedda skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:12 -0400 (0:00:00.233) 0:02:01.147 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:54:12 -0400 (0:00:00.153) 0:02:01.301 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 02 November 2024 08:54:12 -0400 (0:00:00.471) 0:02:01.772 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:54:13 -0400 (0:00:00.254) 0:02:02.027 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:54:13 -0400 (0:00:00.342) 0:02:02.370 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:54:13 -0400 (0:00:00.184) 0:02:02.554 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:54:13 -0400 (0:00:00.235) 0:02:02.789 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:54:14 -0400 (0:00:00.249) 0:02:03.039 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:54:15 -0400 (0:00:01.155) 0:02:04.194 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:54:16 -0400 (0:00:01.571) 0:02:05.765 ***** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:17 -0400 (0:00:00.125) 0:02:05.891 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:54:17 -0400 (0:00:00.191) 0:02:06.082 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:54:17 -0400 (0:00:00.154) 0:02:06.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:54:17 -0400 (0:00:00.129) 0:02:06.366 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:54:17 -0400 (0:00:00.134) 0:02:06.501 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:54:17 -0400 (0:00:00.149) 0:02:06.651 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:54:17 -0400 (0:00:00.141) 0:02:06.792 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:54:18 -0400 (0:00:00.204) 0:02:06.996 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:54:18 -0400 (0:00:00.120) 0:02:07.117 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:54:18 -0400 (0:00:00.139) 0:02:07.256 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:54:18 -0400 (0:00:00.110) 0:02:07.367 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:54:19 -0400 (0:00:00.733) 0:02:08.100 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:54:19 -0400 (0:00:00.224) 0:02:08.325 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:54:19 -0400 (0:00:00.181) 0:02:08.506 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:54:19 -0400 (0:00:00.148) 0:02:08.655 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:20 -0400 (0:00:01.111) 0:02:09.767 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:54:21 -0400 (0:00:00.232) 0:02:09.999 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:21 -0400 (0:00:00.110) 0:02:10.109 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:21 -0400 (0:00:00.126) 0:02:10.236 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:54:21 -0400 (0:00:00.110) 0:02:10.347 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:54:21 -0400 (0:00:00.452) 0:02:10.799 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:54:22 -0400 (0:00:00.198) 0:02:10.998 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:54:22 -0400 (0:00:00.369) 0:02:11.367 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:54:22 -0400 (0:00:00.311) 0:02:11.678 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:54:23 -0400 (0:00:00.161) 0:02:11.839 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:54:23 -0400 (0:00:00.131) 0:02:11.971 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:54:23 -0400 (0:00:00.201) 0:02:12.172 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:54:24 -0400 (0:00:01.287) 0:02:13.459 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:54:26 -0400 (0:00:01.505) 0:02:14.965 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:26 -0400 (0:00:00.164) 0:02:15.130 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:54:26 -0400 (0:00:00.126) 0:02:15.257 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:54:26 -0400 (0:00:00.132) 0:02:15.389 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:54:26 -0400 (0:00:00.122) 0:02:15.512 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:54:26 -0400 (0:00:00.123) 0:02:15.636 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:54:26 -0400 (0:00:00.140) 0:02:15.776 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:54:27 -0400 (0:00:00.152) 0:02:15.929 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:54:27 -0400 (0:00:00.219) 0:02:16.149 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:54:27 -0400 (0:00:00.201) 0:02:16.350 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:54:27 -0400 (0:00:00.260) 0:02:16.611 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:54:28 -0400 (0:00:00.253) 0:02:16.864 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:54:29 -0400 (0:00:01.196) 0:02:18.060 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:54:29 -0400 (0:00:00.158) 0:02:18.218 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:54:29 -0400 (0:00:00.123) 0:02:18.342 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:54:29 -0400 (0:00:00.143) 0:02:18.485 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:30 -0400 (0:00:01.073) 0:02:19.559 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:54:30 -0400 (0:00:00.127) 0:02:19.686 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:30 -0400 (0:00:00.092) 0:02:19.778 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:31 -0400 (0:00:00.108) 0:02:19.887 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:54:31 -0400 (0:00:00.123) 0:02:20.010 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:54:31 -0400 (0:00:00.405) 0:02:20.415 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:54:31 -0400 (0:00:00.145) 0:02:20.561 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:54:31 -0400 (0:00:00.141) 0:02:20.702 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:54:32 -0400 (0:00:00.108) 0:02:20.810 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:54:32 -0400 (0:00:00.438) 0:02:21.249 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:54:32 -0400 (0:00:00.123) 0:02:21.372 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021687", "end": "2024-11-02 08:54:32.873658", "rc": 1, "start": "2024-11-02 08:54:32.851971" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:54:33 -0400 (0:00:00.448) 0:02:21.821 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:54:33 -0400 (0:00:00.123) 0:02:21.945 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:54:33 -0400 (0:00:00.116) 0:02:22.062 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:54:33 -0400 (0:00:00.132) 0:02:22.194 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:54:33 -0400 (0:00:00.140) 0:02:22.335 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:54:33 -0400 (0:00:00.124) 0:02:22.460 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:54:33 -0400 (0:00:00.135) 0:02:22.595 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:54:33 -0400 (0:00:00.196) 0:02:22.791 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:54:34 -0400 (0:00:00.137) 0:02:22.929 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:54:34 -0400 (0:00:00.359) 0:02:23.288 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:54:34 -0400 (0:00:00.099) 0:02:23.388 ***** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:54:34 -0400 (0:00:00.126) 0:02:23.515 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:54:34 -0400 (0:00:00.203) 0:02:23.718 ***** 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.045107", "end": "2024-11-02 08:54:35.219639", "rc": 1, "start": "2024-11-02 08:54:35.174532" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 02 November 2024 08:54:35 -0400 (0:00:00.471) 0:02:24.190 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 02 November 2024 08:54:35 -0400 (0:00:00.156) 0:02:24.346 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 02 November 2024 08:54:35 -0400 (0:00:00.081) 0:02:24.427 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 02 November 2024 08:54:35 -0400 (0:00:00.157) 0:02:24.585 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 02 November 2024 08:54:35 -0400 (0:00:00.204) 0:02:24.790 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 November 2024 08:54:36 -0400 (0:00:00.195) 0:02:24.985 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003258", "end": "2024-11-02 08:54:36.491952", "rc": 0, "start": "2024-11-02 08:54:36.488694" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 November 2024 08:54:36 -0400 (0:00:00.483) 0:02:25.468 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 02 November 2024 08:54:36 -0400 (0:00:00.125) 0:02:25.594 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 02 November 2024 08:54:36 -0400 (0:00:00.127) 0:02:25.722 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 November 2024 08:54:37 -0400 (0:00:00.252) 0:02:25.974 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:54:37 -0400 (0:00:00.350) 0:02:26.324 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:54:38 -0400 (0:00:00.590) 0:02:26.915 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:54:38 -0400 (0:00:00.223) 0:02:27.138 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:54:38 -0400 (0:00:00.124) 0:02:27.263 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:54:38 -0400 (0:00:00.084) 0:02:27.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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:54:39 -0400 (0:00:01.107) 0:02:28.455 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:54:41 -0400 (0:00:01.542) 0:02:29.997 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:41 -0400 (0:00:00.124) 0:02:30.122 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:54:41 -0400 (0:00:00.132) 0:02:30.255 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:54:41 -0400 (0:00:00.162) 0:02:30.417 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:54:41 -0400 (0:00:00.129) 0:02:30.546 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:54:41 -0400 (0:00:00.127) 0:02:30.673 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:54:42 -0400 (0:00:00.171) 0:02:30.845 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:54:42 -0400 (0:00:00.256) 0:02:31.101 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:54:42 -0400 (0:00:00.264) 0:02:31.366 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:54:42 -0400 (0:00:00.148) 0:02:31.515 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:54:42 -0400 (0:00:00.138) 0:02:31.654 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:54:42 -0400 (0:00:00.122) 0:02:31.776 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:54:43 -0400 (0:00:00.649) 0:02:32.426 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:54:43 -0400 (0:00:00.141) 0:02:32.568 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:54:43 -0400 (0:00:00.120) 0:02:32.688 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:54:44 -0400 (0:00:00.154) 0:02:32.842 ***** 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, 39184f58-67e3-408e-a497-70893b111dce TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:45 -0400 (0:00:01.038) 0:02:33.880 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:54:45 -0400 (0:00:00.077) 0:02:33.958 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39184f58-67e3-408e-a497-70893b111dce" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:45 -0400 (0:00:00.119) 0:02:34.078 ***** 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, 39184f58-67e3-408e-a497-70893b111dce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39184f58-67e3-408e-a497-70893b111dce" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:45 -0400 (0:00:00.172) 0:02:34.250 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:54:45 -0400 (0:00:00.204) 0:02:34.455 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 November 2024 08:54:46 -0400 (0:00:00.763) 0:02:35.218 ***** 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, 39184f58-67e3-408e-a497-70893b111dce\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39184f58-67e3-408e-a497-70893b111dce" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:54:46 -0400 (0:00:00.214) 0:02:35.433 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:54:46 -0400 (0:00:00.372) 0:02:35.805 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:54:47 -0400 (0:00:00.249) 0:02:36.055 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:54:47 -0400 (0:00:00.160) 0:02:36.215 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:54:47 -0400 (0:00:00.127) 0:02:36.343 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:54:47 -0400 (0:00:00.180) 0:02:36.523 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:54:48 -0400 (0:00:01.125) 0:02:37.649 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:54:50 -0400 (0:00:01.747) 0:02:39.396 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:50 -0400 (0:00:00.173) 0:02:39.570 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:54:50 -0400 (0:00:00.120) 0:02:39.691 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:54:51 -0400 (0:00:00.383) 0:02:40.075 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:54:51 -0400 (0:00:00.207) 0:02:40.283 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:54:51 -0400 (0:00:00.174) 0:02:40.457 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:54:51 -0400 (0:00:00.186) 0:02:40.644 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:54:51 -0400 (0:00:00.114) 0:02:40.759 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:54:52 -0400 (0:00:00.218) 0:02:40.978 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:54:52 -0400 (0:00:00.112) 0:02:41.091 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:54:52 -0400 (0:00:00.172) 0:02:41.263 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:54:52 -0400 (0:00:00.127) 0:02:41.390 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.726) 0:02:42.116 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.128) 0:02:42.245 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.132) 0:02:42.377 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.141) 0:02:42.524 ***** 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, 39184f58-67e3-408e-a497-70893b111dce skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:54 -0400 (0:00:01.167) 0:02:43.691 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:54:55 -0400 (0:00:00.146) 0:02:43.838 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39184f58-67e3-408e-a497-70893b111dce skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:55 -0400 (0:00:00.151) 0:02:43.989 ***** 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, 39184f58-67e3-408e-a497-70893b111dce skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39184f58-67e3-408e-a497-70893b111dce skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:55 -0400 (0:00:00.140) 0:02:44.130 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:54:55 -0400 (0:00:00.233) 0:02:44.363 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:54:56 -0400 (0:00:00.818) 0:02:45.182 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:54:56 -0400 (0:00:00.255) 0:02:45.438 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:54:56 -0400 (0:00:00.253) 0:02:45.691 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:54:57 -0400 (0:00:00.126) 0:02:45.818 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:54:57 -0400 (0:00:00.122) 0:02:45.940 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:54:57 -0400 (0:00:00.157) 0:02:46.098 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:54:58 -0400 (0:00:01.159) 0:02:47.258 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:55:00 -0400 (0:00:01.639) 0:02:48.897 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:55:00 -0400 (0:00:00.184) 0:02:49.081 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:55:00 -0400 (0:00:00.086) 0:02:49.168 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:55:00 -0400 (0:00:00.089) 0:02:49.257 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:55:00 -0400 (0:00:00.135) 0:02:49.392 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:55:00 -0400 (0:00:00.186) 0:02:49.579 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:55:00 -0400 (0:00:00.172) 0:02:49.751 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:55:01 -0400 (0:00:00.140) 0:02:49.891 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:55:01 -0400 (0:00:00.147) 0:02:50.039 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:55:01 -0400 (0:00:00.077) 0:02:50.116 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:55:01 -0400 (0:00:00.078) 0:02:50.195 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:55:01 -0400 (0:00:00.087) 0:02:50.283 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:55:02 -0400 (0:00:00.617) 0:02:50.900 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:55:02 -0400 (0:00:00.170) 0:02:51.071 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:55:02 -0400 (0:00:00.125) 0:02:51.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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:55:02 -0400 (0:00:00.122) 0:02:51.319 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:55:03 -0400 (0:00:01.452) 0:02:52.771 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:55:04 -0400 (0:00:00.234) 0:02:53.006 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:55:04 -0400 (0:00:00.350) 0:02:53.356 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:55:04 -0400 (0:00:00.127) 0:02:53.484 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:55:04 -0400 (0:00:00.125) 0:02:53.610 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:55:05 -0400 (0:00:00.419) 0:02:54.029 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:55:05 -0400 (0:00:00.287) 0:02:54.316 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:55:05 -0400 (0:00:00.279) 0:02:54.596 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:55:06 -0400 (0:00:00.244) 0:02:54.840 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:55:06 -0400 (0:00:00.149) 0:02:54.989 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:55:06 -0400 (0:00:00.131) 0:02:55.120 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:55:06 -0400 (0:00:00.152) 0:02:55.273 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:55:07 -0400 (0:00:01.061) 0:02:56.334 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:55:09 -0400 (0:00:01.604) 0:02:57.939 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:55:09 -0400 (0:00:00.158) 0:02:58.097 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:55:09 -0400 (0:00:00.141) 0:02:58.239 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:55:09 -0400 (0:00:00.119) 0:02:58.358 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:55:09 -0400 (0:00:00.100) 0:02:58.459 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:55:09 -0400 (0:00:00.100) 0:02:58.560 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:55:09 -0400 (0:00:00.087) 0:02:58.647 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:55:09 -0400 (0:00:00.098) 0:02:58.745 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:55:10 -0400 (0:00:00.216) 0:02:58.962 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:55:10 -0400 (0:00:00.132) 0:02:59.095 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:55:10 -0400 (0:00:00.133) 0:02:59.228 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:55:10 -0400 (0:00:00.132) 0:02:59.361 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:55:11 -0400 (0:00:00.692) 0:03:00.053 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:55:11 -0400 (0:00:00.132) 0:03:00.186 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:55:11 -0400 (0:00:00.199) 0:03:00.386 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:55:11 -0400 (0:00:00.121) 0:03:00.507 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:55:12 -0400 (0:00:00.999) 0:03:01.507 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:55:12 -0400 (0:00:00.141) 0:03:01.649 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:55:12 -0400 (0:00:00.146) 0:03:01.796 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:55:13 -0400 (0:00:00.111) 0:03:01.907 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:55:13 -0400 (0:00:00.086) 0:03:01.994 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:55:13 -0400 (0:00:00.543) 0:03:02.537 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 November 2024 08:55:13 -0400 (0:00:00.260) 0:03:02.798 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 November 2024 08:55:14 -0400 (0:00:00.304) 0:03:03.103 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 November 2024 08:55:14 -0400 (0:00:00.162) 0:03:03.266 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:55:14 -0400 (0:00:00.410) 0:03:03.676 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 November 2024 08:55:14 -0400 (0:00:00.078) 0:03:03.755 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020576", "end": "2024-11-02 08:55:15.263745", "rc": 1, "start": "2024-11-02 08:55:15.243169" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 November 2024 08:55:15 -0400 (0:00:00.588) 0:03:04.343 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 November 2024 08:55:15 -0400 (0:00:00.150) 0:03:04.493 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 November 2024 08:55:15 -0400 (0:00:00.228) 0:03:04.722 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 November 2024 08:55:16 -0400 (0:00:00.146) 0:03:04.869 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 November 2024 08:55:16 -0400 (0:00:00.107) 0:03:04.976 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 November 2024 08:55:16 -0400 (0:00:00.127) 0:03:05.104 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 02 November 2024 08:55:16 -0400 (0:00:00.126) 0:03:05.230 ***** [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.619564", "end": "2024-11-02 08:55:17.369577", "rc": 0, "start": "2024-11-02 08:55:16.750013" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 02 November 2024 08:55:17 -0400 (0:00:01.093) 0:03:06.323 ***** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 02 November 2024 08:55:17 -0400 (0:00:00.139) 0:03:06.463 ***** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 02 November 2024 08:55:17 -0400 (0:00:00.125) 0:03:06.588 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.314) 0:03:06.903 ***** included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.247) 0:03:07.150 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.369) 0:03:07.519 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.086) 0:03:07.606 ***** 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.084) 0:03:07.690 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 November 2024 08:55:19 -0400 (0:00:00.226) 0:03:07.917 ***** 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.045916", "end": "2024-11-02 08:55:19.434930", "rc": 1, "start": "2024-11-02 08:55:19.389014" } 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 02 November 2024 08:55:19 -0400 (0:00:00.468) 0:03:08.386 ***** 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.007494", "end": "2024-11-02 08:55:19.892530", "rc": 0, "start": "2024-11-02 08:55:19.885036" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:0a:f8:14:14:69 brd ff:ff:ff:ff:ff:ff inet 10.31.45.178/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2388sec preferred_lft 2388sec inet6 fe80::a:f8ff:fe14:1469/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 02:44:06:98:e9:a0 brd ff:ff:ff:ff:ff:ff 24: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a6:88:94:88:69:15 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::a488:94ff:fe88:6915/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.178 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-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 02 November 2024 08:55:20 -0400 (0:00:00.456) 0:03:08.842 ***** 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.659111", "end": "2024-11-02 08:55:21.032537", "rc": 0, "start": "2024-11-02 08:55:20.373426" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1108 0 --:--:-- --:--:-- --:--:-- 1109 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 799 0 --:--:-- --:--:-- --:--:-- 799 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 02 November 2024 08:55:21 -0400 (0:00:01.047) 0:03:09.889 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.26s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.60s /tmp/collections-gDy/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.57s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-gDy/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-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.36s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.35s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.31s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.30s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6